Yeah, that makes sense to me, so I already implemented it on this way.<br><br>In my application I have twisted web resources loaded as &quot;controllers&quot;, each resource can have a model object (storm object) attached on it that represents a database table, each model object owns a DeferredStore (or a Store) that depends on application configuration.<br>
<br>I&#39;m developing a Web Applications Framework using Twisted, Storm, Evoque and ExtJS so I think I&#39;ll ask a lot around here and twisted lists also.<br><br>I get some troubles with DeferredResults but I&#39;m busy now implementing Authentication, and ACL, so I&#39;ll ask when I&#39;ll back to the code that gave me the problems.<br>
<br>Btw, do you guys know any decent ACL implementation (not based on file system like POSIX one) in Python?, I&#39;m developing it from zero so I&#39;m not a very big fan of reinventing the wheel.<br><br>Best Regards.<br>
<br><div class="gmail_quote">2010/5/11 James Henstridge <span dir="ltr">&lt;<a href="mailto:james@jamesh.id.au">james@jamesh.id.au</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, Apr 27, 2010 at 6:03 AM, Oscar Campos<br>
&lt;<a href="mailto:oscar.campos@open-phoenix.com">oscar.campos@open-phoenix.com</a>&gt; wrote:<br>
&gt; Ty very much for the quick reply.<br>
&gt;<br>
&gt; I see.<br>
&gt;<br>
&gt; Btw, is DeferredStore meant to be threadsafe?<br>
<br>
</div>The DeferredStore does all its database access in a thread, so calls<br>
from multiple threads will be serialised.  With that in mind though,<br>
it doesn&#39;t mean that using a single store for unrelated concurrent<br>
work is a good idea.  Things will be serialised on the connection, so<br>
if you want parallelism you really need multiple connections (and<br>
hence multiple DeferredStores).<br>
<font color="#888888"><br>
James.<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Oscar Campos Ruiz-Adame -<a href="mailto:oscar.campos@open-phoenix.com">oscar.campos@open-phoenix.com</a><br>Consultor - Consultant<br>Open Phoenix IT Consultoría Tecnológica - IT Consulting<br>
_________________________________________________<br>Tel. +34 644569088<br><a href="http://www.open-phoenix.com">http://www.open-phoenix.com</a><br>