|
From: Wari W. <wa...@ce...> - 2003-02-06 06:10:11
|
* Blake Winton <bl...@ph...> [030206 07:09]: > And the second pass at the storage api. > http://www.latte.ca/cgi-bin/source.py?name=storage Looks better now :) > I felt it necessary to define the format that dump and load would use, > so that we will have a hope of importing and exporting data from other > sources. I'm open to discussing that format, since I pretty much made > it up off the top of my head. I'm just wondering, should the data dump really be in XML? I was thinking of a pickle at least, then all load() needs to do is eat up the pickle and import via the add() and store(). In fact if everything is standard, no new storageAPI plugins needs to override load() at all, if this is the case (either way, it's the same with XML) Maybe it's because I'm poor at XML, but anyone else agree on XML, or a pickle? -- Regards: Wari Wahab Senior R&D Engineer Celestix Networks http://www.celestix.com/ |