[TYPO3-mvc] !!! FYI: Several changes in the last commit
Jochen Rau
jochen.rau at typoplanet.de
Wed Jul 22 21:48:33 CEST 2009
Hi Joerg.
Joerg Schoppet wrote:
> Hi,
>
> found two small things your typoscript:
>
> 1.
> config.tx_extbase.interfaces.Tx_Extbase_Persistence_Storage_Backend.implementations.2.className
> = Tx_Extbase_PErsistence_Storage_PdoBackend
> - capital E in PErsistence
> - PdoBackend doesn't exists
> - For what is this config?
Sorry for this irritating piece of code. This isn't functional yet. I
should have written this on a piece of paper ;-)
This was a first sketch to have a configurable dependency injection. An
example: At every place we have
public function
injectStorageBackend(Tx_Extbase_Persistence_Storage_BackendInterface
$storageBackend) { [...] }
we can inject
class Tx_Extbase_Persistence_Storage_MySqlBackend implements
Tx_Extbase_Persistence_Storage_BackendInterface { [...] }
or
class Tx_Extbase_Persistence_Storage_PdoBackend implements
Tx_Extbase_Persistence_Storage_BackendInterface { [...] }
or [...]
And the snipped is basically the configuration what to take.
> 2.
> config.tx_extbase.classes.Tx_Extbase_Domain_Model_FrontendUserGroup.mapping.tableName
> = fe_users
> - Shouldn't it be fe_groups?
> - For what ist the part "columns.lockToDomain.mapOnProperty =
> LockToDomain"?
By now, this isn't functional, too.
Regards
Jochen
--
Every nit picked is a bug fixed
More information about the TYPO3-project-typo3v4mvc
mailing list