Task #33040

rename the default controller as DefaultController

Added by Fernando Arconada almost 10 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Could have
Category:
MVC
Target version:
-
Start date:
2012-01-08
Due date:
% Done:

0%

Estimated time:
Sprint:
PHP Version:
Has patch:
No
Complexity:

Description

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

#1

Updated by Karsten Dambekalns almost 10 years ago

  • Tracker changed from Suggestion to Task
#2

Updated by Karsten Dambekalns almost 10 years ago

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

Updated by Karsten Dambekalns almost 10 years ago

  • Category set to MVC
  • Status changed from New to Rejected
  • Assignee 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