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

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -