On 12/22/06, Sean Davis <[EMAIL PROTECTED]> wrote:
I have a general lack of understanding of what the process of startup and
threading is in pylons (I'm trying to learn, but there is a fair bit to it,
it seems).  I would like to give my app (or at least my controllers) access
to a SqlSoup object defined based on a sqlalchemy.dburi in my .ini file.
Where is the best place to do this?  It would be ideal to have this do the
database reflection only once, as I have over 50 tables in my db.

Thanks for any insight, either specific or general.

I reflect the database schema in my wiki document
http://pylonshq.com/project/pylonshq/wiki/SqlAlchemyWithPylons.  I
don't know anything about SqlSoup, but I expect that the same trick
would apply.

Best Regards,
-jj

--
http://jjinux.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to