News for hackers. Stuff that matters.
Re:HAML Brings Seaside To Ruby by bprater on Monday January 19, 2009 @06:42PM (#441073)
I have yet to see a good case made for when abstracting HTML back is a "really great idea".
Re:HAML Brings Seaside To Ruby by nonrecursive on Monday January 19, 2009 @06:56PM (#441092)
I wouldn't call HAML "really great", but after using it for a few months I can say it's a pleasant improvement over writing straight HTML. It's just a matter of taste.
Re:HAML Brings Seaside To Ruby by rufo on Monday January 19, 2009 @07:35PM (#441135)
Perhaps, but Haml isn't an abstraction layer. You're still using exactly the same HTML tags and attributes, just expressing them in a different way.

A better way of thinking about it would be simply an alternative syntax for HTML, eliminating most of the tag soup that's inherent in HTML + ERB.

Re:HAML Brings Seaside To Ruby by shaunxcode on Monday January 19, 2009 @10:30PM (#441292)
Are you serious? What about when you want to target multiple platforms with the same interfaces but don't want to commit to one form of markup/generated code? Imagine being able to easily render to flex, jquery ui, ext js, clean css/xhtml, gross but effective tables etc.

If you abstract it the idea will come.