|
Posted by amygdala on 05/31/07 02:34
"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.
>
> 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
Navigation:
[Reply to this message]
|