Where would I set up my dbPool or other "application wide" objects in webware?

Guess : In contextInitialize of __init__.py? in the MyContext directory?

Do I need to do anything to attach the pool to the application :

application.dbpool = DBPool(....) ?

If someone could post a simple example of setup/usage I'd appreciate it.

Thanks!

- Ian Sparks.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to