model view controller - How to use the Repository class in ZF2? -


i trying understand repository class in zend framework in order choose right way create new software application.

what need clarify concept of repository. have read can call servicelocator, entitymanager, call repository controller action , execute doctrine methods passing data view:

enter image description here

then have read answer in stackoverflow , little bit confused: https://stackoverflow.com/a/14103376/1034359

so right way or better way call entities ?

regards

use existing module connect doctrine orm library: http://modules.zendframework.com/?query=doctrine+orm


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -