Re: Auth, MDB2, SQLite3
| From: | Lorenzo Alberton | Date: | Tue, 17 Feb 2009 19:53:59 +0000 |
| Subject: | Re: Auth, MDB2, SQLite3 | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-29698@lists.php.net to get a copy of this message | ||
Hi Nuno,
Any lights anyone? If SQLite3 is not supported yet under MDB2 (there are no version numbers for the RDBMSs!), when will it be?the MDB2_Driver_sqlite is meant for SQLite 2. There were people who started working on a driver for SQLite3 as well, IIRC, but I'm not aware of its current status. Anyway, writing a SQLite 3 driver should be quite easy.
Any other pointers for a (readable, decent, *up to date*) tutorial? Most of the stuff i found is for DB, which has been superseded and recomends MDB2...the fine manual? ;-) http://pear.php.net/manual/en/package.database.mdb2.php Also, the tubes are full of MDB2 tutorials, do a search with your preferred search engine. If you have a specific question you can post it here and I'm sure you'll get an answer.
PDO, what's the difference between that and M/DB/2?http://uk.php.net/manual/en/intro.pdo.php PDO provides a data-access abstraction layer, which means that, regardless of which database you're using, you use the same functions to issue queries and fetch data. PDO does not provide a database abstraction; it doesn't rewrite SQL or emulate missing features. You should use a full-blown abstraction layer if you need that facility.
My database (and system) is Unicode, which one(s) of these solutions supports Unicode?as long as you set the correct character set and encoding in the db link and call SET NAMES or similar, both solutions are fine. Best regards, -- Lorenzo Alberton http://pear.php.net/user/quipo