[TYPO3-core] RFC: Integrate Doctrine2 into TYPO3 CMS

Daniel Moritz d.moritz at gmx.org
Sat May 31 14:38:52 CEST 2014


Quote: Popy wrote on Sat, 31 May 2014 10:29
----------------------------------------------------
> Doctrine is a wonderful tool, but it is not very wise to add it on top of
> Typo3 as an optional tool. At the end it's only a shitload of code,
> classes, and metadata thrown onto the already huge Typo3 codebase. It won't
> be efficient unless the whole core relies on it and get rid of every legacy
> who could be replaced by it. Mocking TCA as metadata only duplicates it,
> the right way to do it would be to remove the TCA, and replace it by
> Annotations in Entity classes

I absolutly agree with this!
A problem with it are all current existing Typo3 CMS  installations who rely on the TCA, that it is not only used for data declaration and its relationship like the Doctrine Annotations. We all know there has to be a kind of backward compatibility.
Perhaps it could be a good aproach to use TCA to build Doctrine schema only to convert the data structure once, instead of use it for further data declaration?!?

Kind regards,
Daniel



More information about the TYPO3-team-core mailing list