Re: looking at AT schema: (was) zope 3 schema's and the rest of us

whit <[email protected]> Mon, 24 Jul 2006 16:28:25 -0500
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <[email protected]>
Martin Aspeli wrote:
> whit wrote:
> 
>> my main argument is that it's more productive to view the AT schema as 
>> just configuration and registration(of model, view, et al), whereas in 
>> z3 schema, the schema is just definition of  model.
> 
> An interesting point of view - and one that I think defines our problem 
> quite well. However, I'd argue that *part* of the AT schema is model 
> (which maps quite well onto Z3 schemas) and *part* of it is 
> registration/configuration (all the rest of it, such as widgets).
> 

very true (I think that's an excellent summation of the actual division)...

but that view is orthogonal to what I'm suggesting, which is more of a 
method of getting us out of AT schema as we know it while preserving the 
feel of working with AT (since we've got a bunch of koolaid drinkers 
already).

maybe not orthogonal, maybe just a different direction...

if an registerType consumes some sort of data structure(class + AT 
schema) and spits out into memory a z3schema and the appropriate 
registrations, then we sort of are saying the same thing.

-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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV