-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jim Fulton wrote: > Tres Seaver wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Florent Guillaume wrote: >> >>> 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. >> >> >> >> RDBMS schemas are an important counter to the "default isn't schema" >> case, too. Defaults become particularly important when migrating >> content "forward" over time. > > > I wasn't paying attention when I responsed to this the first time. :) > What RDBMS concept are you refering to? NULLs?
In most RDBMS'es, you can specify a default value for a column (in addition to whether it can be null). Some of them even let you spell the default value as a formula. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDH2Li+gerLs4ltQ4RAtJVAKC0Ia5pv5k0qnZr3TWx/OYcM2kSTACfWQRR 3aOrmifL3EG4DD1fsSp/SPs= =dROg -----END PGP SIGNATURE----- _______________________________________________ Zope3-dev mailing list Zope3email@example.com Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com