[~TASK] Extbase: Refactored Dispatcher. Moved initialization of cache and reflection...
authorJochen Rau <j.rau@web.de>
Tue, 20 Oct 2009 21:38:16 +0000 (21:38 +0000)
committerJochen Rau <j.rau@web.de>
Tue, 20 Oct 2009 21:38:16 +0000 (21:38 +0000)
commit5fd4787e58a16d110f508864044d3d3d1c842b7a
treeb5f93fdff72952278634e8a93b5995bc1b11f2ed
parent2cd139ac423fd537ff3a813604cc0b81d08d9d86
[~TASK] Extbase: Refactored Dispatcher. Moved initialization of cache and reflection to separate methods to decrease cohesion.
[~TASK] Extbase (MVC): Refactored classes and unit tests of Abstract Controller, Argument and Arguments. Moved creation of new Argument to separate method in Arguments class. Decoupled constructor from object initialization to improve testability.
[~TASK] Extbase (MVC): Backported some changes to Argument performed in FLOW3. Second parameter of Argument constructor is now required.
[~TASK] Extbase (Persistence): Refactored ObjectStorage to remove duplicated code.
[+TASK] Extbase (Persistence): Refactored method setRelations() to single level of responsibility. this will enable to implement handling of mm relations defined with IRRE.
[+FEATURE] Extbase (Persistence): If a property is an ObjectStorage and annotated with @lazy a LazyObjectStorage is instanciated instead.
[~BUGFIX] Extbase (Persistence): The sorting field is now prefixed with the table name. Related to #4470.
14 files changed:
typo3/sysext/extbase/Classes/Dispatcher.php
typo3/sysext/extbase/Classes/MVC/Controller/AbstractController.php [changed mode: 0755->0644]
typo3/sysext/extbase/Classes/MVC/Controller/Argument.php
typo3/sysext/extbase/Classes/MVC/Controller/Arguments.php
typo3/sysext/extbase/Classes/Persistence/Mapper/DataMap.php
typo3/sysext/extbase/Classes/Persistence/Mapper/DataMapper.php
typo3/sysext/extbase/Classes/Persistence/ObjectStorage.php
typo3/sysext/extbase/Classes/Persistence/QOM/QueryObjectModel.php
typo3/sysext/extbase/Classes/Persistence/Storage/Typo3DbBackend.php
typo3/sysext/extbase/Tests/MVC/Controller/AbstractController_testcase.php
typo3/sysext/extbase/Tests/MVC/Controller/Argument_testcase.php
typo3/sysext/extbase/Tests/MVC/Controller/Arguments_testcase.php
typo3/sysext/extbase/Tests/Persistence/Storage/Typo3DbBackend_testcase.php
typo3/sysext/extbase/Tests/Validation/ValidatorResolver_testcase.php