Creating a Mobile Application

   

"WebSnap" Example Applications

WebSnap components and wizards, which are provided with C++Builder Enterprise, are used to build advanced Web server applications that interact with a Web browser. Some useful WebSnap examples are found under the Examples/WebSnap folder where C++Builder is installed. These are identified and briefly described in Table A.14. Keep in mind these applications require C++Builder Enterprise to build.

Table A.14. WebSnap Example Applications

Folder

Description

Biolife

Biolife Server-side examples, which includes a login prompt for browser access into a database. Uses TApplicationAdapter , TAdapterDispatcher , TPageProducer , TPageDispatcher , TWebAppComponents , and much more. (See Figure A.12 for an illustration of this example.)

Figure A.12. Web page access to the Biolife data base.

graphics/apafig12.gif

CountryEditor

Server-side examples that use the TDataSetAdapter and TAdapterPageProducer to demonstrate how to build a grid page and a form page to edit a country table.

CountryReport

Server-side examples that use TDataSetAdapter and custom JavaScript to display a simple report using a country table.

DumpModules

Server-side examples that demonstrate how to use JavaScript to traverse the modules, adapters, and fields, and actions in a Web application. The JavaScript is contained in the DumpModulesInc.html .

LocateFileService

Server-side examples that demonstrate how HTML templates and server side “include files can be retrieved by a client using the TLocateFileService.OnFindStream event.

MasterDetail

Server-side examples that demonstrate how to view and edit master-detail relationship using TDataSetAdapter through a Web page. (See Figure A.13 for an illustration of this example.)

Figure A.13. Editing database information via the Web page via the MasterDetail server.

graphics/apafig13.jpg

PhotoGallery

Code for building a server-side application that provides a Web-based photo gallery. (See Figure A.14 for an illustration of this example.)

Figure A.14. Accessing the PhotoGallery via a Web browser.

graphics/apafig14.jpg

StreamImage

Server-side examples that demonstrates how to stream an image from a server to a Web page.

Most of these examples contain one ISAPI server-side project and a Web Debugger server-side project. To run the Web App Debugger version of any of the projects contained within these example folders, compile the project (with the project name ending in Debugger) and run it once to register it.


   
Top


C++ Builder Developers Guide
C++Builder 5 Developers Guide
ISBN: 0672319721
EAN: 2147483647
Year: 2002
Pages: 253

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net