mdelfede Messages: 1308 Registered: September 2007
Ultimate Contributor
Another stuff is when you want to save app data, not just settings.
That depends too much upon your app structure....
In my app I've got files containing a 'fixed' part (customer name, site and so on...) and a 'variable' part wich is composed by an array of classes derived from a main (Page, in my app) base class, so a polymorphic class array.
For 'fixed' part I just xmlize single values, and for 'variable' part..... also Xmlize, but the full array using PolyXML bazaar stuff. That makes really easy to add new data to the application with no need to touch at a single line in main app class.