Re: Best method for extending existing models/controllers?

2007-06-22 Thread Jonathan Langevin
Thanks for the direction Dan :-) If you have any more links about Components/Behaviors, fire away. I'm searching to find whatever I can on the topics, so I can make sure I do this right Thanks again! On 6/22/07, danfreak <[EMAIL PROTECTED]> wrote: > > > Yeas, use behaviors for generic/abstract m

Re: Best method for extending existing models/controllers?

2007-06-22 Thread danfreak
Yeas, use behaviors for generic/abstract model actions, and components for generic/abstract controllers actions! Also have a look at this post: -- More about Behaviors ? http://groups.google.com/group/cake

Re: Best method for extending existing models/controllers?

2007-06-22 Thread Jonathan Langevin
Sorry, yes, I've built most of the Content model & controller, and I'm wanting to build additional model/controller extensions essentially for enhanced functionality I don't see how I could apply $uses within ContentController, as ContentController is what i'm wanting to use but now that I'm thin

Re: Best method for extending existing models/controllers?

2007-06-22 Thread Repsah
It looks to me that you are trying to build a controller... That business should be in your ContentController which $uses all the models that you want, although I'm not a great fun of "generic" controllers. On 6/22/07, Jonathan Langevin <[EMAIL PROTECTED]> wrote: > > I'm building a generic Cont

Best method for extending existing models/controllers?

2007-06-22 Thread Jonathan Langevin
I'm building a generic Content model, and I would like to build extensions such as Posts, News, etc, that would use Content for processing/storing the main posted content, while additional information for each item would be stored in it's own model (i.e.- a forum post would include info like the us