RAD Studio |  |

Fundamental WebSnap components
Collapse All
Topics

Name | Description
Web modules |
Adapters | Adapters define a script interface to your server application. They allow you to insert scripting languages into a page and retrieve information by making calls from your script code to the adapters. For example, you can use an adapter to define data fields to be displayed on an HTML page. A scripted HTML page can then contain HTML content and script statements that retrieve the values of those data fields. This is similar to the transparent tags used in Web Broker applications. Adapters also support actions that execute commands. For example, clicking on a hyperlink or submitting an HTML form... more
Fundamental WebSnap Components | Before you can build Web server applications using WebSnap, you must first understand the fundamental components used in WebSnap development. They fall into three categories: Web modules, which contain the components that make up the application and define pages Adapters, which provide an interface between HTML pages and the Web server application itself Page producers, which contain the routines that create the HTML pages to be served to the end user The following sections examine each type of component in more detail.
Page Producers | Page producers to generate content on behalf of a Web page module. Page producers provide the following functionality: They generate HTML content. They can reference an external file using the HTMLFile property, or the internal string using the HTMLDoc property. When the producers are used with a Web page module, the template can be a file associated with a unit. Producers dynamically generate HTML that can be inserted into the template using transparent tags or active scripting. Transparent tags can be used in the same way as WebBroker applications. To learn more about using transparent tags, see Converting HTML-transparent... more

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!