On Fri, 1 Mar 2002, Lateef Jackson wrote: > The second question I have is when you build a new adapter to a database > so you have the adapter support a certain set of SQL commands so if the > db doesn't the addapter will do it anyway. I guess what does it entail > to build a db adapter?
Basically, you have to build generators (in MiddleKit/Design) and the object store (in MiddleKit/Run). Your generators will need to generate the store-specific generated Python, and then whatever else your store needs to run. If you're just building another SQL-based store, take a look at how MySQLObjectStore and MSSQLObjectStore subclass SQLObjectStore. SQLObjectStore is doing most of the heavy lifting, with the DB-specific subclasses providing a few specific overrides where their DB wanders from a hypothetical "true" SQL (of which there is, of course, none). _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
