PHP Classes
elePHPant
Icontem

dm.DB: Generic database access wrapper

Recommend this page to a friend!
  Info   View files View files (16)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2006-10-31 (9 years ago) RSS 2.0 feedStarStarStar 50%Total: 2,157 All time: 1,760 This week: 879Up
Version License PHP version Categories
dm_db 1.0.0Custom (specified...4.0Databases
Description Author

This a major release/revision of dm.DB. It contains the first port of the interface to a database other than MySQL, PostgreSQL. Support is provided for version 8.0 and 8.1 of PostgreSQL. A number of additional modifications have been made, including (preliminary) support for multiple SQL results sets. Full support will require a redesign of the dm.DB interface and will be incompatable with the current interface.

This is a redesign of the dm.DB class to allow it to be "easily" (the term is used loosely) ported to other databases. A compatibility class is provided so that applications that use the MySQL specific version of this package continue to work unchanged.

I am actively looking for folks interested in porting this to other databases and I will, as my development needs drive me, do so myself, but here's an opportunity for you to add value to a great package. Assuming that I get some additional database support in place, I'll look into modifying SQLData to provide support for things other than MySQL.

Support is currently available for :

- MySQL
- PostgreSQL 8.0
- PostgreSQL 8.1

This class is officially compatible with PHP 5.

Picture of Richard Munroe
Name: Richard Munroe <contact>
Classes: 22 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file class.abstract.DB.php Class Abstract class interface for generic SQL databases
Plain text file class.abstract.independent.DB.php Class All abstract interfaces.
Plain text file class.DB.php Class MySQL Database Abstraction Layer
Plain text file class.factory.DB.php Class Factory to produce database access objects
Plain text file class.MySQL.DB.php Class MySQL specialization of generic SQL database support
Plain text file class.PostgreSQL80.DB.php Class Specialization for PostgreSQL 8.0 Support
Plain text file class.PostgreSQL81.DB.php Class Specialization for PostgreSQL 8.1 Support
Accessible without login Plain text file DB.MySQL.sql Data Create MySQL test database
Accessible without login Plain text file DB.PostgreSQL81.sql Data Create PostgreSQL 8.x test database
Accessible without login Plain text file example.MySQL.php Example Example for MySQL
Accessible without login Plain text file example.PostgreSQL80.php Example Example for PostgreSQL 8.0
Accessible without login Plain text file example.PostgreSQL81.php Example Example for PostgreSQL 8.1
Accessible without login Plain text file example1.MySQL.php Example Example for MySQL
Accessible without login Plain text file example1.PostgreSQL81.php Example Example for PostgreSQL
Accessible without login Plain text file license.txt Lic. Modified NetBSD license used here
Accessible without login Plain text file makedoc.sh Data Generate documentation using phpdoc

 Version Control Reuses Unique User Downloads Download Rankings  
 0%3
Total:2,157
This week:0
All time:1,760
This week:879Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:58%StarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2005