<?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"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Building the ideal web application template engine</title> <atom:link href="http://www.javarants.com/2010/06/16/building-the-ideal-web-application-template-engine/feed/" rel="self" type="application/rss+xml" /><link>http://www.javarants.com/2010/06/16/building-the-ideal-web-application-template-engine/</link> <description>Rants about Java and other internet technologies by Sam Pullara</description> <lastBuildDate>Wed, 18 Jan 2012 14:14:00 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>By: Anonymous</title><link>http://www.javarants.com/2010/06/16/building-the-ideal-web-application-template-engine/comment-page-1/#comment-1588</link> <dc:creator>Anonymous</dc:creator> <pubDate>Fri, 13 Jan 2012 02:19:00 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=1327#comment-1588</guid> <description>Shameless plug to my own library: http://code.google.com/p/jatl/ Which is template-less in perhaps a different way then you mean :)</description> <content:encoded><![CDATA[<p>Shameless plug to my own library: http://code.google.com/p/jatl/ Which is template-less in perhaps a different way then you mean <img
src='http://www.javarants.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: New features and extensions in Mustache.java &#124; java rants</title><link>http://www.javarants.com/2010/06/16/building-the-ideal-web-application-template-engine/comment-page-1/#comment-1551</link> <dc:creator>New features and extensions in Mustache.java &#124; java rants</dc:creator> <pubDate>Sun, 09 Oct 2011 23:30:48 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=1327#comment-1551</guid> <description>[...] extensions in Mustache.java Posted on October 9, 2011 by Sam PullaraAlmost a year and a half ago I talked about my implementation of mustache, which I call mustache.java. Since then, we used it to develop [...]</description> <content:encoded><![CDATA[<p>[...] extensions in Mustache.java Posted on October 9, 2011 by Sam PullaraAlmost a year and a half ago I talked about my implementation of mustache, which I call mustache.java. Since then, we used it to develop [...]</p> ]]></content:encoded> </item> <item><title>By: Jawher Moussa</title><link>http://www.javarants.com/2010/06/16/building-the-ideal-web-application-template-engine/comment-page-1/#comment-1459</link> <dc:creator>Jawher Moussa</dc:creator> <pubDate>Sat, 05 Mar 2011 21:13:00 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=1327#comment-1459</guid> <description>Hi there,
I&#039;m a bit late to the party I know.
I too am very interested in templating in general, and wasn&#039;t very happy with the existing solutions out there. I found Mustache to be a bit better than the rest. I&#039;ve layed out my ()detailed opinions in a blog post over here: http://jawher.wordpress.com/2011/01/06/on-templating-and-a-shameless-plug-of-moulder/
I&#039;ve also went the extra mile and created a templating library that isn&#039;t just JSP with nicer tag names which I called Moulder and made it available under the MIT license in Github: https://github.com/jawher/moulder-j
Here&#039;s another post that shows Moulder in action: http://jawher.wordpress.com/2011/03/03/moulder-in-action/
Sorry for the multitude of links: I&#039;m not just trying to spam your blog, but I&#039;d be very interested in what you think about Moulder&#039;s approach.
Cheers !</description> <content:encoded><![CDATA[<p>Hi there,</p><p>I&#8217;m a bit late to the party I know.</p><p>I too am very interested in templating in general, and wasn&#8217;t very happy with the existing solutions out there. I found Mustache to be a bit better than the rest. I&#8217;ve layed out my ()detailed opinions in a blog post over here: <a
href="http://jawher.wordpress.com/2011/01/06/on-templating-and-a-shameless-plug-of-moulder/" rel="nofollow">http://jawher.wordpress.com/2011/01/06/on-templating-and-a-shameless-plug-of-moulder/</a></p><p>I&#8217;ve also went the extra mile and created a templating library that isn&#8217;t just JSP with nicer tag names which I called Moulder and made it available under the MIT license in Github: <a
href="https://github.com/jawher/moulder-j" rel="nofollow">https://github.com/jawher/moulder-j</a></p><p>Here&#8217;s another post that shows Moulder in action: <a
href="http://jawher.wordpress.com/2011/03/03/moulder-in-action/" rel="nofollow">http://jawher.wordpress.com/2011/03/03/moulder-in-action/</a></p><p>Sorry for the multitude of links: I&#8217;m not just trying to spam your blog, but I&#8217;d be very interested in what you think about Moulder&#8217;s approach.</p><p>Cheers !</p> ]]></content:encoded> </item> <item><title>By: Peter</title><link>http://www.javarants.com/2010/06/16/building-the-ideal-web-application-template-engine/comment-page-1/#comment-1302</link> <dc:creator>Peter</dc:creator> <pubDate>Sun, 10 Oct 2010 15:30:00 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=1327#comment-1302</guid> <description>The problem with templating is that a new developer is required to learn it and it is another lib which could have bugs. Another big problem is the &#039;partial&#039; thing which was really really annoying for me the last time I did RoR. So, I think &quot;Composable components, not monolithic pages&quot; is very hard to achieve with them ...
There are 3 template-less solutions in the Java world I am aware of:
Apache wicket where you code with Java and html,
vaadin (via gwt) where you code in pure Java,
and an agpl project itsnat (through its license I don&#039;t know much of it)</description> <content:encoded><![CDATA[<p>The problem with templating is that a new developer is required to learn it and it is another lib which could have bugs. Another big problem is the &#8216;partial&#8217; thing which was really really annoying for me the last time I did RoR. So, I think &#8220;Composable components, not monolithic pages&#8221; is very hard to achieve with them &#8230;</p><p>There are 3 template-less solutions in the Java world I am aware of:<br
/> Apache wicket where you code with Java and html,</p><p>vaadin (via gwt) where you code in pure Java,</p><p>and an agpl project itsnat (through its license I don&#8217;t know much of it)</p> ]]></content:encoded> </item> <item><title>By: Ggg</title><link>http://www.javarants.com/2010/06/16/building-the-ideal-web-application-template-engine/comment-page-1/#comment-1292</link> <dc:creator>Ggg</dc:creator> <pubDate>Mon, 30 Aug 2010 09:40:00 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=1327#comment-1292</guid> <description>come on guys!nwe need logic everywhere... how could we chose less-logic stuff.... are we moron?</description> <content:encoded><![CDATA[<p>come on guys!nwe need logic everywhere&#8230; how could we chose less-logic stuff&#8230;. are we moron?</p> ]]></content:encoded> </item> <item><title>By: Koalillo</title><link>http://www.javarants.com/2010/06/16/building-the-ideal-web-application-template-engine/comment-page-1/#comment-1238</link> <dc:creator>Koalillo</dc:creator> <pubDate>Fri, 18 Jun 2010 03:32:56 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=1327#comment-1238</guid> <description>Cool! That&#039;s a very important feature for me!</description> <content:encoded><![CDATA[<p>Cool! That&#39;s a very important feature for me!</p> ]]></content:encoded> </item> <item><title>By: spullara</title><link>http://www.javarants.com/2010/06/16/building-the-ideal-web-application-template-engine/comment-page-1/#comment-1237</link> <dc:creator>spullara</dc:creator> <pubDate>Fri, 18 Jun 2010 03:28:19 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=1327#comment-1237</guid> <description>Just realized you can already do this in mustache.java. You can pass in your own superclass for generated Mustache classes and override the partial() resolution method.</description> <content:encoded><![CDATA[<p>Just realized you can already do this in mustache.java. You can pass in your own superclass for generated Mustache classes and override the partial() resolution method.</p> ]]></content:encoded> </item> <item><title>By: spullara</title><link>http://www.javarants.com/2010/06/16/building-the-ideal-web-application-template-engine/comment-page-1/#comment-1236</link> <dc:creator>spullara</dc:creator> <pubDate>Fri, 18 Jun 2010 02:54:14 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=1327#comment-1236</guid> <description>1. That seems very reasonable. I was actually planning on doing something like this anyway, thanks for the reminder.&lt;br&gt;2. Yeah, jsp tag-like behavior should work but the implementation is separated out from the template.&lt;br&gt;&lt;br&gt;BTW, it is an open source project and I welcome changes like #1.</description> <content:encoded><![CDATA[<p>1. That seems very reasonable. I was actually planning on doing something like this anyway, thanks for the reminder.<br
/>2. Yeah, jsp tag-like behavior should work but the implementation is separated out from the template.</p><p>BTW, it is an open source project and I welcome changes like #1.</p> ]]></content:encoded> </item> <item><title>By: Sproket</title><link>http://www.javarants.com/2010/06/16/building-the-ideal-web-application-template-engine/comment-page-1/#comment-1235</link> <dc:creator>Sproket</dc:creator> <pubDate>Fri, 18 Jun 2010 02:53:39 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=1327#comment-1235</guid> <description>If you want true logic-less then look at:&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://jolene.sourceforge.net&quot; rel=&quot;nofollow&quot;&gt;http://jolene.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;I don&#039;t really bother maintaining it since it works for 99% of my cases.  Jolene just reads HTML and stores the DOM as simple JavaScript styled object.  It&#039;s a true separation of concerns.</description> <content:encoded><![CDATA[<p>If you want true logic-less then look at:</p><p><a
href="http://jolene.sourceforge.net" rel="nofollow">http://jolene.sourceforge.net</a></p><p>I don&#39;t really bother maintaining it since it works for 99% of my cases.  Jolene just reads HTML and stores the DOM as simple JavaScript styled object.  It&#39;s a true separation of concerns.</p> ]]></content:encoded> </item> <item><title>By: Koalillo</title><link>http://www.javarants.com/2010/06/16/building-the-ideal-web-application-template-engine/comment-page-1/#comment-1234</link> <dc:creator>Koalillo</dc:creator> <pubDate>Fri, 18 Jun 2010 02:46:11 +0000</pubDate> <guid
isPermaLink="false">http://www.javarants.com/?p=1327#comment-1234</guid> <description>1. I&#039;d say provide a template lookup interface, handle them just like you do know (i.e. public interface TemplateLookupEngine { public InputStream getTemplate(String name); } or something like that).&lt;br&gt;&lt;br&gt;2. OK, after re-reading partials I kinda get the idea...&lt;br&gt;&lt;br&gt;The thing about most template engines I find is that they are either completely tied to the filesystem or that their mechanism for not being tied to the fs is an afterthought. I want my CMS to store templates in the same backend where I store content, with the same properties (i.e. JCR with versioning and branching, etc.).&lt;br&gt;&lt;br&gt;The other thing is that template inclusion is one of the most important features in a template engine...</description> <content:encoded><![CDATA[<p>1. I&#39;d say provide a template lookup interface, handle them just like you do know (i.e. public interface TemplateLookupEngine { public InputStream getTemplate(String name); } or something like that).</p><p>2. OK, after re-reading partials I kinda get the idea&#8230;</p><p>The thing about most template engines I find is that they are either completely tied to the filesystem or that their mechanism for not being tied to the fs is an afterthought. I want my CMS to store templates in the same backend where I store content, with the same properties (i.e. JCR with versioning and branching, etc.).</p><p>The other thing is that template inclusion is one of the most important features in a template engine&#8230;</p> ]]></content:encoded> </item> </channel> </rss>
