I believe we have several efforts already in that direction, including the 'cms' package, and Jeff's photo book sutff for Sloan. Probably others.
I'd like to catalog the various efforts, and try to get a blessed solution that effectively sets the future direction for this into 5.1.
In order to learn a bit more about the problem space, I've been experimenting with some automated form generation myself.
You can see the code here:
http://cvs.openacs.org/cvs/openacs-4/contrib/packages/simulation/www/object-edit.tcl
and play with it by installing contrib/packages/simulation (requires contrib/packages/bcms).
My approach only works for CR items. It tries to use the attribute definitions and the cr_type_relations info, plus some additional metadata currently defined in the Tcl layer, which we should probably move into the DB layer when it's solidified.
How does this look compared to what other people have been doing? What can we do to merge the efforts?
What are your (qualified) thoughts on how this should be achieved?
/Lars
Request notifications