[TYPO3-mvc] How to use an own storage backend / repository

Stefano Kowalke blueduck at gmx.net
Tue Sep 17 15:04:51 CEST 2013


Hey Roland,

this was my first thought too. But then I think a little about and 
wondering if this isn't the use case of a repository where the 
repository don't care where the data is coming from.

Stefano

Am 17.09.13 14:44, schrieb Roland:
> hi stefano,
>
> maybe i am wrong: i would not have used a repository for that. i would have
> written a webapi service class which handels all the needed stuff.
>
> does this make sense?
>
> kind regards
>
> roland
>
>
> Stefano Kowalke <blueduck at gmx.net> wrote:
>> Hey list,
>>
>> I write an extbase extension were no database is needed. Actually its
>> just an frontend for a webapi.
>>
>> The extension consist of a searchform with a few filters and fires
>> requests to the webapi (No SOAP, no Rest).
>>
>> In the background its just put together the api url with an api token,
>> the current timestamp and the search paramenters and get XML as response.
>>
>> As far as I understand MVC this would be the job for an repository and
>> and own storageBackend in Extbase.
>>
>> How can I replace the current storageBackend with my custom
>> storageBackend which talks with the api?
>>
>> Thanks in advance
>>
>> Stefano



More information about the TYPO3-project-typo3v4mvc mailing list