Heya!

Modules are _NOT_ separate containers of controllers! They share services,
so re-use them!

You can just define what you want to have in your container and then re-use
it in admin and frontend controllers. No need to rewrite the logic twice :)

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


On 11 May 2013 15:14, whisher <[email protected]> wrote:

> Hi all,
> I'd like to know what's the best practice to manage
> entity/model/mapper/service in
> for instance Blog Admin modules.
> I should set up different entity/model/mapper/service
> or share all the stuff from within my Admin module ?
> Thanks in advance.
>
>
>
>
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/Zend-2-entity-model-mapper-service-front-end-back-end-best-practice-tp4659998.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
> --
> List: [email protected]
> Info: http://framework.zend.com/archives
> Unsubscribe: [email protected]
>
>
>

Reply via email to