Task #2444

Refactor Request -> Remove *ObjectNamePattern

Added by Sebastian Kurfuerst almost 13 years ago. Updated about 11 years ago.

Status:
Rejected
Priority:
Must have
Category:
MVC
Target version:
-
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.

#1

Updated by Karsten Dambekalns over 12 years ago

  • Tracker changed from Bug to Task
#2

Updated by Karsten Dambekalns over 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?

#3

Updated by Sebastian Kurfuerst over 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

Also available in: Atom PDF