<?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>Tatva-Artha &#187; haml</title>
	<atom:link href="http://www.tatvartha.com/tag/haml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tatvartha.com</link>
	<description>meaning of &#34;it&#34;</description>
	<lastBuildDate>Sat, 22 Oct 2011 22:00:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Stick with ERB or move to Haml</title>
		<link>http://www.tatvartha.com/2009/06/stick-with-erb-or-move-to-haml/</link>
		<comments>http://www.tatvartha.com/2009/06/stick-with-erb-or-move-to-haml/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 15:03:34 +0000</pubDate>
		<dc:creator>Sharad</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[erb]]></category>
		<category><![CDATA[haml]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://www.tatvartha.com/?p=174</guid>
		<description><![CDATA[Haml is gaining popularity in Rails community. It claims higher productivity compared to defacto ERB templating. Not everybody agrees though. I see 2 short-term problem with haml. ERB is similar to it pre-decessor and hence easier to learn. Compared to JSP etc. ERB is similar, you still see lots of HTML tag with interleaved ruby [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><img src="http://haml.hamptoncatlin.com//images/lukas/hamllogo.gif" style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; DISPLAY: inline; FLOAT: right; BORDER-LEFT: #000000 1px solid; WIDTH: 206px; BORDER-BOTTOM: #000000 1px solid; HEIGHT: 199px" height="30" width="28"/> <a href="http://haml.hamptoncatlin.com/">Haml</a> is gaining popularity in Rails community. It claims higher productivity compared to defacto <a href="http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/">ERB templating</a>. <a href="http://groups.google.com/group/spree-user/browse_thread/thread/e1a66827e3d14f81?hl=en">Not</a> everybody agrees though. I see 2 short-term problem with haml.</p>
<ol>
<li>ERB is similar to it pre-decessor and hence easier to learn. Compared to JSP etc. ERB is similar, you still see lots of HTML tag with interleaved ruby (or Java). Although verbose, it is closer to how your HTML would finally look like.</li>
<li>If your team has a dedicated HTML programmer (Designer as we may call them). These folks are very good at plain HTML and don&#8217;t want the trouble of converting files and having all the plumbing around when working. It is not efficient for them.</li>
</ol>
<p>Despite this, I see Haml as valid alternative for following reasons:</p>
<p> <span id="more-174"></span>
<ul>
<li>Its been 2 days since I started using Haml. Obviously, I have yet to higher gain productivity but tools like <a href="http://wiki.rubyonrails.org/howtos/templates/haml">html2haml</a> help a lot with the transition. I am beginning to see that I am not far behind, in terms of productivity, compared to ERb already.</li>
<li>Especially if you don&#8217;t have a dedicated Designer/HTML programmer on your team, haml gives you another shot at productivity.</li>
<li>I am not sure if this is a good idea but you can have both on the same project, but it sure does work. In fact, you can even have layouts, partials and your main page in different templating engine. Atleast, it lowers the barrier to get started.</li>
<li>Haml gets ugly when there is too much html nesting. This is a good thing since it encourages breaking your view into partials and making it modular.</li>
<li>Haml also promotes better view design by making divs/ids/classes most concise. If you are still using tables a lot, you may find yourself using divs with haml.</li>
</ul>
<p>Try it out. It&#8217;s not that bad.</p>
<p>Enjoy!</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.tatvartha.com/2009/06/stick-with-erb-or-move-to-haml/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Netbeans Haml syntax coloring support</title>
		<link>http://www.tatvartha.com/2009/06/netbeans-haml-syntax-coloring-support/</link>
		<comments>http://www.tatvartha.com/2009/06/netbeans-haml-syntax-coloring-support/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 14:13:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[haml]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[syntax coloring]]></category>

		<guid isPermaLink="false">http://www.tatvartha.com/?p=162</guid>
		<description><![CDATA[Started using Haml templates for view in Rails apps and found netbeans plugin for syntax coloring here. Looks good so far. No related posts. Related posts brought to you by Yet Another Related Posts Plugin.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Started using <a href="http://haml.hamptoncatlin.com/">Haml templates</a> for view in Rails apps and found netbeans plugin for syntax coloring <a href="http://mediacast.sun.com/users/tnorbye/media/org-netbeans-modules-haml.nbm/details">here</a>. Looks good so far.</p>
<p><img src="http://www.tatvartha.com/wp-content/uploads/2009/06/haml-syntax-coloring1.jpg" style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid" height="369" alt="haml_syntax_coloring.jpg" width="689"/></p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.tatvartha.com/2009/06/netbeans-haml-syntax-coloring-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

