[TYPO3-mvc] extension_builder and Repositories
Toke Herkild
th at t3cms.dk
Mon Feb 13 15:04:56 CET 2012
Hi All,
Maybe one of you can explain to me how models and repositories
correspond to eachother.
My understanding was that if you create a model you have to create the
equal repository too.
Example:
Creating the model: Tx_Extname_Domain_Model_MyModel
You also have to define the repository:
Tx_Extname_Domain_Repository_MyModelRepository
Or do we have a shortcut where repositories are only needed if the model
is based on an aggregateRoot ?
As far as I've understood untill now, the repository is the models link
to the DB, or is that a misconception ?
Regards,
Toke Herkild
More information about the TYPO3-project-typo3v4mvc
mailing list