You are here: Re: mysql versus pear db versus pear mdb2 versus pdo « PHP Language « IT news, forums, messages
Re: mysql versus pear db versus pear mdb2 versus pdo

Posted by Roy Kaldung on 05/25/07 07:37

JM wrote:
> What is the preferred method to connect to a mysql database ?
> Or what are the (dis)advantages of mentioned methods to access a mysql
> database ?
>

Hi,

a common advantage if all these database abstraction layers is the
consistent API for different databases like MySQL, Oracle, etc.
PEAR DB and MDB2 are implemented in PHP, PDO comes with PHP 'natice' is
a C implementation. Therefore I prefer PDO by reason of speed and the
constraint to use PHP 5 (PDO isn't available for PHP 4).

hth,
Roy

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация