Login   Register  
PHP Classes
elePHPant
Icontem

dbApiCreate: Creates mysql database access libraries in 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 (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2003-03-07 (11 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,295 All time: 2,767 This week: 1,528Up
Version License Categories  
createapi 1.0GNU General Public Lice...Databases
Description Author  

As a developer who does a lot of backend work I got tired of constantly writing new access libraries for mysql tables - so i wrote this class which automates the process:

you tell it:
database name,
table name,
field names,
primary key,
database connection details

and it will then give you add/edit/delete/search/generic search
functions written in php as output - simply copy the output into a new file
(eg: access_lib.inc) and you have your access library for your new table.

It won't do complicated joins or anything - but for the basic functions which most tables require this works well.

Picture of Mark Williamson
Name: Mark Williamson <contact>
Classes: 5 packages by
Country: United Kingdom United Kingdom
Age: ???
All time rank: 21812 in United Kingdom United Kingdom
Week rank: 1078 Down48 in United Kingdom United Kingdom Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file changelog_access.inc Output Database Access Library created using dbApiCreate.inc
Plain text file dbApiCreate.inc Class The class (with commented example)
Accessible without login Plain text file sample_create_script.txt Output example of api created using class

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,295All time:2,767
 This week:0This week:1,528Up