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

Daniel Moritz d.moritz at gmx.org
Sat May 31 01:05:27 CEST 2014


In my opinion, Doctrine 2 DBAL on its own cannot increase the speed, because the queries to the database will be the same as before. The key benefit by using DBAL is the data abstraction, that means other database types than mysql can be used without the need to rewrite the existing code - not much more. But it cannot be used to optimize the speed, because there is no datamanager for already fetched data. This advantage takes place in the ORM - there is an entitymanager, which avoid new queries to the database, if the requested data was fetched already, can be identified by its primary key and therefore delivered directly from memory. Not only in this point we should differ between DBAL and ORM ...


More information about the TYPO3-team-core mailing list