[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.

Creating the model: Tx_Extname_Domain_Model_MyModel

You also have to define the repository:

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 ?

Toke Herkild

More information about the TYPO3-project-typo3v4mvc mailing list