From: Kevin A. <al...@se...> - 2001-11-25 07:16:38
|
Rather than creating a separate sample to experiment with a more generalized set of document classes for the framework, I decided to just work with the existing addresses sample initially. Since addresses is also an example of converting the layout and data from a HyperCard stack to PythonCard I renamed the existing addresses sample to keep it around. cvs comment: renamed old addresses and its resource file to addresses052.py and addresses052.rsrc.py since they are from prototype release 0.5.2 added a new addresses.py so I can work on a document model for addresses that might be generalized for the whole framework later The initial conversion just moves the document handling into a separate class, much like the textIndexer uses, but instead of ZODB, I'm just using the same plain text file format for the records made up of a list of dictionaries. The actual file type used for storage is one of the issues that needs to be addressed for the Document class hieararchy. I also added Find and two missing edit menu items. I would like to make the addresses sample more useful, so I plan to clean up the layout and expand the scope of what it can do, so feel free to make suggestions on the feature set or contribute code. ka |