Tibaso Posted January 20, 2011 Share Posted January 20, 2011 Hi, I'm new to this board. My first question: Is there any reason to use the new PHP 5.3 class SQLite3 instead of PDO? Link to comment https://forums.phpfreaks.com/topic/225121-sqlite3-class-in-php-53/ Share on other sites More sharing options...
QuickOldCar Posted January 20, 2011 Share Posted January 20, 2011 I think you are confused. sqlite2 versus sqlite3 pdo is a way to manage and display through database objects So in essence you use sqlite3 and pdo together. Link to comment https://forums.phpfreaks.com/topic/225121-sqlite3-class-in-php-53/#findComment-1162753 Share on other sites More sharing options...
Tibaso Posted January 20, 2011 Author Share Posted January 20, 2011 No, I am not confused, PHP 5.3 introduced the new class SQLite3: http://php.net/manual/de/book.sqlite3.php I am working already for quite a while with PDO and sqlite3 but now I was reading about the new php class SQLite3 and it works almost the same like PDO except it is only for SQLite3 databases and can not wrap other databases. So since at the moment I am writing an application that uses only sqlite, I am wondering if there is any advantages to use SQLite3 instead of PDO. Link to comment https://forums.phpfreaks.com/topic/225121-sqlite3-class-in-php-53/#findComment-1162769 Share on other sites More sharing options...
Tibaso Posted January 21, 2011 Author Share Posted January 21, 2011 Does noone know what the new class SQLite3 is for? Link to comment https://forums.phpfreaks.com/topic/225121-sqlite3-class-in-php-53/#findComment-1162916 Share on other sites More sharing options...
Tibaso Posted January 22, 2011 Author Share Posted January 22, 2011 *push* Link to comment https://forums.phpfreaks.com/topic/225121-sqlite3-class-in-php-53/#findComment-1163543 Share on other sites More sharing options...
trq Posted January 22, 2011 Share Posted January 22, 2011 Does noone know what the new class SQLite3 is for? Accessing Sqlite3. Just like any database, there is usually a interface provided besides what PDO might provide. It would however be more beneficial to stick with PDO, as it will make changing databases in the future (if need be) allot easier. Link to comment https://forums.phpfreaks.com/topic/225121-sqlite3-class-in-php-53/#findComment-1163549 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.