What exactly are you doing to the data? If you're just re-organizing
the array, doing it in the model is appropriate. If you're adding
markup, you should do it in the view.

- James

On Apr 23, 10:08 am, 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?
--~--~---------~--~----~------------~-------~--~----~
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