Custom Web Publishing Versus XML Export

 <  Day Day Up  >  

At first view, Custom Web Publishing might sound a lot like the XML Export capability we discussed in Chapter 20, "Getting Data Out of FileMaker." There are some similarities, but there are also many significant differences. The main ones are these:

  • XML export is a "push" technology rather than a "pull" technology. New data becomes available to potential clients only when you decide to "publish" the data by performing a new export, possibly manually, possibly via an automated script. CWP is a server-side technology that can be made available on demand, enabling clients to "pull" new data at any time by accessing a specific URL that you provide.

  • Using CWP, you can publish your FileMaker data in a new XML grammar, called fmresultset . This new grammar has the richness of the FMPXMLRESULT grammar, while being easier to work with for stylesheet writers. The grammar is available only through CWP.

  • CWP is a server-side technology, which means you don't need a copy of the FileMaker client to take advantage of CWP. All necessary programming occurs on the server side. On the other hand, exporting XML can take place only from a client application.

To sum up: Use XML export for occasional exports of FileMaker data as raw or transformed XML that you trigger through a client copy of FileMaker Pro. Use CWP when you want to provide live, on-demand access to FileMaker data via a Web interface.

 <  Day Day Up  >  


QUE CORPORATION - Using Filemaker pro X
QUE CORPORATION - Using Filemaker pro X
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 494

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