Login   Register  
PHP Classes
elePHPant
Icontem

SQLite DB Handler: Create and manage SQLite database files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-12-27 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,269 All time: 2,809 This week: 1,584Up
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
Name: Josť Augusto Ferreira ... <contact>
Classes: 15 packages by
Country: Portugal Portugal
Age: 37
All time rank: 993 in Portugal Portugal
Week rank: 279 Down3 in Portugal Portugal Equal
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,269All time:2,809
 This week:0This week:1,584Up