Chapter 1. Lightweight Data Storage

   

I n this chapter, you build your first solution based on XML. The solution demonstrates XML as an alternative to databases and proprietary file formats. Many applications benefit from this solution and it is particularly valuable for the following:

  • Applications downloaded from the Internet, when it is not possible to ship a database at runtime

  • CD-ROMs and DVDs where the files are read-only

  • Applications that work on a subset of a database, where it must be easy to unload the data from the database

  • Applications running on multiple platforms or written in different languages, where it should be possible to exchange files between, for example, the Windows (C++), UNIX (Java), and Macintosh (Java) versions of the product

More importantly, this chapter will concentrate on how to structure the application, using two simple patterns, for optimum flexibility.

   


Applied XML Solutions
Applied XML Solutions
ISBN: 0672320541
EAN: 2147483647
Year: 1999
Pages: 142

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