[storm] using storm with Zope3
Hector Miuler Malpica Gallegos
miuler at gmail.com
Sun Aug 3 20:31:17 BST 2008
Hi,
How can I limit the number of connections?
On mar, 2008-07-22 at 08:17 +0200, =?ISO-8859-1?Q? J=FCrgen_Kartnaller _
wrote:
>
>
>
> On Mon, Jul 21, 2008 at 7:50 AM, James Henstridge <james at jamesh.id.au>
> wrote:
>
> On Mon, Jul 7, 2008 at 3:47 PM, Jürgen Kartnaller
> <kartnaller at lovelysystems.com> wrote:
> > Using Storm with Zope 3 is absolutely easy :
> >
> > Include this in your zcml configuration :
> >
> > <include package="storm.zope" file="meta.zcml"/>
> > <include package="storm.zope"/>
> > <store name="" uri="postgres://localhost:14339/az"/>
> >
> > In your code :
> >
> > store = component.getUtility(IZStorm).get('')
>
>
>
> Note that it is probably better to give a real name to your
> store(s),
> since it will make it easier to extend your application if you
> end up
> needing multiple stores. Using an empty store name makes it
> look like
> you're doing something special.
>
>
> The reason for the unnamed store is simple :
> All packages assume a default store for the application, this store is
> always the unnamed store. This way there is no need to define special
> application store names.
> If a package needs additional databases we can add named stores at any
> time.
>
> Jürgen
>
>
>
>
> --
> Lovely Systems, senior developer
>
> phone: +43 5572 908060, fax: +43 5572 908060-77
> Schmelzhütterstraße 26a, 6850 Dornbirn, Austria
>
_\|/_
(O-O)
--oOO-(_)-OOo---------------------------
Hector Miuler Malpica Gallegos
Universidad Nacional del Callao - Peru
Escuela de Ingenieria Electronica
usuario registrado #308608
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/storm/attachments/20080803/983c360a/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/storm/attachments/20080803/983c360a/attachment.pgp
More information about the storm
mailing list