Prompt with ideology MVC (model) in ZF1

mercredi 23 janvier 2013

All the good time, dear habravchane.

Started to learn Zend Framework. Grand system with its pluses, minuses, charms and challenges. Especially when you do not quite understand best practice.

I understand that completely confused in the end, therefore, appeal to you for help / help / advice, Kojima will immensely grateful.

Take small REST application. Fairly standard set of simple steps, but I want to plunge into the bowels of the framework, and all do not learn "How to" and "how best" and "how."

With the controller / twist issues have arisen. But the model, with each read the article, I realize I am more lost.

I'll try to formulate the basic questions.
How many files under the model should be created?
Saw different types of implementing inheritance - from _Table, _Table_Abstract, _Row, _Rowset and. When is the best from what inherited?
The ideology of the ZF yet met Mapper use the models. How to share data? Which part is to work with the database (whether it is necessary to divide into Unit / Collection, and if so, how best / correct) and which operate with different data. For example, different fetch.
There is a helper, which is used not only as assistants to twist, but also for the data. Is this true?
There are services that are not yet fully mastered. Given the above questions about the model that is better to give here?

Studied a lot of literature, but instead of understanding becomes more cereal in my head. I would be glad of any help, good links / references to the manuals and so on.

If the questions seem silly, please do not minusovat and help. I really want to get better :)

0 commentaires:

Enregistrer un commentaire

 
© Copyright 2010-2011 GARMOBI All Rights Reserved.
Template Design by Herdiansyah Hamzah | Published by Borneo Templates | Powered by Blogger.com.