PHP Classes
elePHPant
Icontem

pDB: File based database SQL engine in pure PHP

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-08-13 (10 years ago) RSS 2.0 feedStarStarStar 51%Total: 1,244 This week: 1All time: 2,878 This week: 1,242Up
Version License Categories  
pdb 1.0GNU Lesser Genera...Databases, Files and Folders
Description Author  

pDB is a collection of PHP classes that implement a file based embeddable SQL database engine.

It was written in pure PHP and does not require any special extension or external resource. So, it can be distributed with any plain PHP application.

It works by storing the database tables in files that contain arrays serialized by PHP to store the data of the rows and columns of the tables. The database table files can be moved between different environments and operating systems.

It provides a SQL 92 compliant interface to execute queries like with any SQL database engine.

With small databases it can be faster than MySQL or PostgreSQL. It does not impose the overhead of establishing local socket or TCP/IP connections.

Picture of Benny Zaminga
Name: Benny Zaminga <contact>
Classes: 2 packages by
Country: Switzerland Switzerland
Age: 39
All time rank: 5097 in Switzerland Switzerland
Week rank: 502 Up8 in Switzerland Switzerland Down

  Files folder image Files  
File Role Description
Files folder imageDB_ROOT (1 directory)
Accessible without login Plain text file common_queries.txt Data A few common queries needed by the HTML-Interface.
Accessible without login Plain text file index.php Example HTML-Test-Interface
Accessible without login Plain text file pDB.conf.php Data pDB's ConfigFile
Accessible without login Plain text file pDB.users.php Data pDB's UserConfig
Plain text file pDB_CORE.php Class pDB's CORE-Class
Plain text file pDB_SQL_PARSER.php Class pDB's SQL-Parser-Class
Plain text file pDB_TABLE_OBJ.php Class pDB's TableObject (´in-memory´-table or ResultSetObject)
Accessible without login Plain text file README Doc. PLEASE READ THIS

  Files folder image Files  /  DB_ROOT  
File Role Description
Files folder imagedb_00 (1 file)

  Files folder image Files  /  DB_ROOT  /  db_00  
File Role Description
  Accessible without login Plain text file .pdb Data pDB's DB-folder. (Where all databases'll reside.)

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,244All time:2,878
 This week:1This week:1,242Up
 User Ratings  
 
 All time
Utility:68%StarStarStarStar
Consistency:68%StarStarStarStar
Documentation:37%StarStar
Examples:68%StarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:1548