Is there a haml2html & sass2css?

Would be great to do the rapid dev in haml and then convert to html  
for designers to work on....


Cheers,
Nigel Rausch

On 12/06/2009, at 3:47 PM, Chris Lloyd wrote:

> Perhaps checkout the html2haml and css2sass programs which are  
> packaged with HAML.
>
> 2009/6/12 Bodaniel Jeanes <m...@bjeanes.com>
> Advantages:
>
> * easy to change and manage templates
> * no ugly erb snippets everywhere with conditional statements
> * much better in diffs
>
> Disadvantages
>
> IMO, one reaaaaaaly big one. HAML (and SASS for that matter) is  
> code, so it's great for developers. However, developers generally  
> can't and shouldn't be doing design. That's what designers are for.  
> Designers shouldn't have to learn a new language to do what they do  
> best -> html, css, and pretty colours. Suddenly they can't use the  
> tools that make THEM efficient and effective.
>
> I think using HAML is a bit of an anti-pattern (not the right word,  
> but hopefully you get my gist), it encourages the coders to do the  
> front-ends and that usually results in atrocious user experiences or  
> extremely data-driven designs.
>
> The whole idea behind HAML was to make HTML more manageable so you  
> spend less time on it. Ultimately in my experience on real projects,  
> it can have the opposite effect, especially in the early stages of  
> development. Either the designer is slowed down if you force them to  
> learn it, or they do all the css and styleguides in separate  
> documents, and the developer(s) have to spend time converting them  
> to HAML/Sass and repeating this conversion for each correction,  
> revision, or re-design. This takes a LOT of time and can be a lot of  
> manual labour.
>
> So, in summary: i use haml on small projects where design isn't  
> important or I am doing it (always ugly, of course), but for client  
> projects or bigger projects where design is someone else's  
> responsibility and talent, I actively prevent the use of haml.
>
> Bo
>
>
> On Fri, Jun 12, 2009 at 3:25 PM, Michael A. <michael....@gmail.com>  
> wrote:
>
> Hi Guys,
>
> I'm new around here though I've been using rails on and off since
> around 0.13.
>
> Something that's been on my todo for a long time is to check out HAML.
> I've started converting a few templates, at first I thought it was
> great. So much clutter removed. But as I started doing more templates,
> I found I didn't really find HAML templates any easier to read (maybe
> the brain just gets used to cancelling out the noise in HTML?). I did
> like not having to type close tags all the time and the consistency it
> brings to your markup.
>
> So... what are your thoughts on HAML? Are there other major advantages
> I should know?
>
> Cheers,
> Michael
>
>
>
>
>
>
>
> -- 
> chrislloyd.com.au
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to