Re: [sqlalchemy] best practice for SqlAlchemy and webapps ?

2013-06-21 Thread Michael Bayer
On Jun 20, 2013, at 2:02 PM, Jonathan Vanasco jvana...@gmail.com wrote: Mike blew my mind at the intro to sqlalchemy presentation this week. I learned at least 5 things that I had missed. I still can't believe that the connection itself is basically lazy-loaded and SqlAlchemy doesn't

Re: [sqlalchemy] best practice for SqlAlchemy and webapps ?

2013-06-21 Thread Jonathan Vanasco
On Friday, June 21, 2013 2:23:54 PM UTC-4, Michael Bayer wrote: fairly recently i wrote up as much as I could come up with on this, which you can see first in the Session FAQ: http://docs.sqlalchemy.org/en/rel_0_8/orm/session.html#session-frequently-asked-questions and then regarding

[sqlalchemy] best practice for SqlAlchemy and webapps ?

2013-06-20 Thread Jonathan Vanasco
Mike blew my mind at the intro to sqlalchemy presentation this week. I learned at least 5 things that I had missed. I still can't believe that the connection itself is basically lazy-loaded and SqlAlchemy doesn't even connect to the DB until you do something. I wrote a bunch of code to