3 ms·
Yes you can... Sort of. I use php-form-builder-class (http://code.google.com/p/php-form-builder-class/ http://code.google.com/p/php-form-builder-class/) which
by bartl 16y ago
Yes you can... Sort of.
I use php-form-builder-class (http://code.google.com/p/php-form-builder-class/ http://code.google.com/p/php-form-builder-class/) which is a beautiful library to build and validate web forms; and a port of the Perl module SQL::Abstract (http://search.cpan.org/perldoc?SQL::Abstract http://search.cpan.org/perldoc?SQL::Abstract - roughly the most used library to build SQL from data structures in the Perl world) to PHP (http://coderepos.org/share/browser/lang/php/SQL_Abstract/trunk/lib/SQL/Abstract.class.php http://coderepos.org/share/browser/lang/php/SQL_Abstract/tru... - docs in Japanese, but if you know the Perl version it's pretty straightforward), and that, when complemented with some glue code in a small library of my own, is about all I need to build a CRUD in webforms, in no more than a few dozen lines.
Is this a framework? It does what a framework does, but it's a set of libraries, not a framework. You still lay out the basic program structure.
Is this all you need to build a web app? Well for most applications, in my experience, it sure goes a long way. The rest that you have to do is pretty straightforward.