[MTOS-dev] scorabe MT::Category
Timothy Appnel
tim at appnel.com
Sun May 4 12:07:05 PDT 2008
This is similar to an issues I raised a couple ears back about the
taggable framework -- existing MT::Objects cannot be tag enabled --
that the scorable framework is based on. There were issues that it
never happened. I can't recall if it was timing or hesitancy to add
more API methods or that it was coming from me.
My solution then was to have plugin methods that declared something
taggable and load the necessary methods and registry the callback
needed. It seems to me with the introduction of the registry since
then that making any MT::Object arbitrarily scorable or taggable could
be more straight forward. Refactoring and backwards compatibility
issues aside, of course.
Rather then force (mulitple -- blech!) inheritance to enable an
object, the inherited methods could be converted to mix ins that get
dynamically added (see Sub::Install) when a object class first loads
and sees that it is flagged as taggable/scorable. This way any plugin
could make an object taggable/scorable in order to achieve its
intended functionality without the core having granted such ability.
<tim/>
--
Timothy Appnel
Appnel Solutions
http://appnel.com/
More information about the MTOS-dev
mailing list