By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,719 Members | 1,224 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,719 IT Pros & Developers. It's quick & easy.

PDO

P: n/a
Has anyone any experience with PDO (http://pecl.php.net/package/PDO)?
According to some rumours, PHP 5.1 will hava a database abstraction layer,
and this seems like a good candidate.

I am especially interested in any comparisons with ADOdb, and particularly
the extension-version of the latter.

Berislav
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
PHP does not come with a built-in database abstraction layer - and why
should it? You can always try PEAR DB, or there are plenty of other
variations of a Data Access Object (DAO) out there. I know because I have
written one.

--
Tony Marston

http://www.tonymarston.net

"Berislav Lopac" <be************@dimedia.hr> wrote in message
news:1d******************************@40tude.net.. .
Has anyone any experience with PDO (http://pecl.php.net/package/PDO)?
According to some rumours, PHP 5.1 will hava a database abstraction layer,
and this seems like a good candidate.

I am especially interested in any comparisons with ADOdb, and particularly
the extension-version of the latter.

Berislav

Jul 17 '05 #2

P: n/a
On Wed, 13 Oct 2004 18:53:42 +0100, Tony Marston wrote:
PHP does not come with a built-in database abstraction layer - and why
should it? You can always try PEAR DB, or there are plenty of other
variations of a Data Access Object (DAO) out there. I know because I have
written one.


I know, Tony, I've checked your site. I might agree that PHP might not need
a built-in abstraction layer for databases, but:

a) There is rumour, coming from none else but Zeev from Zend (who said it
in a brief interview with a local Croatian computer magazine), that PHP 5.1
*will* have one.

b) It it a fact that DALs made as extensions are much faster than pure PHP
ones, as proven by the ADOdb extension.

c) PDO exists (check the link in my post), and if they really plan to
include a build-in DAL it certainly seems like a good candidate.
Personally, I use ADOdb and would prefer if they would choose that, but as
it doesn't seem likely I'd like to hear any opinions on PDO as I haven't
yet used it.

Berislav
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.