Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Controlling the size of generated code – PB Docs 126 – PowerBuilder Library

Controlling the size of generated code – PB Docs 126

Controlling the size of generated code

Some supported features increase the size of the generated
code. If you do not use a feature such as display formatting, validation
rules, or client-side scripting, you can enhance performance by
preventing the server component from generating code for the unused
feature. You can turn these features on or off on the Web Generation
property page in the DataWindow painter or in a script. For more
information, see “Controlling what is generated “.

You can also cache client-side methods in JavaScript files
to reduce the size of the generated code and increase performance
on both the server and the client. Without JavaScript caching, each
time a Web DataWindow is rendered in a client browser, JavaScript
code for DataWindow methods is generated on the server and downloaded
to the client. When you set DataWindow properties to reference cached
JavaScript files, the methods defined in the files are not generated
with the HTML in any Web DataWindow pages that are sent to the page
server (and client browser).

For more information, see “Using JavaScript caching
for Web DataWindow methods”
.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x