MADAL allows one to quickly generate ajax enabled web-pages.
Downloading: PHP Classes has only example and main classes, for the full working code, please download from the Google code project link: http://madal.googlecode.com/files/madal.zip
Here's how simple using MADAL is:
This will give you an input field (text, checkbox, textarea, or datepicker) that updates the database FieldName of the row represented by $table_name onblur (see attached images). Pretty simple, right?
This will make an ajax call to the MADAL web service. Much simpler than writing a custom update page for every field of the database, and custom classes for every table.
* PHP Model - generates a set of PHP classes that mirror your database format
* MADAL Web Service - generates an easy to use web-service for accessing your database (includes instructions for implementing security)
* Easy ajax - simply print the input field and you've got an ajax enabled field
* Field validation - input fields are validated for their type
* jQuery ui themes - MADAL includes the whole set of default jQuery ui themes for easy styling of your pages. You can also add more using the jQuery ui theme roller.
* Optimistic concurrency - if more than one user is accessing a piece of data, and one of the users updates a field, then the other user updates the same field (but has out of date information), the second user will receive a notification that the field is in use, and the page will auto-refresh thus retrieving the most up-to-date data.