[Zope3-dev] Re: Proposed widget/schema work for the Rivah sprint (Thursday and Friday this week)

Florent Guillaume fg at nuxeo.com
Wed Sep 7 09:13:46 EDT 2005


Jim Fulton wrote:
> I think that sources are different than initial value.  I really don't
> see any role that "initial value" has in an object specification.
> 
> A schema is a specification for an object that provides the schema.
> An initial value doesn't constrain or specify the object.  If anything,
> it constrains applications that create the object, but in a rather unclear
> way.

But a schema is useful for more than "specifying the values of an object". 
All notions of schemas I've encountered (CPS Schemas, XML Schemas, 
Archetypes) use the schema to constrain or validate an existing object, yes, 
but also to create new objects from scratch (even in the absence of 
widgets). Being able to specify initial values is quite important there.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com


More information about the Zope3-dev mailing list