Samuel, I think you may have misunderstood what I was trying to ask.

What I was wondering is why is findAll() highlighted in the Manual as a
function you use with Models only to have that general strategy
contradicted by the blog tutorial where findAll() is used in the
controller and the Model are for the most part empty.

I can see the logic of either approach, the model is dumb and the
controller does the heavy lifting and feeds it to the model --or-- the
model takes care of itself and the controller just worries about
managing user input.

But I'd like to know why these two different strategies were chosen
using cake under one Manual.

Is there a difference between one approach and the other or not?  Is
one academically better? Does one offer better performance? Are there
any latent differences between using the method in the model or the
controller?  Can it be said that consistency in your approach is more
important than which of the two strategies you select or are there
cases where you would want one over the other?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to