Task #2444
Refactor Request -> Remove *ObjectNamePattern
Start date:
2009-01-11
Due date:
% Done:
0%
Estimated time:
5.00 h
Sprint:
PHP Version:
Has patch:
Complexity:
Description
We should refactor the MVC_Request, to move all logic out of it.
This means the following:- Drop $controllerObjectNamePattern (and getters/setters for it)
- Drop $viewObjectNamePattern (and getters/setters for it)
- Presumably, a lot of other stuff can be removed as well due to that refacoring.
- Introduce a new $fullyQualifiedControllerObjectName (including setters/getters) which contains fully qualified Controller name, such as F3\MyPackage\MySubPackage\Controller\SomeController
- Analogous for $fullyQualifiedViewObjectName
The fullyQualifiedControllerName is being set by the MVC\Web\Routing\Router.
Updated by Karsten Dambekalns almost 12 years ago
- Status changed from New to Needs Feedback
- Assignee set to Sebastian Kurfuerst
Hi, is this done or is there still something missing?
Updated by Sebastian Kurfuerst almost 12 years ago
- Status changed from Needs Feedback to Rejected
It is not really "fixed", but I think we should not change it from the way it is now. I think it is better to have the controllerObjectNamePattern in the request and build the "controllerObjectName" on the fly.
Greets,
Sebastian