Posted by Myles (pp WilliamC) on Mon Oct 5 18:50:15 1998
| Distribution: | paneris@i-way.co.uk |
|---|
As an experiment in managing collaboratively developed software using
CVS and some sort of virtual paperwork, we should spec, develop and
maintain an enhanced version of the template/database utilities we
have done for iglu.I think there are three things it needs to support:
Templates) The ability to use the same file as a mockup and as an
online page with some logic behind it (or at least as near as
possible). Most of the logic is kept in the script but designer- or
customer-friendly placeholders and simple instructions can be put in
the page.Database integration) Knowing about the structure of the database, so
that you can use notations similar to $property.skiresort.skidomain,
or just $skidomain or whatever, in the script and on the page.Site structure) Going beyond what we have,
Site structure
--------------It would be nice to be turn the logic of the site structure inside
out, and turn it from being event-driven to being loop-driven.
Make CGI scripting look like GUI database scripting.
(Analogous to the difference between writing event-driven GUI programs
and writing with threads.)For instance, maybe it would look something like this:
page ChaletSearchResults {
property: Iglu.Property;