On 4/20/07, agatone <[EMAIL PROTECTED]> wrote:

So at all this actions file could easily have 500+ lines, what is (in my
oponion) very bad.
Wouldn't be easier if actions could be in separate files - more simple
structure ... ?

I'm a big believer in the "fat model, thin controller" architecture
for an MVC app.  As others have suggested, try refactoring your code
so your models do all the work of manipulating the data before passing
it onto your small and elegant controllers.

Hope that helps.

--
Chris Hartjes

My motto for 2007:  "Just build it, damnit!"

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

Reply via email to