|
Posted by IchBin on 08/15/06 18:10
Ian Collins wrote:
> Craig Taylor wrote:
>> Just curious as to opinions on the best DB interface for mysql ... I
>> typically use the PEAR DB package but curious as to what others see as
>> strengths and weaknesses in PDO, native mysql drivers and others.
>>
> Having used both PEAR DB and mysql native interface, I prefer the
> latter. I can't see any advantages offered by PEAR DB unless you
> envisage connecting to more than one database type. I haven't made any
> accurate measurements, but my impression was that PEAR DB adds a not
> insignificant overhead.
>
You could look at MDB2 which is quoted to be an upgrade of the older
PEAR::DB. The DB package is there just to give support to all of the
current programs that use it. MDB2 has a mysqli support. Their are some
PEAR modules that are really nice but require DB or MDB2. I am new to
PHP but I like some of the modules in PEAR if it can make my life easier
and not take to many cycles. Example which could require DB or MDB2:
DB_DataObject
DB_DataObject_FormBuilder
HTML_QuickForm
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Navigation:
[Reply to this message]
|