modules.zendframework.com icon indicating copy to clipboard operation
modules.zendframework.com copied to clipboard

ViewHelpers should not access database layer

Open localheinz opened this issue 9 years ago • 3 comments

Because that really shouldn't happen, should it?

localheinz avatar Jan 18 '15 17:01 localheinz

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

localheinz avatar Jan 18 '15 17:01 localheinz

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?

GeeH avatar Mar 05 '15 09:03 GeeH

ping @ocramius

GeeH avatar Apr 25 '15 10:04 GeeH