On 11/17/06, nate <[EMAIL PROTECTED]> wrote: > > This tutorial is so, so wrong. Who told you all it was a good idea to > use components in a model?? You think we're going to publish code on > the Bakery that violates the tenents of MVC?
OK! went back and read the article - it can be refactored and the model should be made observable instead of using components from withing the models. There are some other things which need to be refactored as well but there is a lot in that article which is useful as well. I particularly like the idea of having records as ACOs and not just controller/actions as ACO as is mostly believed. Have been toying about with ACL and related issues I was thinking of making controller:action:id as ACOs but I like the idea of model:id as ACO better. The combination of controller:action and model:id as ACOs will give all the control that I want with probably less code and more DRY Cheers Tarique -- ============================================================= PHP Applications for E-Biz: http://www.sanisoft.com Coppermine Picture Gallery: http://coppermine.sf.net ============================================================= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
