You are attempting a RAD setup for forms, is there no functionality yet
for that ? Im keen to get an intergration between models and forms for
RAD stuff.
Gunter Sammet wrote:
Hello all:
I am in the early stages of writing some classes that do some rapid
CRUD application development. I'd be interested in comments about my
approach and pointers on how to improve. Here the link to the code:
http://www.paste2.org/p/5566 (test)
-->This is the class that will define the functionality of the CRUD
pages. E.g. it will define all the fields in the table, the type,
validation, etc.
http://www.paste2.org/p/5565 (html generator)
-->This class constructs the different view pages and does the form
processing
http://www.paste2.org/p/5567 (Form field code inherits from Abstract)
-->Implementation of a text field to display new, edit and listing
views. Once the basic structure is working, form fields will be added
as needed. Also child objects, etc.
http://www.paste2.org/p/5568 (Abstract for form field)
-->Abstract class for shared code in all form fields
http://www.paste2.org/p/5569 <http://www.paste2.org/p/5569> (Interface
for form field)
-->Interface for all form fields
The code can't be viewed live yet. Plan to do that ASAP as well as
extracting the code necessary to run it in your own app. Please
contact me at gunter dot sammet @t gmail . com if you are interested.
Plan to release this under the same licence ZF is released once the
code is usable.
Thanks,
Gunter