Hi,

I'll try to explain my question (sorry for my english)...

I use zodb like the wiki example to store my pages, supages and so on.  
The tree is in root['app_root']

Now i would like to store data to the same zodb database, users, 
customers.
Where and how should i put them ?

I think in root['mydata']. Right ?
But how to access root again ? with context and __parent__ i can access 
the top of root['app_root'] but not root['mydata']. Or i can with 
context._p_jar.root but i'm not sure it's the right way to access it.

Should i call zodb.get_connection(request) and use a root['mydata'] ?

Also i don't understand why in the example the transaction is commited 
explicitly in root_factory. It will be not be commited automaticaly 
after ?

Thanks for advices, i would like to use the right way.

-- 
William

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to