Greetings All,

I've seen Haml used to replace rhtml in rails, and loved it.
I've seen Haml used as templates for static html, and loved it.

Now I work for a company that has a java based web product.
And there are people here writing JSP pages, typing html by hand.

How closely is Haml coupled with rails code?
Can it convert a Haml template into a "different" template?

For example, in JSP there are two embedding tags (that I know of, and I'm
not an expert) :
    <%@ page import="some.java.*" %>
    <%! some java code %>

So perhaps having Haml like this:
    %span= some java code

Would render a jsp file with:
    <span><%! some java code %></span>

Same thing for PHP, ColdFusion, and whatever other html embedded language
you may think about.

I am not proposing re-writing haml in another language, only using (ruby)
haml templates
and rendering the results as rhtml/jsp/php/asp/cfm/whatever   with embedded
tags.


Regards,

- evgeny

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to