[TYPO3-mvc] Externel XML/JSON

S.Korth s.korth at dms-arts.com
Fri Apr 30 19:07:32 CEST 2010


S.Korth schrieb:
> Jochen Rau schrieb:
>> Hi Sascha.
>>
>> On 27.04.10 09:18, S.Korth wrote:
>>> i build my Extension with Extbase and i need to read an external xml
>>> API/File. Can i use the repository for such things? Would be nice
>>> because of the MVC Pattern. In my case the xml file is the data source,
>>> and not the db. Or is it wrong to use the rep. for this.
>>
>> It depends. If you store domain related data in the file then a 
>> Repository is the right place (it's actually its main purpose to 
>> abstract the data access from the source). If you store configuration 
>> in it, the Controller might be better.
>>
>> Regards
>> Jochen
> 
> Hey Jochen,
> 
> the data is domain related (i think). But when i use the Repository i 
> only get inherit functions which uses db Queries, or iam wrong? For 
> example a Feed could be a source. But maybe iam wrong.
> 
> 
> By the way, great job with extbase ;-)
> 
> Thanks so far,
> Sascha ;-)


Hey Franz & Jochen,

thanks alot for your replay. I will take a look at your advice.

THX !!!

Sascha


More information about the TYPO3-project-typo3v4mvc mailing list