PHP Classes

SQLite DB Handler: Create and manage SQLite database files

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,304 This week: 1All time: 2,962 This week: 560Up
Version License Categories
sqlite_db 1.0Artistic LicenseDatabases
Description 

Author

This class can be used to create and manage SQLite database files.

It can create databases tables from a list of field declarations passed as an array.

SQLite does not implement many types table alterations. This class can emulate table alterations by recreating a table with the altered fields and inserting the old table field values.

The class also supports a turbo mode by executing special pragma statements that can enhance the database access performance.

The class error messages can be generated in Portuguese (of Portugal) or English.

Innovation Award
PHP Programming Innovation award nominee
December 2005
Number 4


Prize: One book of choice by SAMS
SQLite is an interesting flat file database management system. It does not require a database backend server, but it provides an SQL interface to access the database table data.

SQLite SQL dialect provides means to execute the most common SQL operations. However, the support for database schema management in the current SQLite versions is still deficient.

This class provides an alternative solution to perform many types of table schema alterations, equivalent to the use of the SQL ALTER TABLE statement.

Manuel Lemos
Picture of José Augusto Ferreira Franco
  Performance   Level  
Name: José Augusto Ferreira ... <contact>
Classes: 15 packages by
Country: Portugal Portugal
Age: 46
All time rank: 963 in Portugal Portugal
Week rank: 416 Down4 in Portugal Portugal Down
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • example1.jpg
  Files folder image Files  
File Role Description
Plain text file sqlite_class.php Class The main class
Accessible without login Plain text file changes_example.php Example This file generalizes class last changes, with some short pratical examples
Accessible without login Plain text file example1.php Example This short example shows the process required to build a table with class db from package SQLITE DB HANDLER

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,304
This week:1
All time:2,962
This week:560Up