Eduard Witteveen wrote: > Can i make the following comparison? > - we have the hard mmbase restrictions (compare it with database > restrictions). > - we have softer restrictions(more/less like busninesslogic, which can > vary and is much earlier subject of change)
No. The only thing is that an mmbase restriction has a flag 'always/oncreate/onchange/never', which main goal was e.g. to avoid problems with a restriction like 'field value > now', which is a nice one during creation of the node, but when you save it again on a later time, the field value may have become smaller then 'now', so you don't want to enforce the restriction then. The extreme value 'never' then can be interpreted as a 'soft' restriction: a mere suggestion. Wich somes in handy when e.g. you want an input-line (so, which cannot contain newlines), which still must allow newlines... IMHO it has nothing to do with the ability to vary or so. All restrictions can always vary with different fields/different bussiness rules. Michiel -- Michiel Meeuwissen mihxil' Peperbus 111 MediaPark H'sum [] () +31 (0)35 6772979 nl_NL eo_XX en_US _______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
