PHP Classes
elePHPant
Icontem

dbApiCreate: Creates mysql database access libraries in php

Recommend this page to a friend!
  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 (13 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,298 All time: 2,858 This week: 1,181Up
Version License Categories
createapi 1.0GNU General Publi...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

  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,298
This week:0
All time:2,858
This week:1,181Up