Home > database >  PB9.0 can C/S to B/S
PB9.0 can C/S to B/S

Time:10-26

Environment: win8.1 for system 64
PB9.0 + used 2014 management studio
Do the c/s software, how to B/s

CodePudding user response:

BS is very troublesome,
The deployment environment steps strict
After conversion operation speed is quite slow, need to change some event to js script processing

Page is not much, can try
If a lot of complex processing business, it is not recommended transformation

Specific transformation steps online posts

CodePudding user response:

Well, I try, thank you

CodePudding user response:

Key transformation effect slowly, after the experience is very poor

CodePudding user response:

The
refer to the original poster hankcai888 response:
environment: win8.1 64 for system
PB9.0 + used 2014 management studio
Do the c/s software, how to B/s


With above pb11.5 version can generate B/s, but the effect is also and the original difference is bigger, but you can use the Appon B/s conversion tool, this is better, but the charge

CodePudding user response:

Try this: www.vesn.net

CodePudding user response:

Can you do a web service, PB. Do this a few functions:
1. Retrieval: for the datawindow object retrieved
2. Save: used for the datawindow object to save
3. According to the SQL statement execution: used in the embedded SQL execution

Web serverice operating parameters for the blob or string

Basically, the original Client side code modify quantity becomes less
Meet retrieve (), getfullstate (), gave the blob to web services, let it happen to retrieve, and returns a blob setfullstate for you ()
Meet the update (), getfullstate (), gave the blob to web services, let it happen to save, and returns a string to tell you the result if
In embedded SQL, the SQL to make a string, for web services, let it be executed

So, don't use IE browser end, or go back to the old Client side interface, and, in fact, go have a BS architecture: Brower generates a blob object, to IIS, IIS is finished, return to a blob (dw object result set) or a string (implementation)

CodePudding user response:

SBKS brother, want to ask a question!
Use WS have a trouble, is each client calls for the first time need to instantiate the WS interface support code (about half a minute or so), and other development tools can be precompiled options to solve this problem, but I don't know how to solve in the PB?

CodePudding user response:

Many years ago had such a tool, but the experience is not very good, also don't know how the improved now

CodePudding user response:

refer to 7th floor msgtogcr response:
SBKS brother, want to ask a question!
Use WS have a trouble, is each client calls for the first time need to instantiate the WS interface support code (about half a minute or so), and other development tools can be precompiled options to solve this problem, but I don't know how to solve in the PB?


Client instantiates the ws soon, didn't met. You said you check the IIS server buffer pool management, if the buffer pool recovery time is short, the result often in IIS to initialize.

CodePudding user response:

What is the new progress in the building Lord

I do now pb program, the interface is CS program, is actually the BS program: as long as it can access to the public IP port, on the Internet via the port for business operation, realize the pb (Browser) - IIS (middle ware) - three layer structure of the DB server, and web service access principle is the same, but is not to use IE Browser, but pb program.

CodePudding user response:

refer to 7th floor msgtogcr response:
SBKS brother, want to ask a question!
Use WS have a trouble, is each client calls for the first time need to instantiate the WS interface support code (about half a minute or so), and other development tools can be precompiled options to solve this problem, but I don't know how to solve in the PB?


Or, you said the instantiation of the interface, is also the basis of access to a large number of file data? If so, it is recommended that the data is compressed, will greatly speed up.

CodePudding user response:

Brother back SBKS:
That's strange. I do have this problem, I am sure, not the first time the IIS activation or the amount of data, for the first time any application instance call any WS will appear this problem, as long as you don't quit the application instance (that is, not termination), the access is normal, as long as the exit application, immediately start the application again will be appeared nearly one minute of waiting,

CodePudding user response:

The
references to the tenth floor SBKS response:
what is the new progress in the building Lord

I do now pb program, the interface is CS program, is actually the BS program: as long as it can access to the public IP port, on the Internet via the port for business operation, realize the pb (Browser) - IIS (middle ware) - three layer structure of the DB server, and web service access principle is the same, but that is not to use IE Browser, but pb program.

Hello, can you make a brief introduction of how to do? Such as the client, the server deployment environment, client and the server data is how to interact? How to launch the client, the server side, thank you first!

CodePudding user response:

refer to 7th floor msgtogcr response:
SBKS brother, want to ask a question!
Use WS have a trouble, is each client calls for the first time need to instantiate the WS interface support code (about half a minute or so), and other development tools can be precompiled options to solve this problem, but I don't know how to solve in the PB?


Also ok. On a dedicated server, in addition to the update server code will be met for the first time is slow, you said will wait again and never meet. IIS has taken over the service side, IIS also no place is adjustable.

CodePudding user response:

The
reference 13 floor kaizen001 reply:
Quote: reference to the tenth floor SBKS response:

What is the new progress in the building Lord

I do now pb program, the interface is CS program, is actually the BS program: as long as it can access to the public IP port, on the Internet via the port for business operation, realize the pb (Browser) - IIS (middle ware) - three layer structure of the DB server, and web service access principle is the same, but that is not to use IE Browser, but pb program.

Hello, can you make a brief introduction of how to do? Such as the client, the server deployment environment, client and the server data is how to interact? How to launch the client, the server side, thank you first!


I have a project here, there is sample code here, too, I just studied the Taiwanese wrote a PPT and introduction, the PPT download address also in special post
Client nothing to deploy, pure green, it is a common pb program
The role that middleware (IIS) also no good set, the compiled code is put toward the virtual directory server, you can work.
Server code is written pure pb, each webservice can like normal cs program, transaction control, to ensure the transaction integrity.

All have described in my special stick. In fact, as long as you keep the right three layers of thinking, when to make your first sample, soon found, that is, turn a corner, coding and CS impossible, the only difference is the mindset. For example, CS, you retrive is through the sqlca dealing directly with the server, and under the bs, you need to send the necessary content to the webservice under iis, let iis calls the pb virtual machine to execute your server-side script in pb, then give back to the client the results. The content of interaction is no longer the sqlca, it is the state of dw object (that is, getfullstate () to get a blob)

CodePudding user response:

The effects achieved by VDN (Vesn Data Net), a few minutes the migration completed:

  • Related