Web Application Opener - WebSnap (Appendix A)

zhaozj2021-02-08  241

Web Application Opener - WebSnap!

Appendix A, some tips

This section is a discussion of some tip skills. When we have developed a WEBSNAP program, if you meet the program work is not normal, and you can't see the niji from the original code, then we can use the log information in WebAppdebuger to see Client and The information passed between Server, which is quite useful in many cases:

The following windows can be taken in the six-column shade you want to view.

You can find that these materials are the information of the Client and Server, which is quite useful to our decentralization. We have talked before, when we need to modify the Script of TadapTerPageProducer, we must move Script to TPAGEPRoducer first, first we have to put it in a TPAGEPRoducer component, you can find her on the Internet, then we Set the previous PRODUCER setting value in PageModule to the one of the PageProducer, now we can copy all the program codes of the script to .html:

Then we have to set the TPAGEPRoducer's scriptengine characteristic value to jscript. You can do what you want, just you have to remember, if you want to use TadapTerPageProducer to design your web page, then you are the most Good use of annotations to indicate part you modified, because you have to clear the .html before you re-use TadapterPageProducer, you must return to the original look, otherwise tadapterpageproducer will be wrong, it is true! In terms of efficiency, we can use writing components to reduce this opportunity, write components and portable benefits, if Kylix uses Borland's Script, use Borland's Script language, we only need to modify our components Supporting this script language, you don't need to change our original code, the relevant technology I will discuss with you in the INSIDE WebSnap.

About the plan

Inside Websnap is currently moving in my control, it should be completed in October, there are two articles: DBEXPRESS and WebService II, these two have no time, may write, may not write, Depending on my mood and workload. I will write the model of this article in a project, you can turn on the control in accordance with the progress of the reading. Keep in mind that because of the relationship of time, I don't do miscontrol management, which is important in practice. In addition, there are two project in the paradigm, one is WebAppdebuger, the other is ISAPI, I have made tests in both above, just in ISAPI, I sometimes happen to initialize errors, this is also what I don't recommend you use BDE. One of the reasons, but I don't have other database files, I can't have access to Access or INTERBASE or MSSQL, so I will not misunderstand me to encourage you to use BDE (at least in WebSnap).

Is the example of?

Data.zip (Data file, please understand the BDE in the BDE in response to the directory)

Exam_1.zip (Example file, the first half)

Demo2.zip (updated version of the new example)

EXAM_1

computer

Grid, edit is the first quarter of the program

Login login system, user management example

MasterDetailedit, EditDetail, NewDetail Master-Detail Database Sample ImageDB, EditImagedB Graphics Processing Examples

MyAdapter Self-Order Adapter Example

MYPAGEADAPTER simple file general

Example of WebService Combined with BizSnap

DemolocateService exemplary display LocateFileService

MySessionPagedadapter Combined with SESSION profile example

ORPWEBSNAP.ZIP (OrpDemoadapter Package, TorPeditablePagedadapter)

Please install this package first, so you can compile the example.

转载请注明原文地址:https://www.9cbs.com/read-3114.html

New Post(0)