<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I've been doing templates in the following 
way:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I post an html document (the template) at a url 
somewhere on the web.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>In Seaside there is a component class, a subclass 
of WATemplate, &nbsp;that knows the url of that particular html 
template.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>When the class initializes, it fetches the html 
template and parses it: </FONT><FONT face=Arial size=2>I have tags like 
"seaside-mainContent" and "seaside-title" and "seaside-messagebox" that get 
replaced by components.&nbsp; Where the mapping of tags-to-components occurs is 
arbitrary.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Anytime I change the template in Dreamweaver, I 
upload the template and I re-initialize my seaside template class to fetch the 
changes.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This system is simple and useful (I have used it on 
two different projects).&nbsp; I wonder if with some intelligent design 
modifications it could be a useful to others?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Derek Brans<BR>Nerd on a Wire<BR>Web design that's 
anything but square<BR><A 
href="http://www.nerdonawire.com">http://www.nerdonawire.com</A> <BR>mailto: <A 
href="mailto:brans@nerdonawire.com">brans@nerdonawire.com</A><BR>phone: 
604.874.6463<BR>toll-free: 1-877-NERD-ON-A-WIRE</FONT></DIV></BODY></HTML>