Page instances and threads

sophana <[email protected]>
Newsgroups gmane.comp.python.webware
Message-ID <[email protected]>
Hi

I wrote my first (big) web application with webware, and am really happy
with it.

There is still something that I would like to get confirmed:
I have a big object that takes some time to be instantiated. This is why
I would like to instantiate it once per webware execution thread.
Do you think that the page __init__ method is the place to store this
object instance?
When are Page object created? Is it at the first request of a thread? Do
they remain in memory until the thread is closed?
If the object is not thread safe, can I still use it safely inside the
Page instance?

Thanks for this great simple and powerful framework!
Keep up the good work!

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.