PHP Classes

dbApiCreate: Creates mysql database access libraries in php

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,301 All time: 2,969 This week: 488Up
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

 

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,301
This week:0
All time:2,969
This week:488Up