[Zope3-Users] ZODB and unique values

2009-08-03 Thread Gustavo Rahal
So, i'm reading zope3 web component architecture book (quite cool by the way) and since i'm too SQL DB oriented I was wondering how to garantee fields uniqueness in ZODB. For instance, if I have a IMachine interface, I want the ip_address field to be unique across all machine objects. Is that somet

Re: [Zope3-Users] ZODB and unique values

2009-08-06 Thread Gustavo Rahal
Em Ter, 2009-08-04 às 06:28 -0400, Jim Fulton escreveu: > On Mon, Aug 3, 2009 at 9:09 PM, Gary Poster wrote: > > > > On Aug 3, 2009, at 3:00 PM, Gustavo Rahal wrote: > ... > > Practically, using the BTrees that the ZODB provides will typically > > have the behavior yo

Re: [Zope3-Users] zope3.4.1

2009-09-17 Thread Gustavo Rahal
Em Qui, 2009-09-17 às 18:09 +0300, Marius Gedminas escreveu: > On Thu, Sep 17, 2009 at 12:58:09PM +0530, Milind Khadilkar wrote: > > Thanks everybody. I was (and am) wondering why on > > http://www.zope.org/Products/Zope3/3.4.1 we find this: > > > > QUOTE: > > Version: 3.4.1

[Zope3-Users] z3c.rest and layers

2010-04-02 Thread Gustavo Rahal
I'm trying to expose objects via REST. Reading about z3c.rest and looking at the examples, the rest code is not really a view but a customization of a http request. The problem is that I don't know how to also expose a object that already has a html view (yes, I don't know zope3 that well...). Lo