|
There
are actually three pieces:
-
Formedit.taf, which allows you to edit form definitions via a
browser.
-
Admin.taf which contains some login logic, the menu-builder and the hook into
the FormBuild object.
-
FormBuild.tcf that contains the code to build the forms and handle all database
interaction.
FormBuild.tcf depends solely on the database form definition to control
its behaviour. It doesn't generate a TCF, it just interprets the form definition
and builds HTML
FormBuild uses two databases to define a form:
FormDef contains information about the behaviour of the
form:
FormDefItem contained the definition of each
field:
Part
of Admin.taf is the menu generator. It uses a database to
define a menu structure:
Using
FormBuild is easy:
The
key here: No CODE! You can build a complete back-end interface in less than 5
minutes per table.
If you
want to do more advanced stuff you can wrap some logic around admin.taf where it
calls FormBuild.
I was
working too hard building all these damn forms all the time. Laziness
rules!
-
James
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of [Gauthier] Sent: Monday, April 29, 2002 9:51 PM To: Multiple recipients of list witango-talk Subject: Re: Witango-Talk: Added and changing SQL tables & building forms
|
Title: Message
