On Mar 15, 2006, at 9:31 AM, Jeff Watkins wrote:
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.
You can't make that happen automatically? I mean, there's no place in
your webapp where you can drop some code that executes before
anything else?
- Ben
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users