Re: PDO support (bit of a rant)
- From: "amygdala" <noreply@xxxxxxxxxxx>
- Date: Thu, 31 May 2007 04:34:29 +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.
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
.
- Follow-Ups:
- Re: PDO support (bit of a rant)
- From: Toby A Inkster
- Re: PDO support (bit of a rant)
- 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: nonblocking STDIN in CLI PHP app
- Next by Date: Re: PHP accept cookies?
- Previous by thread: Re: PDO support (bit of a rant)
- Next by thread: Re: PDO support (bit of a rant)
- Index(es):
Relevant Pages
|