> Me too! I want to make an XML file then go on vacation! I thought
> I would start with the DB stuff. But I want to be able to make
> something like a site descriptor (site.xml) and generate a
> template for the whole site: actions, layouts, navs, screens,
> initial content, images ... I only have vague ideas now, but it would be
> great to have a library of site descriptoras that people can share/use in
> conjunction with the TDK to pump out an entire site in a few minutes by
> making some configuration changes.
Jason, this is EXACTLY the kind of thing that Leon and I have been thinking
about! We would like to give input on this, especially the XML schema that
will obviously be developed as we go along. We already use our own XML
schema to describe the content of pages, e.g. forms, reports, lists, etc.
(NOT the HTML kind!). Here is a snippet from one of our XML+WM screen
templates, so you can see what I mean:
<screen title="3dGenesis Administration - Customers">
#parse "menus/mainadmin.wm"
<heading1 name="customers">
<title>Administration: Customers</title>
<action text="add" tip="Add a new customer"
url='$link.setPage("customerform.wm")'/>
</heading1>
#foreach $customer in $customers
{
<heading2 name="customer">
<title>$customer.Name</title>
<action text="edit" tip="Edit this customer"
url='$link.setPage("customerform.wm").addQueryData("customerId",
$customer.CustomerId)'/>
<action text="delete" tip="Delete this customer"
url='$link.setPage("customerlist.wm").setAction("DeleteCustomer").addQueryDa
ta("customerId", $customer.CustomerId)'/>
<action text="users" tip="View the users of this customer"
url='$link.setPage("userlist.wm").addQueryData("customerId",
$customer.CustomerId)'/>
<action text="account" tip="View account of this customer"
url='$link.setPage("accountview.wm").addQueryData("customerId",
$customer.CustomerId)'/>
</heading2>
<report labelwidth="200">
<field>
<label>Physical address</label>
<value>$customer.PhysicalAddress</value>
</field>
.
.
.
Look Ma, no formatting #@$%!!! This we then transform into HTML using Xalan
XSLT, through our own Page, Layout and Screen classes. Adding new pages or
changing the global look of a form is now as easy as pie.
Lets keep talking about your (and our!) ideas...
Frank (and Leon)
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]