[TYPO3-dev] The extbase dilemma

Daniel Brün dbruen at saltation.de
Wed May 18 22:27:11 CEST 2011


Hi Jochen,


2011/5/18 Jochen Rau <jochen.rau at typoplanet.de>

> It's not the goal of Extbase to force you not to use SQL. You can use
> SQL queries as you have done with in pi_base extensions. True: By now, that
> comes with the cost of loosing most of the features Extbase offers in
> the context of a controller action.
>

I am aware I can place direct SQL-calls everywhere I want... but this can
not be it, can it? How much DDD will remain when we start to bypass the
persistence layer for every critical operation?


> What do you mean by "basic queries"?
>

Anything that would translate to more than SELECT * or INNER JOIN. Something
like GROUP BY, or LEFT OUTER JOIN, or anything that results not in a plain
domain object but really should be a composite object (doctrine and propel
allow for such queries, and they provide a means to map the result to
objects).

Cheers,
Dan




More information about the TYPO3-dev mailing list