Home
Unlimited sites, servers No source distribution Commercial use allowed Can modify source Read full license | More Info
Unlimited projects Source and binary distribution Commercial use allowed Distribute modifications Read full license | More Info
Starting from $ 29.99
Scaffold is a powerful standalone PHP class that dynamically creates CRUD functionality for a database table. It is designed to dramatically decrease the time it takes to get your database-driven application up and running.
When I first saw the Ruby on Rails "weblog in 15 minutes" screencast, I wished that there was an easy way to accomplish the same thing in PHP. While there are plenty of PHP frameworks with this functionality, I wanted something standalone that I could easily integrate into my projects. This class is what I came up with.
The class has many features out of the box, but it has been built in such a way that it can be customized to suit your needs. Additionally, it outputs standard HTML tables which can be easily styled with CSS to fit into your website or application.
I've setup an example of a simple store backend to show its functionality. Here are two examples of sites that have been built on top of a backend powered by this class.
The following code shows the most basic implementation of the class.
mysql_connect('localhost', 'username', 'password');
mysql_select_db('database');
require_once 'Scaffold.php';
$scaffold = new Scaffold('my_table');
$scaffold->build();
$scaffold->output();
To view all of the available class methods take a look at the API reference.
I've setup an example of a simple store backend to show its functionality. Here are two examples of sites that have been built on top of a backend powered by this class.
2010.06.26 - v1.0
2010.09.02 - v1.1
2011.01.27 - v1.2
Starting from $ 29.99
Questions & Comments
Leave a comment
Log-in now or register for a free account.