-- ginnk <[email protected]> wrote
(on Saturday, 16 October 2010, 10:50 AM -0700):
> Its about acces other modules from the current module. One example: I have
> two modules: articles modules and comments modules. The two modules in
> diferent paths so differents url to acces.Then, I acces to module article
> and I wana get the comments, so I need to acces comments module from the
> article one.
>
> Seems like gurus in Zend say that the estrategy to acces other modules
> outside the current is not a good practise, but I think is really needed,
> otherwise the modularity will not be succesful.
>
> What do u think about it? Its a good practise or not to acces other modules,
> if not, could u explain a way to do the example?
You may be interested in a blog post I did recently:
http://weierophinney.net/matthew/archives/246-Using-Action-Helpers-To-Implement-Re-Usable-Widgets.html
--
Matthew Weier O'Phinney
Project Lead | [email protected]
Zend Framework | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc