RAD Studio
ContentsIndex
PreviousUpNext
Web modules
Name 
Description 
Web application modules provide centralized control for business rules and non-visual components in the Web application. The two types of Web application modules are tabulated below.
Web application module types  
Like standard data modules, Web data modules are a container for components from the palette. Data modules provide a design surface for adding, removing, and selecting components. The Web data module differs from a standard data module in the structure of the unit and the interfaces that the Web data module implements.
Use the Web data module as a container for components that are shared across your application. For example, you can put a dataset component in a data module and access the dataset from both:
  • a page module that displays a grid, and
  • a page module that displays an... more 
Web modules are the basic building block of WebSnap applications. Every WebSnap server application must have at least one Web module. More can be added as needed. There are four Web module types:
  • Web application page modules (TWebAppPageModule objects)
  • Web application data modules (TWebAppDataModule objects)
  • Web page modules (TWebPageModule objects)
  • Web data modules (TWebDataModule objects)
Web page modules and Web application page modules provide content for Web pages. Web data modules and Web application data modules act as containers for components shared across your application; they serve the same purpose in WebSnap applications that ordinary data modules serve... more 
Each Web page module has a page producer associated with it. When a request is received, the page dispatcher analyzes the request and calls the appropriate page module to process the request and return the content of the page.
Like Web data modules, Web page modules are containers for components. A Web page module is more than a mere container, however. A Web page module is used specifically to produce a Web page. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!