|
| |
| Enterprise Features | |
|
|
Web Connection features a number of features for building Distributed and Enterprise applications that don't rely on HTML to provide the interface. You can use a Fat Client VFP application to request data and logic to fire on the server and retrieve that data to the VFP app. Or you can use a dynamic DHTML/scripted Browser application to request data from the server and then manipulate the browser's content via script code from the data retrieved on the Web server. XML features heavily in this environment and Web Connection provides a host of features for XML conversions as well as server based XML services that allow client apps to simply request data. |
| XML Generation | |
XML Output from Objects and CursorsNote: The following examples require IE 5.0 or later to view the XML data displays. Other browsers may not display the content or display it as text only. XML is vital to the Web as a data sharing facility and Web Connection provides you with the tools to integrate this hot technology easily into your existing client and server apps. Web Connection's wwXML class provides easy XML conversions that allow you to quickly move from VFP data and objects to and from XML. The following examples demonstrate data exports, but wwXML also includes XML imports to repopulate/create cursors and objects. VFP and SQL Cursor XML Conversions:
Customer table presented as
XML (w/ Schema | Show
Code)
SQL Server Pubs tables presented as
XML (w/ Schema | Show Code)
Object XML conversions:
Simple Customer Object presented as
XML (w/ Schema | Show Code)
Hierarchical Invoice Object presented
as XML (Show
Code |
Invoice Class) |
|
| Distributed Application Demos | |
Fat Client VFP SamplesWeb Connection provides a number of features for building rich Client/Server applications that do not require a browser front end. Instead you can use a VFP client application to communicate with a Web Connection backend. You can drive Web applications using the HTTP protocol with just a few lines of code. The examples demonstrate simple retrieval of Web content, controlling an application via HTTP, exchanging data between VFP clients and Servers and using a Web Connection server as an HTTP based database server. You can also compile wwHTTPDemo.pjx in the \wwIPStuff_samples directory and run this app from within Visual FoxPro's IDE to avoid using IE.
VFP Fat Client HTTP Demos
Web based Soap Client for stock quotesThe following example demonstrates server to server communication by retrieving stock quotes from a remote server (www.west-wind.com) which in turn receives stock quotes from an HTML page on the msn.MoneyCentral site. The Web application uses SOAP to communicate with the Web server from a Web application. |
|
| Enterprise Features | |
Asynchronous Server Calls
Run Asynchronous XML Request
|
|
|
|
|