<?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: Why Use XSLT in Server Side Web Frameworks For Output Generation?</title>
	<atom:link href="http://www.onenaught.com/posts/8/xslt-in-server-side-web-frameworks/feed" rel="self" type="application/rss+xml" />
	<link>http://www.onenaught.com/posts/8/xslt-in-server-side-web-frameworks</link>
	<description>A blog on web standards, accessibility, css, javascript, xslt, and more</description>
	<lastBuildDate>Mon, 09 Jan 2012 03:47:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Anup Shah</title>
		<link>http://www.onenaught.com/posts/8/xslt-in-server-side-web-frameworks/comment-page-1#comment-14899</link>
		<dc:creator>Anup Shah</dc:creator>
		<pubDate>Thu, 14 Jul 2011 23:15:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/posts/8/xslt-in-server-wide-web-frameworks#comment-14899</guid>
		<description>Hi Marko. Thanks for the comments. I wrote that post quite some time ago now, and while I still do like using XSLT, there are times where it has not been as useful (e.g. team dynamics/skill sets, much richer and more interactive sites where some frameworks like ASP.NET MVC have a lot of useful mechanisms that XSLT can&#039;t take advantage of, etc etc.)

Don&#039;t get me wrong, I love writing XSLT, but lately I have been using it less in our business apps (though I still use it in some LAMP based sites I maintain that have high traffic but interaction-wise are much simpler...)

I&#039;ll have to find some time to write about these things as last few years have been quite busy on these fronts for me!</description>
		<content:encoded><![CDATA[<p>Hi Marko. Thanks for the comments. I wrote that post quite some time ago now, and while I still do like using XSLT, there are times where it has not been as useful (e.g. team dynamics/skill sets, much richer and more interactive sites where some frameworks like ASP.NET MVC have a lot of useful mechanisms that XSLT can&#8217;t take advantage of, etc etc.)</p>
<p>Don&#8217;t get me wrong, I love writing XSLT, but lately I have been using it less in our business apps (though I still use it in some LAMP based sites I maintain that have high traffic but interaction-wise are much simpler&#8230;)</p>
<p>I&#8217;ll have to find some time to write about these things as last few years have been quite busy on these fronts for me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marko Lavikainen</title>
		<link>http://www.onenaught.com/posts/8/xslt-in-server-side-web-frameworks/comment-page-1#comment-14897</link>
		<dc:creator>Marko Lavikainen</dc:creator>
		<pubDate>Mon, 11 Jul 2011 18:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/posts/8/xslt-in-server-wide-web-frameworks#comment-14897</guid>
		<description>Hi Anup, 

great post, thank you :-D

I&#039;m myself developing a component based web framework that uses only XSLT for templating and it has truly been the right choice. This blog post gives me hope that I&#039;m not the only one who believes in it.

I think XSLT separates layers from just right point, making components themselves junit-testable.  Also, because the XML is the only source for the templates, components can be mocked and layout can be designed or tested without actual functionality at backend.</description>
		<content:encoded><![CDATA[<p>Hi Anup, </p>
<p>great post, thank you <img src='http://www.onenaught.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>I&#8217;m myself developing a component based web framework that uses only XSLT for templating and it has truly been the right choice. This blog post gives me hope that I&#8217;m not the only one who believes in it.</p>
<p>I think XSLT separates layers from just right point, making components themselves junit-testable.  Also, because the XML is the only source for the templates, components can be mocked and layout can be designed or tested without actual functionality at backend.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry</title>
		<link>http://www.onenaught.com/posts/8/xslt-in-server-side-web-frameworks/comment-page-1#comment-14885</link>
		<dc:creator>Henry</dc:creator>
		<pubDate>Mon, 13 Jun 2011 07:43:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/posts/8/xslt-in-server-wide-web-frameworks#comment-14885</guid>
		<description>This was a great read. I love XSLT and have been using it extensively for the past few years. I&#039;ve had to go back to other templating &#039;languages&#039; and every time it has felt like a huge step back.

I&#039;ve been using Symphony CMS (not to be confused with the Symfony framework) which natively uses XSLT for all it&#039;s templating. It&#039;s an absolute joy to use.</description>
		<content:encoded><![CDATA[<p>This was a great read. I love XSLT and have been using it extensively for the past few years. I&#8217;ve had to go back to other templating &#8216;languages&#8217; and every time it has felt like a huge step back.</p>
<p>I&#8217;ve been using Symphony CMS (not to be confused with the Symfony framework) which natively uses XSLT for all it&#8217;s templating. It&#8217;s an absolute joy to use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anup Shah</title>
		<link>http://www.onenaught.com/posts/8/xslt-in-server-side-web-frameworks/comment-page-1#comment-14830</link>
		<dc:creator>Anup Shah</dc:creator>
		<pubDate>Fri, 01 Apr 2011 11:19:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/posts/8/xslt-in-server-wide-web-frameworks#comment-14830</guid>
		<description>Thanks for that David. Looks interesting from first glance.</description>
		<content:encoded><![CDATA[<p>Thanks for that David. Looks interesting from first glance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.onenaught.com/posts/8/xslt-in-server-side-web-frameworks/comment-page-1#comment-14825</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 30 Mar 2011 14:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/posts/8/xslt-in-server-wide-web-frameworks#comment-14825</guid>
		<description>I have been using Liquid &lt;a href=&quot;http://www.liquid-technologies.com/xml-editor.aspx&quot; rel=&quot;nofollow&quot;&gt;xml editor&lt;/a&gt; at my workplace for the last year and it&#039;s been far quicker than many of the commercial editors out there, the xslt engine is particularly fast</description>
		<content:encoded><![CDATA[<p>I have been using Liquid <a href="http://www.liquid-technologies.com/xml-editor.aspx" rel="nofollow">xml editor</a> at my workplace for the last year and it&#8217;s been far quicker than many of the commercial editors out there, the xslt engine is particularly fast</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: great essays</title>
		<link>http://www.onenaught.com/posts/8/xslt-in-server-side-web-frameworks/comment-page-1#comment-14779</link>
		<dc:creator>great essays</dc:creator>
		<pubDate>Wed, 05 Jan 2011 11:54:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/posts/8/xslt-in-server-wide-web-frameworks#comment-14779</guid>
		<description>Maybe someone want to explain me what is XSLT!! I don&#039;t know what it 
is?</description>
		<content:encoded><![CDATA[<p>Maybe someone want to explain me what is XSLT!! I don&#8217;t know what it<br />
is?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xsl-fo</title>
		<link>http://www.onenaught.com/posts/8/xslt-in-server-side-web-frameworks/comment-page-1#comment-14734</link>
		<dc:creator>xsl-fo</dc:creator>
		<pubDate>Thu, 14 Oct 2010 16:05:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/posts/8/xslt-in-server-wide-web-frameworks#comment-14734</guid>
		<description>Is there an xsl-fo program that you would suggest? Thanks for your research. I shall put it to work immediately.</description>
		<content:encoded><![CDATA[<p>Is there an xsl-fo program that you would suggest? Thanks for your research. I shall put it to work immediately.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anup Shah</title>
		<link>http://www.onenaught.com/posts/8/xslt-in-server-side-web-frameworks/comment-page-1#comment-14674</link>
		<dc:creator>Anup Shah</dc:creator>
		<pubDate>Fri, 20 Aug 2010 12:57:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/posts/8/xslt-in-server-wide-web-frameworks#comment-14674</guid>
		<description>Daniel, thanks for keeping in touch. Great to read you&#039;ve been able to do quite a lot with XSLT. I agree with the form-heavy approach that XSLT isn&#039;t always so great there. 

Since writing this post, I&#039;ve been working much more on a very rich client app for a backoffice use. Some installations can require immensely complex forms of 2-300 fields! Admittedly I do use XSLT to generate it as the form layout is configured in XML, but many other parts of the UI that need rich interaction are not XSLT, and as you say, for static sites, or mostly content oriented sites, XSLT still feels like a good way to go. ASP.NET MVC certainly looks powerful too but I&#039;ve not had enough experience with it myself to comment further.

I still have to do that unit test post I promised :)</description>
		<content:encoded><![CDATA[<p>Daniel, thanks for keeping in touch. Great to read you&#8217;ve been able to do quite a lot with XSLT. I agree with the form-heavy approach that XSLT isn&#8217;t always so great there. </p>
<p>Since writing this post, I&#8217;ve been working much more on a very rich client app for a backoffice use. Some installations can require immensely complex forms of 2-300 fields! Admittedly I do use XSLT to generate it as the form layout is configured in XML, but many other parts of the UI that need rich interaction are not XSLT, and as you say, for static sites, or mostly content oriented sites, XSLT still feels like a good way to go. ASP.NET MVC certainly looks powerful too but I&#8217;ve not had enough experience with it myself to comment further.</p>
<p>I still have to do that unit test post I promised <img src='http://www.onenaught.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.onenaught.com/posts/8/xslt-in-server-side-web-frameworks/comment-page-1#comment-14673</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Fri, 20 Aug 2010 10:51:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/posts/8/xslt-in-server-wide-web-frameworks#comment-14673</guid>
		<description>Hi Anup,

Since I last commented I have developed a custom CMS + CRM system for a client using ASP.Net MVC, ADO EF, and... you guessed it... a custom XSLT view engine. Now I am working on a second iteration (in my spare time) for myself which I hope to open-source parts of one day. I am back to contracting on a clunky old ASP.Net Web Forms project again which has only made my torch for XSLT burn brighter!

A couple of observations for Anton:

One of the most powerful aspects of using XSLT as a templating language is the ability to take an object-oriented approach to template code as Anup put me on to in the article above. Templates can be imported and overridden which saves a lot of time and code. I have not been able to achieve the same in Web Forms without it getting really clunky.

XSLT templates are great for what I call &quot;static&quot; web pages, i.e. homepages, product details, product lists, web pages without complex forms. Have a look at this site to see what I mean: www.eatout.co.nz. I no longer use XSLT templates for &quot;web application&quot; pages with complex forms as it just takes too long. ASP.NET MVC 2 with strongly typed HTML helpers and Data Annotations is the way to go for complex form development in my opinion.

I have not and would not attempt to use XSLT templates in an ASP Web Forms project, you would spend all day trying to munge control state and viewstate, ID problems, arrrrrrgh. Try MVC!

XSLT is perfect for the &quot;V&quot; in the MVC when you need to generate rich content loaded pages. My only caveat as mentioned above is where you need to develop a lot of forms. I switch between view engines in my projects depending on what sort of page I am generating.

- Daniel</description>
		<content:encoded><![CDATA[<p>Hi Anup,</p>
<p>Since I last commented I have developed a custom CMS + CRM system for a client using ASP.Net MVC, ADO EF, and&#8230; you guessed it&#8230; a custom XSLT view engine. Now I am working on a second iteration (in my spare time) for myself which I hope to open-source parts of one day. I am back to contracting on a clunky old ASP.Net Web Forms project again which has only made my torch for XSLT burn brighter!</p>
<p>A couple of observations for Anton:</p>
<p>One of the most powerful aspects of using XSLT as a templating language is the ability to take an object-oriented approach to template code as Anup put me on to in the article above. Templates can be imported and overridden which saves a lot of time and code. I have not been able to achieve the same in Web Forms without it getting really clunky.</p>
<p>XSLT templates are great for what I call &#8220;static&#8221; web pages, i.e. homepages, product details, product lists, web pages without complex forms. Have a look at this site to see what I mean: <a href="http://www.eatout.co.nz" rel="nofollow">http://www.eatout.co.nz</a>. I no longer use XSLT templates for &#8220;web application&#8221; pages with complex forms as it just takes too long. ASP.NET MVC 2 with strongly typed HTML helpers and Data Annotations is the way to go for complex form development in my opinion.</p>
<p>I have not and would not attempt to use XSLT templates in an ASP Web Forms project, you would spend all day trying to munge control state and viewstate, ID problems, arrrrrrgh. Try MVC!</p>
<p>XSLT is perfect for the &#8220;V&#8221; in the MVC when you need to generate rich content loaded pages. My only caveat as mentioned above is where you need to develop a lot of forms. I switch between view engines in my projects depending on what sort of page I am generating.</p>
<p>- Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anup Shah</title>
		<link>http://www.onenaught.com/posts/8/xslt-in-server-side-web-frameworks/comment-page-1#comment-14666</link>
		<dc:creator>Anup Shah</dc:creator>
		<pubDate>Mon, 16 Aug 2010 22:08:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/posts/8/xslt-in-server-wide-web-frameworks#comment-14666</guid>
		<description>Tricky one. We used Telerik for a few years here, and I really did not like the experience of it -- the do make rich controls and they have good documentation and support but some of their controls we battled with too much to fit into our needs.

I migrated our entire UI to Coolite instead (which is .NET framework to generate Ext.js based output). So in large parts I have not used XSLT but Coolite -- the end goal is the same -- as much control as possible, which Coolite gives because anything it doesn&#039;t support, the Ext JS framework either does or you can augment it with JS. (I&#039;ve been meaning to write about this for months, but I barely get time to attend to this blog lately!)

That said, some components are still XSLT, and they generate HTML which integrates well with Ext JS. Of course, the problem of form controls persist, potentially.

Ah, just a thought: ASP.NET4 may be an option if you are able to upgrade (though I&#039;ve not tried it yet) -- because you can control how the ids are generated much better, which means you could then generate your output with XSLT and then process it on the server side as usually (hopefully!)</description>
		<content:encoded><![CDATA[<p>Tricky one. We used Telerik for a few years here, and I really did not like the experience of it &#8212; the do make rich controls and they have good documentation and support but some of their controls we battled with too much to fit into our needs.</p>
<p>I migrated our entire UI to Coolite instead (which is .NET framework to generate Ext.js based output). So in large parts I have not used XSLT but Coolite &#8212; the end goal is the same &#8212; as much control as possible, which Coolite gives because anything it doesn&#8217;t support, the Ext JS framework either does or you can augment it with JS. (I&#8217;ve been meaning to write about this for months, but I barely get time to attend to this blog lately!)</p>
<p>That said, some components are still XSLT, and they generate HTML which integrates well with Ext JS. Of course, the problem of form controls persist, potentially.</p>
<p>Ah, just a thought: ASP.NET4 may be an option if you are able to upgrade (though I&#8217;ve not tried it yet) &#8212; because you can control how the ids are generated much better, which means you could then generate your output with XSLT and then process it on the server side as usually (hopefully!)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

