On Sat, Feb 14, 2009 at 10:21 AM, Lee Olayvar <[email protected]> wrote:
> I'm looking to better understand sqlalchemy, but with relation to tg2. With
> that said, does anyone happen to have any idea how applicable is the
> knowledge gained from the SQLAlchemy Book would be?
>
I'm not sure if I'll get in troubles for this but...
Someone on this list is working on a new SA book that has a lot of
TurboGears stuff.


> Eg, i'm sure much of it would be good to know in general, but i'd prefer if
> examples and whatnot used directly in the book, could be directly applied in
> tg2 with minimal conversion being required. Thoughts?

As for the original question, there isn't much really TG2 tries to be
very decoupled.You can summarize that by

1- using a package instead of a module by default (with init_model stuff)
2- using transaction.commit() instead of DBSession.commit()
(transaction calls DBSession but allows us to add more things more on
this in the transaction docs)
3- I think there is none

therefore it is almost the same as plain SA which is probably why we
don't have much else to give.

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to