Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-07-02 Thread Jim Vine
Hi, I hope it's not considered "bad form" to answer ones own questions on this board, but I think I've got it sussed. Reading through the ZWiki source from http://svn.zope.org I noticed the following line in the implementations: from zope.app.container.contained import Contained I added this t

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-07-01 Thread Jim Vine
Hello again, So, following the recommendations from the board I have settled on "route 3" - developing a Python Product, using Zope 3. I've been refering a lot to the Zope 3 Book (particularly chapter 13 onwards) and have progressed somewhat. I've created a "PropertyFolder" class, which can hold

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-22 Thread Andreas Pakulat
On 22.Jun 2005 - 09:52:23, Paul Winkler wrote: > On Wed, Jun 22, 2005 at 02:02:30PM +0200, Andreas Pakulat wrote: > > No, method 2 aka ZClasses don't involve producing a Product. > > Sure it does. A ZClass-based Product is still a Product. Can't remember to have created a product, but then this

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-22 Thread Paul Winkler
On Wed, Jun 22, 2005 at 02:02:30PM +0200, Andreas Pakulat wrote: > No, method 2 aka ZClasses don't involve producing a Product. Sure it does. A ZClass-based Product is still a Product. As for why I don't use ZClasses: 1) Doing everything in "restricted" mode is a big pain. You end up writing a

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-22 Thread Andreas Pakulat
On 22.Jun 2005 - 12:04:02, Jim Vine wrote: > > On 21.Jun 2005 - 21:59:41, Jim Vine wrote: > > > Say, for example that my Zope App in some way has > > a > > > "House" object, which records the address, the > > owner, > > > and a short description. Later on, I may wish to > > add > > > further fields

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-22 Thread Philip Kilner
Hi Jim, Jim Vine wrote: > I’d greatly appreciate any guidance that can be > provided on these subjects. > I know a lot has been said since your original query, but re-reading it I was surprised that no one had asked a fundamental question: - "If the data is structured in nature and fits the rel

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-22 Thread Lennart Regebro
On 6/22/05, Jim Vine <[EMAIL PROTECTED]> wrote: > I think I've convinced myself that the complexity of > my app takes it beyond method 1, but I'm strugling to > get my head around the implications of selecting > method 2 or 3. Am I right in thinking that either of > these will result in my building

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-22 Thread Jim Vine
> On 21.Jun 2005 - 21:59:41, Jim Vine wrote: > > Say, for example that my Zope App in some way has > a > > "House" object, which records the address, the > owner, > > and a short description. Later on, I may wish to > add > > further fields to record, say, the number of > bedrooms, > > but the syst

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-22 Thread Lennart Regebro
On 6/21/05, Jim Vine <[EMAIL PROTECTED]> wrote: > but the Zope Book (2.7 version)'s chapter on Creating > a Basic Application all seems to be through the ZMI. Unfortunately is the correct word there. > Now, Zope's original appeal to me was using the > graphical interface provided by the ZMI to cr

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-21 Thread Andreas Pakulat
On 21.Jun 2005 - 21:59:41, Jim Vine wrote: > Say, for example that my Zope App in some way has a > "House" object, which records the address, the owner, > and a short description. Later on, I may wish to add > further fields to record, say, the number of bedrooms, > but the system is already in use

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-21 Thread Jim Vine
Thanks to those who posted suggestions - certainly gave me a few things to think about. Unfortunately I was left with one "use Zope 2", one "use Zope 3" and a "use Plone", but maybe that's just a reflection of the fact that there's more than one Zope way to skin a cat! (yeah, I know I've over-simpl

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-16 Thread Andreas Pakulat
On 16.Jun 2005 - 23:17:43, Jim Vine wrote: > Specifically, I've been scratching my head for a while > about how to handle a many-many relationship: a > property owner may own more than one house; > conversely, a house may have more than one co-owner - > consequently it's not appropriate to have eit

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-16 Thread Lennart Regebro
On 6/17/05, Jim Vine <[EMAIL PROTECTED]> wrote: > I'm very interested in the Object Oriented way of > doing things; for example, I'm thinking about > implementing houses as a folder-ish object, so it > would be able to contain photos of the house in > question. The biggest stumbling block I am faci