Hmmmm.....

I do all my data handling in the Model and only use the Controllers to set view variables or call other actions based on the data returned from the Model. I used to return the raw data and change it in the controller. Recently I've switched to this new (and what I thought was the preferred) way of doing all data handling in the model (including formatting the data e.g. the correct number format). I've found this to be a much more elegant way of doing things.
I'm open to suggestion though.

Cheers,

Psychie

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

Reply via email to