I am kind of in the same boat here, I find it frustrating that ZF doesn't
handle or suggest a use of models. I fully understand why mind you now I
have investigated, a model is essentially what anyone wants it to be!!

I do think though as I progress that a model base class should be made with
a way to add helpers much like action helpers. I am going to do this now,
using much of the action helper code as guidance so that it should work in
the ZF way. I've done the action helper to load the models that's easy
enough it's everything that goes with it that seems to duplicate things
already done for the action.

It seems to me that a lot is put into the controller in the docs and the
framework as a whole but that most of the actual work should actually happen
in the model!

I would like to see a base class and maybe a best practice / example in the
docs as a getting started, it's been my biggest hurdle choosing what
metodology (read opinion) to follow over model useage!!

-----
Simon

http://www.ajb007.co.uk/
-- 
View this message in context: 
http://www.nabble.com/Modules-and-Shared-functionality-tp18952739p18978746.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to