[TYPO3-mvc] SOAP call using extbase
Jochen Rau
jochen.rau at typoplanet.de
Mon Apr 12 13:35:39 CEST 2010
Hi Masi.
On 12.04.10 12:01, Martin Kutschker wrote:
> Jochen Rau schrieb:
>> And what does this abstraction mean? It is not an "ivory tower"
>> abstraction. IMO there are many advantages of this abstraction:
>>
>> 1) You can change the storage solution or the implementation of the
>> Repository without touching the consumers code.
>
> 2) ??? :)
Ah. That's one of these hidden advantages of the repository pattern. You
never know what the future brings, but you are prepared. ;-)
>> 3) You can use domain language to query for Objects.
>>
>> IMO the first one is overrated. I never changed form one database vendor
>> to another, did you?
>
> Never. For me the whole point of DB abstraction is to be able to choose a system when you start your
> project. Perhaps it can help if you may use Mysql/PosgreSQL (free) to do some local development if
> the target system uses Oracle/SQL-Server (payware).
>
>> The second one is the most important one. If I have already implemented
>> a SoapRepository, I can solely focus on the domain.
>
> I understand the purpose (of the third), I only doubt its a viable choice for most applications.
Me too.
> * I guess we agree that the repository is more than a class with a get() and a find() method.
Yes.
Regards
Jochen
More information about the TYPO3-project-typo3v4mvc
mailing list