Task #33040

rename the default controller as DefaultController

Added by Fernando Arconada over 3 years ago. Updated over 3 years ago.

Status:Rejected Start date:2012-01-08
Priority:Could have Due date:
Assigned To:Karsten Dambekalns % Done:

0%

Category:MVC
Target version:-
Sprint: Has patch:No
PHP Version: Complexity:

Description

The code could be more readable if the default controller is renamed from StandardController to DefaultController

History

#1 Updated by Karsten Dambekalns over 3 years ago

  • Tracker changed from Suggestion to Task

#2 Updated by Karsten Dambekalns over 3 years ago

  • Project changed from TYPO3 Flow Base Distribution to TYPO3.Flow

#3 Updated by Karsten Dambekalns over 3 years ago

  • Category set to MVC
  • Status changed from New to Rejected
  • Assigned To set to Karsten Dambekalns
  • Has patch set to No

This change would affect all users and require adjustment of all standard controllers. The advantage is unclear, thus the cost-benefit ratio seems way off…

Historic background: Once upon a time FLOW3 used controller classnames without the Controller suffix. Now go and try to implement this: class Default implements ControllerInterface {} That is why we have StandardController

Linguistic nitpicking: "default" exists only as a verb, "to default to something" - but that's only a funny side note :)

Also available in: Atom PDF