@Cricket - How so? Just because the model has database access? It
really doesn't matter if you pass the model to the view if you are
using it for convenience methods. I think you are completely missing
the point, this isn't about passing data to the view.

On Nov 16, 11:24 am, cricket <[email protected]> wrote:
> On Tue, Nov 16, 2010 at 2:09 PM, Jamie <[email protected]> wrote:
> > No - the point of MVC is really to separate the manipulation of model
> > data from the view through the use of a controller. There's nothing
> > wrong with reading data from a model in a view, unless you like
> > needless overhead. Lots of respected frameworks do it (like the Zend
> > Framework).
>
> Right, and so making the model available for reading from the view
> would NEVER lead to its manipulation. Sure.
>
> And what "needless overhead"? There are several simple (and cheap)
> ways to get your data to the view without passing the model to it.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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