Re: Re: What does Five and Z3 mean for Archetypes?
Roche Compaan <roche-kb4xc5yObU3kQYj/0HfcvhBnub05S5/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.archetypes.devel |
|---|---|
| Message-ID | <1132342587.14732.21.camel@kwaaitjie> |
On Fri, 2005-11-18 at 17:53 +0100, Martijn Faassen wrote: > Do annotations fit in somewhere? Zope 3 doesn't have a storage framework > yet, so I think Zope 3 has some work to do here. ZPatterns gurus speak > up.. :) Well Zope 3 really has a storage framework - the ZODB :-) Even Philip based PEAK's storage layer (which is a much simpler incarnation of ZPatterns) on ZODB's DataManager and he evens calls it a DataManager (not SpecialistRackThingyMajig ;-) ). It should be entirely possible to adapt a container in Zope3 to a SQLDataManager or a LDAPplusSQLDataManager or WhateverYouLikeDatamanager. Look at IDataManager and all the interfaces that subclass it in: http://svn.eby-sarna.com/PEAK/src/peak/storage/interfaces.py?rev=2060&view=markup > Okay, and to avoid confusing, Z3 does use the word "field", but for > that's for the attribute declaration on the schema/interface, i.e. we > have Text fields, Int fields and the like. > > > a reffield nothing currently > > What do reffields do in AT? I once tried to work out something like references (called Associations) with Shane Hathaway for Zope3 but it never became anything: http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/AssociationService The one thing that was interesting about it was that it was based on associations in the OMG's MOF (Meta Object Facility) model. It might be worth considering some of these ideas when building a reference engine for Zope3. -- Roché Compaan Upfront Systems http://www.upfrontsystems.co.za ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click