Hi, In terms of TurboGears code, I think TG should be setup for fairly plain SA; although you'll have to use SessionContext to get the automatic transactions. Anything on top of this - Elixir, assign_mapper, etc. should "just work".
But in therms of the documentation, I think we should recommend an active record pattern, at least in the basic tutorials. The reason being is that newcomers will find the data mapper pattern too complicated - certainly if I was a newbie and I compared plain SA to Django I'd say that plain SA was needlessly complicated. Elixir should stack up ok. Paul Mark Ramm wrote: >I'd suggest moving discussion of weather 1.1/2.0 should use elixir by >default to the trunk mailing list. > > >I think the main decision is how we recommend using SQLAlchemy. I >reckon most TG users will want to use the Active Record pattern, as >it's simpler than the Data Mapper pattern. Should we embrace Elixir as >the recommended way to use SA with TG? I have to admit I've still not >touched Elixir, I have found ActiveMapper to be adequate for my needs. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Docs" 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-docs?hl=en -~----------~----~----~----~------~----~------~--~---
