Hi, I've created a 'convenience wrapper' for Metakit, called 'Metakit Plus', which IMO adds significant extensibility to Metakit for Python.
http://www.freenet.org.nz/python/metakit Some features: - the 'dump' routine can also dump out the schema of an entire storage object - 'storage' and 'view' are implemented as classes, and behave identically to Metakit's storage and view classes. This allows for easy subclassing in client programs (For example, methods of storage and view objects which return views, will give you wrapped views instead). - When creating a 'storage' (or 'storage'-derived) object, you can specify the class to use for creating views (via a 'viewclass=myViewClass' keyword arg). This allows you to subclass Metakit Plus's view class and ensure that all created and derived views are of your subclass. - Some convenience methods have been added to the 'view' class, allowing one-step modification/deletion of rows meeting criteria. For instance, 'removeWhen', 'changeWhen', 'purgeDuplicates'. This will save coding time and help make code more readable. - the 'dump' function is now also a method of 'storage' and 'view' I've worked hard to make it plug-compatible with the metakit.py module, so doing 'import metakitplus' instead of 'import metakit' should see your progs working unchanged. I'd be grateful for feedback/suggestions/flames/ideas/bugs with this module. -- Kind regards David -- leave this line intact so your email gets through my junk mail filter _______________________________________________ metakit mailing list - [EMAIL PROTECTED] http://www.equi4.com/mailman/listinfo/metakit
