Bug #314

Improve directory structure and naming for views in a package

Added by Robert Lemke over 7 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2008-02-15
Priority:Should have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:MVC
Target version:-
PHP Version: Complexity:
Has patch: Affected Flow version:

Description

Currently all views in a package are located in the Classes/View/ directory. The naming scheme for view classes is:

T3_PackageKey_View_ActionName

That's a mistake. The naming convention for views should have been:

T3_PackageKey_View_ControllerName_ActionName

Adapt the MVC view resolver and rename / move existing views to the new directory layout.

Associated revisions

Revision 5d04d27a
Added by Robert Lemke over 7 years ago

  • FLOW3: (MVC) Improved the directory structure and naming of views. They now have the name of the controller in their own name. Fixes #314.
  • Updated the views in other packages accordingly.
  • Fixed whitespace and inline doc issues in classes I came across.

History

#1 Updated by Robert Lemke about 7 years ago

  • Target version deleted (18)

Also available in: Atom PDF