I am working on a application to build these applications. I have a DHTML page which lets you model your application. It pulls table and index definitions from a MySQL database, and then it lets you set up validation rules for each field, set up custom SQL queries (In addition to a number of automatically generated ones), set field labels, and change other things about the data model.
So far I can auto generate
* DHTML Forms
* PHP classes to access a mysql database
* A wrapper to serve the PHP classes up as SOAP.
Still to do
* Data validation
* Unit test frameworks
* Installer scripts for a generated application
For more information see my wiki
I plan to have the code on source forge (project “xulbuilder”) today or tomorrow