[storm] using storm with Zope3

Jürgen Kartnaller kartnaller at lovelysystems.com
Mon Jul 7 08:47:55 BST 2008


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('')

Jürgen


On Sun, Jul 6, 2008 at 12:06 PM, DULMANDAKH Sukhbaatar <dulmandakh at gmail.com>
wrote:

> Hello all.
>
> I'm new to Zope and Zope3, and also to storm. I've used storm in plain
> python application, it worked fine. After that we need to create web
> interface to our database using Zope3 and storm. Google-ing I found
> that it is possible to connect and register storm in Zope3, but not
> how to register and use it. It would be great if anyone could provide
> example on using storm with zope3. thanks.
>
> --
> Regards
> Dulmandakh
>
> --
> storm mailing list
> storm at lists.canonical.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/storm
>



-- 
Lovely Systems, senior developer

phone: +43 5572 908060, fax: +43 5572 908060-77
Schmelzhütterstraße 26a, 6850 Dornbirn, Austria
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/storm/attachments/20080707/99a102c4/attachment.htm 


More information about the storm mailing list