Hi Florian<div><br></div><div>I use a model based generation approach (from enterprise architect) however even archgenxml has templates for large amounts of  boiler plate under the hood.</div><div><br></div><div>Have you actually looked at the src of archgenxml, if you did you will notices it uses dtml for templating the code output ;-)</div>
<div><br></div><div>T</div><div><br><div class="gmail_quote">On Sun, Sep 5, 2010 at 9:11 AM, Florian Friesdorf <span dir="ltr">&lt;<a href="mailto:flo@chaoflow.net">flo@chaoflow.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Sun, Sep 05, 2010 at 08:49:39AM +0800, Tim Hoffman wrote:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt; Please note that DTML is a dead (and horrid) technology.<br>
&gt; &gt;<br>
&gt; &gt; Martin<br>
&gt; &gt;<br>
&gt;<br>
&gt; But zpt is horrible for doing non html/xml based things ;-), What do you<br>
&gt; think is good alternative in the zope eco system now<br>
&gt; for templating other types of things (sql, python ...) ?<br>
<br>
</div></div>I would use a templating system for things that are easy to template<br>
(html/xml) and where more complex logic can be offloaded to a real<br>
programming language like python (as zpt does).<br>
<br>
Using a templating system for a programming language is I think a<br>
different programming paradigm than zope&#39;s component architecture and<br>
contrary to code reusage. With code generators like ArchGenXML or agx<br>
you are able to create models for your software on a more abstract level<br>
than based on templating, so I would not use templating but model-based<br>
code generation instead.<br>
<br>
<br>
florian<br>
<font color="#888888"><br>
--<br>
Florian Friesdorf &lt;<a href="mailto:flo@chaoflow.net">flo@chaoflow.net</a>&gt;<br>
  GPG FPR: EA5C F2B4 FBBB BA65 3DCD  E8ED 82A1 6522 4A1F 4367<br>
Jabber/XMPP: <a href="mailto:flo@chaoflow.net">flo@chaoflow.net</a><br>
IRC: chaoflow on freenode,ircnet,blafasel,OFTC<br>
</font></blockquote></div><br></div>