[Zope3-Users] Re: [storm] using storm with Zope3

2008-08-03 Thread Hector Miuler Malpica Gallegos
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 [EMAIL PROTECTED]
 wrote:
 
 On Mon, Jul 7, 2008 at 3:47 PM, Jürgen Kartnaller
 [EMAIL PROTECTED] 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




signature.asc
Description: This is a digitally signed message part
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: [storm] using storm with Zope3

2008-07-06 Thread Leonardo Rochael Almeida
Sorry, this was also supposed to go to the lists

On Sun, Jul 6, 2008 at 18:04, Leonardo Rochael Almeida
[EMAIL PROTECTED] wrote:
 Hi Dulmandakh,

 The page below documents steps for using grok with storm through a
 package called stormcontainer. The code in that package is simple
 enough that you should be able to reproduce the grok registrations in
 pure Zope3 if you need it, though I really recommend you start using
 grok to save on a lot of ZCML typing overall :-)

 http://grok.zope.org/documentation/how-to/grok-orm-with-storm

 Cheers, Leo

 On Sun, Jul 6, 2008 at 07:06, DULMANDAKH Sukhbaatar
 [EMAIL PROTECTED] 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
 [EMAIL PROTECTED]
 Modify settings or unsubscribe at: 
 https://lists.ubuntu.com/mailman/listinfo/storm


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users