Re: PDO support (bit of a rant)




"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.

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/.)

I encountered an error on your site:

http://tobyinkster.co.uk/article/about-status/


BTW, recently I've used one of the things you have suggested at one point in
time in (I think it was this newsgroup) about mod_rewrite:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1


$_GET['nav'] = explode('/',$_SERVER['PATH_INFO']);

Great input. Just what I needed recently.

Cheers


.



Relevant Pages

  • Re: PDO support (bit of a rant)
    ... PDO's documentation is truly dreadful -- not just how to install drivers, ... It's a really good interface for database programming though. ... tables and populate them with initial data took quite a bit longer to ...
    (comp.lang.php)
  • Re: PDO support (bit of a rant)
    ... PDO's documentation is truly dreadful -- not just how to install drivers, ... support for preparing queries with LIMIT clause parameter support, ... elaborating about PDO and giving it the attention it IMHO deserves. ...
    (comp.lang.php)
  • Re: trying to figure out mod_rewrite so as to turn the query string into what looks like a file
    ... > Look at the documentation for RewriteCond for more information. ... Technical Analyst, Information Services ... London Health Sciences Centre ...
    (comp.infosystems.www.servers.unix)