View Single Post
Old 03-31-2009, 08:21 PM   #28 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

Quote:
Originally Posted by ETbyrne View Post
Confusing?
Yes. What about things which shouldn't be in the model but might be necessary when invoking an editing page? Authorising the current user, validation of the supplied input data, routing different scenarios through to different views, etc.. Is that all to be done in the model?

Very good to hear that you're planning on allowing more dynamic routing! cookie::get is only a helper, it can call Dingo::cookie if you really want it to. Without it, the API just seems unbalanced.
Salathe is offline  
Reply With Quote