Re: PDO support (bit of a rant)
- From: "amygdala" <noreply@xxxxxxxxxxx>
- Date: Thu, 31 May 2007 02:25:42 +0200
"Toby A Inkster" <usenet200705@xxxxxxxxxxxxxxxxx> schreef in bericht
news:hl71j4-h76.ln1@xxxxxxxxxxxxxxxxxxxx
amygdala wrote:
But yet support for it seems to be rather poor. Especially clear
documentation on how to install specific drivers. What is up with that?
PDO's documentation is truly dreadful -- not just how to install drivers,
but the whole thing -- the constants, the exceptions thrown, everything.
Yeah, isn't it?!
It's a really good interface for database programming though. I ported my
CMS from PostgreSQL to MySQL in about 20 minutes. It would have taken me
hours if I'd been using the traditional PHP functions -- and the solution
wouldn't have been as elegant. (The non-PHP script to create the database
tables and populate them with initial data took quite a bit longer to
populate. See http://tobyinkster.co.uk/tag/mysql/.)
My thoughts exactly, that's what was so frustrating about it. I really see a
lot of potential for PDO. It could still use a little tweaking, such as
support for preparing queries with LIMIT clause parameter support, to name
one. But for the projects I'm envolved in (not too demanding) it suites me
very good. Also the elegancy part and ease of porting you're talking about I
agree with. I really hope the PHP developer community will pick up on
elaborating about PDO and giving it the attention it IMHO deserves.
Cheers.
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 96 days, 5:11.]
Non-Intuitive Surnames
http://tobyinkster.co.uk/blog/2007/05/25/non-intuitive-surnames/
.
- References:
- PDO support (bit of a rant)
- From: amygdala
- Re: PDO support (bit of a rant)
- From: Toby A Inkster
- PDO support (bit of a rant)
- Prev by Date: Re: PDO support (bit of a rant)
- Next by Date: Re: Favorite Coding Tools?
- Previous by thread: Re: PDO support (bit of a rant)
- Next by thread: Re: PDO support (bit of a rant)
- Index(es):
Relevant Pages
|