pro/con of having single/multiple action per file in symfony?

Posted by koss on Stack Overflow See other posts from Stack Overflow or by koss
Published on 2010-04-18T02:05:51Z Indexed on 2010/04/18 2:13 UTC
Read the original article Hit count: 361

Filed under:

been working with symfony for a while. most tutorials describe having multiple actions in a single php file. however, i find having 1 action per php file easier to maintain.

  • what's the pro/con of both?
  • is this purely a developer preference in code organisation?
  • any performance impact on either approach?
  • what's common practice for reasonably large production applications?

© Stack Overflow or respective owner

Related posts about symfony