# |
Feb 19th 2009, 13:07 |
alkemann |
but implement this with tag and all article finds are findByTag |
# |
Feb 19th 2009, 13:07 |
AD7six |
alkemann: there has to be a find by tag anyway |
# |
Feb 19th 2009, 13:06 |
alkemann |
far from free |
# |
Feb 19th 2009, 13:06 |
alkemann |
AD7six: nope. i never get upset about discussions :) |
# |
Feb 19th 2009, 13:06 |
AD7six |
and besides how expensive is a join |
# |
Feb 19th 2009, 13:06 |
AD7six |
alkemann: where is taht a requirement |
# |
Feb 19th 2009, 13:06 |
AD7six |
it was only that - a discussion from my point of view |
# |
Feb 19th 2009, 13:05 |
alkemann |
find('all',array('deprecated' => false)) with no recursiveness, vs checking for deprecated tag for all articles |
# |
Feb 19th 2009, 13:05 |
AD7six |
alkemann: are you still sore over that session discussion? |
# |
Feb 19th 2009, 13:05 |
AD7six |
alkemann: where is your "filter out deprecated articles" stuff coming from |
# |
Feb 19th 2009, 13:04 |
alkemann |
someone else understand me can rephrase? |
# |
Feb 19th 2009, 13:04 |
gwoo |
ACTION knows AD7six too well :P |
# |
Feb 19th 2009, 13:04 |
alkemann |
i agree |
# |
Feb 19th 2009, 13:04 |
AD7six |
alkemann: I don't understand what you're saying |
# |
Feb 19th 2009, 13:04 |
gwoo |
that breed complexity |
# |
Feb 19th 2009, 13:04 |
gwoo |
no over abstractions |
# |
Feb 19th 2009, 13:03 |
gwoo |
also, as a general rule of thumb bakery needs to be extremely simple |
# |
Feb 19th 2009, 13:03 |
alkemann |
AD7six: i understood that to be your intent. i simply meant that requireing joining a habtm model to filter out deprecated articles may get expensive |
# |
Feb 19th 2009, 13:03 |
AD7six |
jperras: np, I don't think we've left normality yet |
# |
Feb 19th 2009, 13:03 |
jperras |
AD7six: don't go too crazy with schema stuff. I'd like to wait until a few more mockups are created |
# |
Feb 19th 2009, 13:02 |
AD7six |
alkemann1: I'm suggesting that a tinyint deprecated field could (maybe, it's a point of discussion) would be better implemented as defining this-tag-causes-that-to-happen for articles |
# |
Feb 19th 2009, 13:02 |
gwoo |
what is the template? |
# |
Feb 19th 2009, 13:02 |
ADmad |
ACTION giggles |
# |
Feb 19th 2009, 13:01 |
AD7six |
is there an echo? |
# |
Feb 19th 2009, 13:01 |
alkemann1 |
who is? |
# |
Feb 19th 2009, 13:01 |
AD7six |
that's not talking about model behaviors |
# |
Feb 19th 2009, 13:01 |
AD7six |
alkemann yes? |
# |
Feb 19th 2009, 13:01 |
alkemann1 |
AD7sixalkemann: how about rather than specifically deprecated, optionally (by admin) attaching 'behavior' to tags |
# |
Feb 19th 2009, 13:00 |
AD7six |
I didn't mention a model behavior |
# |
Feb 19th 2009, 12:59 |
alkemann1 |
deprecated (or mentioned tag) behavior |
# |
Feb 19th 2009, 12:59 |
AD7six |
what logic |
# |
Feb 19th 2009, 12:58 |
alkemann1 |
dont u think it would be much mroe effective to hav the logic in the model isntead of a habtm joined model? |
# |
Feb 19th 2009, 12:58 |
ADmad |
like that idea |
# |
Feb 19th 2009, 12:58 |
ADmad |
yup yup |
# |
Feb 19th 2009, 12:58 |
AD7six |
ADmad: actually the template thing could behandled simply as a 'special' article for each category |
# |
Feb 19th 2009, 12:57 |
alkemann1 |
AD7six: behavior to tags.. him.. |
# |
Feb 19th 2009, 12:57 |
AD7six |
http://img511.imageshack.us/img511/173/schematicmneatoml0.png |
# |
Feb 19th 2009, 12:56 |
AD7six |
yeah it does suck |
# |
Feb 19th 2009, 12:56 |
AD7six |
I don't know if that's very useful (?) just thinking of a more general use for the code |
# |
Feb 19th 2009, 12:55 |
AD7six |
alkemann: how about rather than specifically deprecated, optionally (by admin) attaching 'behavior' to tags |
# |
Feb 19th 2009, 12:54 |
alkemann |
so something i thought about earlier that at least poLK liked. including the deprecated article feature from debuggable |