2008年9月23日星期二

Re[2]: [fw-mvc] Application structure

> -- Jiří Němec <konference@menea.cz> wrote
> (on Monday, 22 September 2008, 09:45 PM +0200):
>> I would like to ask about "where should I put the code". Sometime
>> I am asking myself, should I put this code into model or leave in
>> controller or create own library class..?

> I'm thinking you're looking at an old version of the QuickStart. Please
> take a look at the new version, launched last Monday, and download the
> tarball associated with it -- and see if it answers your questions.

I have downloaded both two versions - ZIP
(ZendFrameworkQuickstart-20080915.zip) and tar.gz
(ZendFrameworkQuickstart-20080915.tar.gz) but it seems both contain
the same code (e.g. _getModel() and _getGuestbookForm() functions in
the GuestbookController).

J.

没有评论: