<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Templates in&#160;JavaScript</title>
	<atom:link href="http://particletree.com/notebook/templates-in-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://particletree.com/notebook/templates-in-javascript/</link>
	<description>Everyone needs a hug.</description>
	<pubDate>Wed, 19 Nov 2008 11:42:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: dan</title>
		<link>http://particletree.com/notebook/templates-in-javascript/#comment-20402</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Sat, 24 Mar 2007 17:51:25 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/templates-in-javascript/#comment-20402</guid>
		<description>&lt;p&gt;Another new addition is Mjt at http://mjtemplate.org/. This is a offshoot of the Freebase product&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Another new addition is Mjt at <a href="http://mjtemplate.org/" rel="nofollow">http://mjtemplate.org/</a>. This is a offshoot of the Freebase product</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Fowler</title>
		<link>http://particletree.com/notebook/templates-in-javascript/#comment-20300</link>
		<dc:creator>Mark Fowler</dc:creator>
		<pubDate>Mon, 12 Mar 2007 12:58:13 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/templates-in-javascript/#comment-20300</guid>
		<description>&lt;p&gt;We use JST as one of our standard libraries in Zimki for use both in the browser and for server-side templating.  Most of the example applications (including the zimki blog, our own company website, etc) use it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>We use JST as one of our standard libraries in Zimki for use both in the browser and for server-side templating.  Most of the example applications (including the zimki blog, our own company website, etc) use it.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Edwin Khodabakchian</title>
		<link>http://particletree.com/notebook/templates-in-javascript/#comment-20298</link>
		<dc:creator>Edwin Khodabakchian</dc:creator>
		<pubDate>Mon, 12 Mar 2007 07:41:07 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/templates-in-javascript/#comment-20298</guid>
		<description>&lt;p&gt;Ryan. Here is one more candidate to the list of Javascript template engines. It is called Miro:
http://www.devhd.com/labs.htm&lt;/p&gt;

&lt;p&gt;One of the benefits of Miro is that template files are pre-compiled into Javascript function. So the solition is very light weight: no library to include and minimized overhead at runtime.&lt;/p&gt;

&lt;p&gt;I would be interested in hearing how people think Miro compares with the 3 options you listed.&lt;/p&gt;

&lt;p&gt;Cheers,
Edwin&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ryan. Here is one more candidate to the list of Javascript template engines. It is called Miro:
<a href="http://www.devhd.com/labs.htm" rel="nofollow">http://www.devhd.com/labs.htm</a></p>

<p>One of the benefits of Miro is that template files are pre-compiled into Javascript function. So the solition is very light weight: no library to include and minimized overhead at runtime.</p>

<p>I would be interested in hearing how people think Miro compares with the 3 options you listed.</p>

<p>Cheers,
Edwin</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Bjoern Klose</title>
		<link>http://particletree.com/notebook/templates-in-javascript/#comment-20290</link>
		<dc:creator>Bjoern Klose</dc:creator>
		<pubDate>Fri, 09 Mar 2007 05:04:18 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/templates-in-javascript/#comment-20290</guid>
		<description>&lt;p&gt;I'm using Rails and the prototype Templating engine on a private project. Right now, I hardcoded the html into the js script, but I am going to put it into a seperate file, so that it can be edited on its own. There, I'm using the standard #{yourvar} syntax, so that it might even be reused for rendering a regular partial or action. I get my data as a string via AJAX (to keep things as short as possible), parse it into an array and then into a hash for template processing. Quite a lot of steps, but I'm not sure how best I am going to cache the datasets for later access.&lt;/p&gt;

&lt;p&gt;The movie xml thing looks nice, but as with most of the tough AJAX scripting and animation things, it makes my Firefox to jump to the roof with its CPU usage.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m using Rails and the prototype Templating engine on a private project. Right now, I hardcoded the html into the js script, but I am going to put it into a seperate file, so that it can be edited on its own. There, I&#8217;m using the standard #{yourvar} syntax, so that it might even be reused for rendering a regular partial or action. I get my data as a string via AJAX (to keep things as short as possible), parse it into an array and then into a hash for template processing. Quite a lot of steps, but I&#8217;m not sure how best I am going to cache the datasets for later access.</p>

<p>The movie xml thing looks nice, but as with most of the tough AJAX scripting and animation things, it makes my Firefox to jump to the roof with its CPU usage.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Mikael Bergkvist</title>
		<link>http://particletree.com/notebook/templates-in-javascript/#comment-20256</link>
		<dc:creator>Mikael Bergkvist</dc:creator>
		<pubDate>Mon, 05 Mar 2007 18:30:34 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/templates-in-javascript/#comment-20256</guid>
		<description>&lt;p&gt;Hi, there's this engine that everyone seems to be missing. :-)
http://www.naltabyte.se/movie/&lt;/p&gt;

&lt;p&gt;And the xml is here..
http://www.naltabyte.se/movie/movie.xml&lt;/p&gt;

