R. Rajesh Jeba Anbiah wrote:
[color=blue]
> Chris Hope <chris@electrictoolbox.com> wrote in message news:<1086723217_18578@news.athenanews.com>...
>[color=green]
>>Justin Koivisto wrote:
>>[color=darkred]
>>>I've started playing with PEAR::MDB lately.[/color]
>>
>>I've been using PEAR:DB for about 15 months but wasn't aware of MDB until
>>you just posted it now. I'll have to check that out as well. I'd never
>>create any system for the masses that was tied to one DBMS as they should
>>have the choice about what they want to use :)[/color]
>
> phpSt.Justin[/color]
Where did I get this kind of reputation? LOL
[color=blue]
> It is somewhat interesting to see even phpSt.Justin is attracted
> towards PEAR.[/color]
For my intentions is the easy of deployment - less code to worry about
debugging, less files to throw into a directory, etc. Also, I had tried
a few DB abstraction classes when I first started that. Of the ones I
tried, Metabase had the best balance of efficiency, ease of use and
performance at the time. Since I was used to that, PEAR::MDB was a
natural progression. A few idiosyncrasies to learn, and a lot of method
names to change, but for the most part, it's a fairly painless upgrade
process.
Also, for the amount of projects that I've been working on, PEAR's
deployment/debugging/upgrade processes will be a great help to me.
[color=blue]
> For DB abstraction, I personally prefer phpBB's DB
> abstraction than PEAR's as it is more fast and easy to handle. For me,
> it is really a surprise that PEAR is attracting PHP saintz.[/color]
If things ever slow down enough for me, I've been thinking of jumping on
board with some of the PEAR projects to help development along. I think
that it's a great resource (now that I've discovered it). In many cases,
all that is needed is some efficiency tweaking for the PEAR package
classes. Granted, with the amount of abstraction and inheritance in the
PEAR library, things will be a little slower than other methods may be,
but (as in my case) the performance trade off vs. the developing,
debugging and deployment cycle is worth it.
--
Justin Koivisto -
spam@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.