[MTOS-dev] scorabe MT::Category
Mark Paschal
mark at sixapart.com
Fri May 9 10:04:10 PDT 2008
Timothy Appnel wrote:
> On Thu, May 8, 2008 at 11:11 PM, Hirotaka Ogawa
> <hirotaka.ogawa at gmail.com> wrote:
>
>> So, in order to define another XXX-able interface and then adopt
>> Object to it, we just need an "Object"-class method to import another
>> mixin.
>>
>> Is that right?
>
> Close. I was thinking of something a bit more dynamic where any
> MT::Object subclass could be configured via the registry to be
> scorable or taggable. MT::Object would have some conditional logic to
> load the taggable/scorable methods in to the subclass perhaps using a
> require and import of the mixin.
I would investigate making all MT::Objects taggable/scorable always.
The heavy work of caching counts, etc happens on demand when you call
the taggable/scorable methods, so if you never tag objects of a class
or treat a class as tagged, it should have roughly no impact.
Mark Paschal
Software developer, Movable Type
mark at sixapart.com
More information about the MTOS-dev
mailing list