On Oct 11, 2006, at 1:50 AM, Jorge Vargas wrote: > On 10/11/06, Ilias Lazaridis <[EMAIL PROTECTED]> wrote: >> >> I was wondering how close could a SQLObject compatible API (fictional >> name: ObjectAlchemy) placed on top of SQLAlchemy come to SQLObject. >> > that is not possible because they are two different design patterns
Actually, I think it is possible to have a largely compatible API (only in one direction... SQLAlchemy can be made to be largely compatible with SQLObject, not the other way around). Combine ActiveMapper with some alias classes that make class declaration look like SQLObject and you'll get quite close. Especially given that SQLAlchemy's query syntax is largely based on that of SQLObject. Some breakage is inevitable, but it's likely that a good portion of an app could be migrated over. Kevin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

