[TYPO3-mvc] Casting objects

Xavier Perseguers typo3 at perseguers.ch
Thu Jul 9 16:19:55 CEST 2009


Hi,

> Nikolas Hagelstein wrote:
>> Hi,
>>> Ok. I propose having an Abstract Storage Backend and extend this to have
>>> an MsqlBackend, OracleBackend, PdoBackend, WhatsoeverBackend. Do we then
>>> need DBAL anymore (I did not use it by now)?
>> Indeed the way to go...perhaps It makes sense to have another 
>> "DBBackend" in
>> between.
> 
> IMO The Abstract Storage Backend should provide implementations of the 
> parsing methods. Only the connection and the "special parsing cases" 
> should be handled by the extending classes.
> 
> I'll dig a little deeper in the PDO.

Please keep the problem of the length of identifier in mind when dealing 
with Oracle. This is what DBAL is really good for. Apart from that, 
having those special DB Backend would be great.

-- 
Xavier Perseguers
DBAL-Member

http://xavier.perseguers.ch/en/tutorials/typo3.html


More information about the TYPO3-project-typo3v4mvc mailing list