Login   Register  
PHP Classes
elePHPant
Icontem

Base DB

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Jonathan Gotti
Name: Jonathan Gotti is available for providing paid consulting. Contact Jonathan Gotti .
Packages: 13 Browse all classes by Jonathan Gotti Browse all classes by
Country: France France - PHP jobs in France
Age: 36
All time rank: 684 in France France
Week rank: 90 Down5 in France France Down
Innovation award
Innovation award
Nominee: 4x


  Detailed description   Download .zip .tar.gz  
This is a base class for implementing an SQL database access abstraction.

It provides an easy way to deal with databases. it will escape your values by using smart question marks parameters in conditions strings, return most of result in php array instead of resource result set (but you still can access the resource if you really want it) and will assist you in most common databases operation such as establishing database connections, opening a database, quoting a string value, executing a query, retrieving query results as an array, listing the database tables, get the keys of a table, optimizing a table, retrieving the last error that occurred, etc..
It also permit to work on multiple databases and to get unique instances of database connection in a simple way "db::getInstance()"

It also include a class dbProfiler to help you profiling your queries.

  Classes of Jonathan Gotti  >  Base DB  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Base DB
Base name: base_db
Description: Base class for SQL database access abstraction
Version: 57
PHP version: 5.0
License: GNU Lesser General Public License (LGPL)
All time users: 2174 users
All time rank: 1605
Week users: 0 users
Week rank: 2046 Equal
 
  Groups   Rate classes User ratings   Dependents  
  Applications   Related links   Files Files  

  Groups  
Group folder image Databases Database management, accessing and searching View top rated classes


  User ratings  
There are not enough user ratings to display for this class.

  Packages that need this class  
Class Dependency Why it is needed
class mysql
Required
base abstraction class
class sqlite
Required
base abstraction class

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
base DB TRAC site wiki + svn repository for class-db

  Files folder image Files  
File Role Description
Accessible without login Plain text file class-db.php Class base abstraction class
Plain text file class-sampledb.php Example example for extended base_db
HTML file classdb.html Doc. Documentation (by Doxygen)
HTML file classsampledb.html Doc. Documentation of an extended db class
Plain text file README Doc. readme file
Plain text file slicesample.php Example easy pagination sample

Download all files: base_db.tar.gz base_db.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.