ratem / eispatterns

Code for the "Enterprise Information Systems Patterns" series of posts - didatic framework.
http://eis-development.blogspot.com
10 stars 6 forks source link

Reuse of Rules of Association #12

Open ratem opened 12 years ago

ratem commented 12 years ago

Maybe a "central" repository of rules of association would be interesting, so that decorators and resources could reuse them. Should check the impact of it in configurator

ratem commented 12 years ago

Just implemented (08/19/2011) for Resources. Doing the same for Decorators is a bit more complex, since Configurator calls decorators' @classmethods to check if association is possible with a given object.