Hi ,<br>
&nbsp;&nbsp;&nbsp;&nbsp; Thanking u all...<br><br><div><span class="gmail_quote">On 10/31/05, <b class="gmail_sendername">Philip Kilner</b> &lt;<a href="mailto:phil@xfr.co.uk">phil@xfr.co.uk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Ajit,<br><br>ajit mote wrote:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; please clear me &quot; can we implement busines logic in ZPT?&quot;<br>&gt;<br><br>I would say &quot;no&quot; - you /could/ &quot;sort of&quot; do so, up to a point (by using
<br>Python expressions and possibly calling Python scripts from the ZPT),<br>but it would be a mistake.<br><br>My starting point for TTW development is always a folder with a<br>Script(Python) called &quot;index_html&quot;, and a template called &quot;index_pt&quot;.
<br>What the template does is wholly controlled by the logic of the script -<br>the last thing the script does is call the template.<br><br>My background was in &quot;old style&quot; ASP before I discovered Zope, and it<br>
took me a while to stop thinking in terms of &quot;template calling script&quot;<br>and think instead of &quot;script calling template&quot;. Now that I have that<br>mindset, I find the combination of ZPT for presentation and Python for
<br>logic very natural.<br><br><br>--<br><br>Regards,<br><br>PhilK<br><br>Email: <a href="mailto:phil@xfr.co.uk">phil@xfr.co.uk</a><br>PGP Public key: <a href="http://www.xfr.co.uk">http://www.xfr.co.uk</a><br>Voicemail &amp; Facsimile: 07092 070518
<br><br>&quot;You'll find that one part's sweet and one part's tart:<br>say where the sweetness and the sourness start.&quot;<br>- Tony Harrison<br></blockquote></div><br>