<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ediaz &#124; iamedu &#187; ZPT</title>
	<atom:link href="http://ediaz.me/tag/zpt/feed/" rel="self" type="application/rss+xml" />
	<link>http://ediaz.me</link>
	<description>Technology, Music, Development, Science</description>
	<lastBuildDate>Thu, 03 Jun 2010 23:28:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Dragon Templates</title>
		<link>http://ediaz.me/2010/02/dragon-templates/</link>
		<comments>http://ediaz.me/2010/02/dragon-templates/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 18:12:13 +0000</pubDate>
		<dc:creator>iamedu</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[ZPT]]></category>

		<guid isPermaLink="false">http://ediaz.me/?p=172</guid>
		<description><![CDATA[I am determined to use a lot of things from the zope world in python&#8230; why you ask??
Because I want to.. isn&#8217;t that enough?
I have the attribute syntax working, I added a few things besides the string, python and path namespaces things like this are possible:

?View Code XML&#60;div tal:define=&#34;attr1 js:object.method(arg);;;
      [...]]]></description>
			<content:encoded><![CDATA[<p>I am determined to use a lot of things from the zope world in python&#8230; why you ask??</p>
<p>Because I want to.. isn&#8217;t that enough?</p>
<p>I have the attribute syntax working, I added a few things besides the string, python and path namespaces things like this are possible:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p172code2'); return false;">View Code</a> XML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1722"><td class="code" id="p172code2"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">tal:define</span>=<span style="color: #ff0000;">&quot;attr1 js:object.method(arg);;;</span>
<span style="color: #009900;">                 attr2 groovy:5;;;</span>
<span style="color: #009900;">                 attr3 python:object2.method(arg2)&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></td></tr></table></div>

<p>The groovy, js and python namespaces are the names of python ScriptingEngine, that means you can use freemarker, javascript, groovy, python, ruby,  PHP, or any engine that supports the JSR 223.</p>
<p>I hope to finish it in a couple of weeks (I only have time to work during weekends)</p>
<p>If you want the check the code, it is here:  <a href="http://github.com/iamedu/Dragon-Templates">http://github.com/iamedu/Dragon-Templates</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ediaz.me/2010/02/dragon-templates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
