You are here: Re: PDO support (bit of a rant) « PHP Programming Language « IT news, forums, messages
Re: PDO support (bit of a rant)

Posted by amygdala on 05/31/07 00:25

"Toby A Inkster" <usenet200705@tobyinkster.co.uk> schreef in bericht
news:hl71j4-h76.ln1@ophelia.g5n.co.uk...
> 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/

 

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

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