php - Zend Frameworks - separation of content return type? -
i develop set of custom ajax/rss/etc functions, both abstract, , ones used in controllers. thinking of separating these methods based on return type.
i have controller enormous if don't break down logic.
i thinking maybe module -
modules/admin/analyticscontroller
modules/ajaxapi/analyticscontroller
modules/rssapi/analyticscontroller
any advice appreciated!
have considered using or overriding or creating own context switcher. can read more here http://framework.zend.com/manual/en/zend.controller.actionhelpers.html
this has features need without needing create new controllers each action.
Comments
Post a Comment