En zend framework, ¿hay alguna forma de interactuar entre diferentes módulos?

I have got three modules in my zend application.

Here module3 is an api module. It doesn't have any views.
module1 and module2 should interact with module3(api module) to get the needed data.
module1 and module2 will have custom controller logic and views.
Is there any way to enable this kind of communication. I am new to zend framework. Any help in this regard will be well appreciated. Thanks in advance.

preguntado el 09 de marzo de 12 a las 14:03

1 Respuestas

Well the API you should create a Service layer for. Then if you need to expose this API externally you can use Module 1 to act as an intermediary between "remote" clients, but the other two modules can use the Service layer directly.

respondido 09 mar '12, 16:03

@prodigitalson: Thank you for your answer. You have directed me in the right direction.:) - Karthik

@prodigitalson: Can you provide me with any reference, it would be really helpful - Karthik

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.