Skip to main content

All Questions

1vote
3answers
175views

Should I keep "redirect only" methods in my Controller?

Controller: function indexAction() { if ($condition) $this->renumPosition($id); //LINE #1 } //Redirect only - function's sole purpose is to call another function function ...
Dennis's user avatar
  • 8,257
7votes
2answers
1kviews

Am I using Zend Form library correctly? (I am effectively duplicating work in Controller and in View)

Brief Summary This question is asking for guidance on how to deal with Zend Form library that allows me to specify how to construct each form element (Controller side) and how to render each element (...
Dennis's user avatar
  • 8,257
6votes
6answers
2kviews

How do you know when to split an object method into 2 or more other methods?

I know this is a very basic question, but I sometimes find myself struggling to figure out when to split a single object method into multiple methods. For example, I am trying to set up an ACL using ...
blacktie24's user avatar

close