[TYPO3-mvc] [INFO] How-to do AJAX with Extbase

Xavier Perseguers typo3 at perseguers.ch
Sat Aug 1 11:19:53 CEST 2009


Hi Joerg,

> Xavier Perseguers schrieb:
>>     $genreRepository = 
>> t3lib_div::makeInstance('Tx_MvcExtjsSamples_Domain_Model_GenreRepository'); 
>>
> 
> don't you mean Tx_MvcExtjsSamples_Domain_Repository_GenreRepository?

No, in our case we are using same conventions as the blog_example, 
meaning repositories are sitting next to the Domain class themselves. 
But of course, you may put it in a repository-dedicated folder. We stick 
to blog_example and I read a discussion on v5 list quite a while ago and 
IIRC the end point was not to extract the repository from the model.

As said, it's up to you to decide where to put your classes ;-)

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away


More information about the TYPO3-project-typo3v4mvc mailing list