&lt;p&gt;Note that it's kinda fast.. up to 8x faster than the ususal javascript execution speed.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi, there&#8217;s this engine that everyone seems to be missing. :-)
<a href="http://www.naltabyte.se/movie/" rel="nofollow">http://www.naltabyte.se/movie/</a></p>

<p>And the xml is here..
<a href="http://www.naltabyte.se/movie/movie.xml" rel="nofollow">http://www.naltabyte.se/movie/movie.xml</a></p>

<p>Note that it&#8217;s kinda fast.. up to 8x faster than the ususal javascript execution speed.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kin Lane</title>
		<link>http://particletree.com/notebook/templates-in-javascript/#comment-20227</link>
		<dc:creator>Kin Lane</dc:creator>
		<pubDate>Sun, 04 Mar 2007 08:45:53 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/templates-in-javascript/#comment-20227</guid>
		<description>&lt;p&gt;JST looks like it has a lot of potential.  I looks easy to implement.&lt;/p&gt;

&lt;p&gt;Thanks for the great info!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>JST looks like it has a lot of potential.  I looks easy to implement.</p>

<p>Thanks for the great info!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: wioota</title>
		<link>http://particletree.com/notebook/templates-in-javascript/#comment-20226</link>
		<dc:creator>wioota</dc:creator>
		<pubDate>Sun, 04 Mar 2007 08:20:45 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/templates-in-javascript/#comment-20226</guid>
		<description>&lt;p&gt;The main issue I have is that template tokens for these templating libraries are generally incompatible with server-side scripting tokens. Do we really want the designers or developers needing to know two types tokenisation. It would help if there was a standardised format of tokenising or more flexibility in choosing token scheme. I'd personally prefer one which used tags for tokens so they could be viewable in a browser even un-tokenised...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The main issue I have is that template tokens for these templating libraries are generally incompatible with server-side scripting tokens. Do we really want the designers or developers needing to know two types tokenisation. It would help if there was a standardised format of tokenising or more flexibility in choosing token scheme. I&#8217;d personally prefer one which used tags for tokens so they could be viewable in a browser even un-tokenised&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Campbell</title>
		<link>http://particletree.com/notebook/templates-in-javascript/#comment-20212</link>
		<dc:creator>Ryan Campbell</dc:creator>
		<pubDate>Thu, 01 Mar 2007 13:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/templates-in-javascript/#comment-20212</guid>
		<description>&lt;p&gt;I guess the main reason would be for separtion of markup and JavaScript. If you need to edit the markup, you don't even have to look through a JavaScript file and all of those concatenated strings.&lt;/p&gt;

&lt;p&gt;But on your site, your approach makes sense. You're the only one looking at your code, so you don't have to separate it out for a designer. I guess I'm more interested on your thoughts on that approach vs the approach that you took.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I guess the main reason would be for separtion of markup and JavaScript. If you need to edit the markup, you don&#8217;t even have to look through a JavaScript file and all of those concatenated strings.</p>

<p>But on your site, your approach makes sense. You&#8217;re the only one looking at your code, so you don&#8217;t have to separate it out for a designer. I guess I&#8217;m more interested on your thoughts on that approach vs the approach that you took.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Tobie Langel</title>
		<link>http://particletree.com/notebook/templates-in-javascript/#comment-20211</link>
		<dc:creator>Tobie Langel</dc:creator>
		<pubDate>Thu, 01 Mar 2007 06:43:28 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/templates-in-javascript/#comment-20211</guid>
		<description>&lt;blockquote&gt;Have you considered placing the template in the markup and then in the JS setting &lt;code&gt;Magnolia.display = $(â€˜magnolia').innerHTML;&lt;/code&gt;&lt;/blockquote&gt;

&lt;p&gt;Well, that would mean showing some pretty strange content to legacy browsers... But I suppose it would be possible to overcome this, maybe by hiding the content through inline style and showing it with JS.&lt;/p&gt;

&lt;p&gt;I'm not sure about the benefits though. What's your idea behind that question?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<blockquote>Have you considered placing the template in the markup and then in the JS setting <code>Magnolia.display = $(â€˜magnolia').innerHTML;</code></blockquote>

<p>Well, that would mean showing some pretty strange content to legacy browsers&#8230; But I suppose it would be possible to overcome this, maybe by hiding the content through inline style and showing it with JS.</p>

<p>I&#8217;m not sure about the benefits though. What&#8217;s your idea behind that question?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: kourge</title>
		<link>http://particletree.com/notebook/templates-in-javascript/#comment-20210</link>
		<dc:creator>kourge</dc:creator>
		<pubDate>Thu, 01 Mar 2007 00:25:24 +0000</pubDate>
		<guid isPermaLink="false">http://particletree.com/notebook/templates-in-javascript/#comment-20210</guid>
		<description>&lt;p&gt;Prototype's &lt;code&gt;Template&lt;/code&gt; object was part of the 1.5 release.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Prototype&#8217;s <code>Template</code> object was part of the 1.5 release.</p>]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.546 seconds -->
