Re: RFC: proposal for schema refactoring pt. I
whit <[email protected]> Thu, 13 Jul 2006 13:54:10 -0400
| Newsgroups | gmane.comp.web.zope.plone.archetypes.devel |
|---|---|
| Message-ID | <[email protected]> |
Roché Compaan wrote: > On Thu, 2006-07-13 at 11:59 -0400, whit wrote: >> ================================= >> Proposal for Schema Refactoring >> ================================= > > Hi Whit > > How will schemas be defined in future? I know how to create an AT > Schema now and I know how to create a z3 schema but it is not entirely > clear to me how AT Schema will be defined in future. My hope is that schemas will be defined roughly the way they are now(this seems to work fine and people like it). What we really want to do is the schema into a proper registration and configuration system rather than a mess of python objects and coupling errors. remember, the schema is a facade. the great thing is you don't have to care what all those Field and Widget calls do...if they work ;) > I remember a thread on this list some time ago where fields of an AT > schema was described as mini content types. It was said that the this makes > it difficult to translate AT Schemas to the z3 idiom. I said that, and it's true in a ontological sense; the word schema means something different in each context. That being said, there is overlap that should be eliminated, and richness that both could use. An easier way to think of it is this: an AT schema is the functional equivalent of a number of z3 registration and configuration idioms including the z3 schema. > Now and then I see proposals on this list of how AT will be refactored > but none of them have been concrete enough for me to get a clear idea > of where things are going. Maybe it isn't that concrete yet? well, if I had limitless time and resources, I have a pretty clear picture of how I would do this. Fortunately, I don't have that luxury, so I'm seeking consensus and feedback ;) personally, I would state rough preservation of "Archetypes Patterns of Work" as a goal. As long as the input and output have roughly greater or equal ease and power to now, I think we are sitting pretty. Stated another way, I would love to see AT users be able to use Z3 without requiring the toilet swirlieing I feel like I had to go through. Granted, it's not hard, but not everyone has the luxury of picking up and learning a new framework every quarter. -w -- | david "whit" morriss | | contact :: http://public.xdi.org/=whit "If you don't know where you are, you don't know anything at all" Dr. Edgar Spencer, Ph.D., 1995 "I like to write code like other ppl like to tune their cars or 10kW hifi equipment..." Christian Heimes, 2004 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Archetypes-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/archetypes-devel