Hi!

I've been doing some research about MVC implementations in different
frameworks. Now in allmost every book I have on my desk it says
something like 'the view in turn, asks the model for some data to
display it'. In cake I have noticed (if I'm correct) the controller is
asking data from the model and that data is then passed to the view.

Example: $newsItem = $this->requestAction("/news/view",
array("id"=>1));

My question is why this kind of implementation? It seams to be a bit
of double work because having that kind of intermediate 'layer'
between model and view.

Just curious ;-)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to