Ben Bangert wrote:
If you're just hooking up the engine at run-time, the EngineProxy does just that. How is using JustInTimeConnectEngine any different than using EngineProxy and setting the current engine during the request?

Because making certain every single controller method begins with:

some_global_engine.connect( cherrypy.config.get( "some_valid_config_key" ) )

gets old VERY fast.

--
Jeff Watkins
http://newburyportion.com/


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to