« Sleevenotez is live again | Main | Verbs in REST »

Enthought Traits

A reference on Dr Dobbs Python-URL pointed me to Enthought Traits, which look very interesting.

This sort of idea crops up all over the place, but is rarely as well focused. This is part, for example, of Plone’s Archetypes and of Nevow’s Formless.

It’s good to see it separated from the persistence machinery (a fault of Archetypes IMO), and good to see the separation of “View” and “Typing and Validation” (a fault of Formless IMO). This is quite a specific set of responsibilities that Trait’s provide, and they seem to be well factored.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)