[TYPO3-english] TYPO3 4.3.0-dev with Oracle
Jigal van Hemert
jigal at xs4all.nl
Sun May 3 00:23:32 CEST 2009
> The advantage of using PDO was for me is that you by-pass the AdoDB
> which is kinda slow.
PDO is a great interface (also nice features as variable binding, etc.). I
liked it so much when PHP5 was launched that I wrote a PDO-class for PHP4
which only support for MySQL (the only difference was that I couldn't have
constants like PDO::FETCH_ASSOC, because PHP4 didn't support the ::
operator for constants. I used PDO__FETCH_ASSOC, so one only needed to
replace the names of the constants to migrate to PHP5).
Pity is that the queries themselves are still very much DB dependent. And
while there are many useful functions in t3lib_DB more complex queries
still require me to write SQL code. Also in TypoScript it is often hard to
write DB independent queries.
Jigal van Hemert.
More information about the TYPO3-english