Tatva-Artha

meaning of "it"

Archive for the ‘haml’ tag

Stick with ERB or move to Haml

with one comment

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.

  1. 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.
  2. If your team has a dedicated HTML programmer (Designer as we may call them). These folks are very good at plain HTML and don’t want the trouble of converting files and having all the plumbing around when working. It is not efficient for them.

Despite this, I see Haml as valid alternative for following reasons:

Read the rest of this entry »

Written by Sharad

June 3rd, 2009 at 3:03 pm

Posted in All, Technology

Tagged with , , ,

Netbeans Haml syntax coloring support

without comments

Started using Haml templates for view in Rails apps and found netbeans plugin for syntax coloring here. Looks good so far.

haml_syntax_coloring.jpg

Written by admin

June 1st, 2009 at 2:13 pm

Posted in All, Technology

Tagged with , ,