Thanks for everyone for the comments and the mails regarding my previous entry. In the last two weeks I came to the conclusion that what I look for is more like an IDE than a run-time form generator engine. I have very big plans in my mind about a new IDE that speeds up PHP development to the max--it's a web app designer desktop application that generates whole websites/portals in PHP. And yes, it
can be written to be flexible enough(*). It should be able to generate "plain" PHP code or code using PEAR packages and/or other external libraries (ADODB, Smarty...).
The process could look like this:
- database structure creation (+ additional info like field labels, validation etc)
- form generation from the database tables (add/remove fields, modify field labels/validation, add upload fields etc)
- template creation (skeleton from db tables for lists, forms; they can be modified in any ways)
- sitemap definiton (defining "actions" for web requests)
- fill in the actions with code: this should work using the drag & drop technique, pre-written code snippets like "get record with id #x from table #y", "load template" or "send mail to $address" (which generates a call to the mail() function or puts the mail to the
Mail_Queue, depending on the project configuration)
- code generation
The main idea behind this is to get an IDE where you deal with the webapp itself and not the code and/or the libraries you use. You define what you want to achieve, decide on which libraries to use and the system should generate everything for you. It's a
must to avoid any possible limitations.
Did anyone see any project like this on the web? Let me know! I'm strongly thinking about starting such a project by myself. Anyone willing to invest in me? ;-)
--
*enough: for developing small-to-middle sized web projects.