On Thu, Apr 23, 2009 at 4:08 PM, Ernesto <[email protected]> wrote:
>
> hello
>
> i'm wondering what's the best place to convert DB data in human-
> readable format.
>
> right now i'm using some routines in AppModel::afterFind and in
> AppModel::beforeDelete.
>
> These functions are working correctly but... formatting data in model
> doesn't sound very MVC-ish to me.
>
> So.. i was wondering... wich way is the most coherent with MVC
> pattern?
why not in the view? maybe in an element?

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