I have just completed going through the wiki-20 tutorial, making the 
necessary changes to use SQLAlchemy.  But I don't like the feel of the 
final product.  It feels like I'm having to force all database 
interaction.   I found several very informative pages by searching 
google and the TG-groups archives, but I didn't find anything that I 
would call definitive.  Can someone post a link to a good example of the 
current best practices for using SA with TG?


A few of the issues I ran into:
-My goal with TG is to write a new front-end to existing databases.  
autoload=True is a requirement.
-My tables have string columns, but TG tries to write unicode data into 
them.  I had to add extra str()'s every time I'm sending something to 
the database.
-Is there any way to auto save/commit? All of the SA docs I have seen 
say that I need to force it with session.save and session.flush
-As my database is already defined, I don't see any advantages to 
ActiveMapper. Am I wrong?

John Lavoie



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to