modules.zendframework.com
modules.zendframework.com copied to clipboard
ViewHelpers should not access database layer
Because that really shouldn't happen, should it?
See
- https://github.com/zendframework/modules.zendframework.com/pull/307#discussion_r23134821
- https://github.com/zendframework/modules.zendframework.com/pull/307#discussion_r23134827
- https://github.com/zendframework/modules.zendframework.com/pull/307#discussion_r23134833
There is nothing inherently wrong with a view helper hitting the database via service as explained to me by @Ocramius at length one fine day in January. Thoughts?
ping @ocramius