[TYPO3-mvc] Using ObjectStorage properly
S.Korth
s.korth at dms-arts.com
Fri May 7 11:56:45 CEST 2010
Felix Oertel schrieb:
> hey,
>
> just try it out. ;-)
>
> Am 06.05.10 16:21, schrieb S.Korth:
>> i don't understand why this works without a repository.
>
> because the persistence layer cares for you and mapps stuff into place.
>
>> I thought this is the only way to get data out of database. Or is it
>> just cause of the MVC pattern ?
>
> You need a repository if you want to do more funny things. ;-) Like
> "just give me the newest 10 items", "give me 5 random items" or "give me
> 5 items from 4 different tables"
>
> If you just want to get all items matching the TCA defined relation (you
> can apply order and enableColumns here as well) the extbase datamapper
> will do the job for you.
>
> regards, foertel
Hey Felix,
i think i understand the Data-Mapping now.
German Doku: http://www.mittwald.de/extbase-dokumentation/
=> Page 43: Data Mapping
Thanks,
Sascha ;-)
More information about the TYPO3-project-typo3v4mvc
mailing list