haml

R

Rajinder Yadav

I am starting to look at haml and was wondering if there is anything
else like this out there that make working with html easier?

--
Kind Regards,
Rajinder Yadav

http://DevMentor.org

Do Good! - Share Freely
 
R

Richard Conroy

[Note: parts of this message were removed to make it a legal post.]

I am starting to look at haml and was wondering if there is anything else
like this out there that make working with html easier?

Rajinder,
there are quite a few options, but Haml is definitely the most popular
of the alternatives.
By alternative, I mean it in the sense that you implied - that it changes
how you construct
HTML. There are some alternatives to Erb, like Erubis, that make your
rendering faster,
but you are still using Erb syntax (HTML with ruby code in escapes).

Markaby was an earlier attempt to accomplish the same things as Haml, though
I think
Haml has stolen its marketshare. There are also probably a few plugins that
let you use
Markdown or Textile syntax for your HTML authoring.

You might want to check out Webby to see some options. Its a static site
generator,
but it has support for a whole laundry list of templating options.

regards,
Richard
 
R

Rajinder Yadav

Richard said:
Rajinder,
there are quite a few options, but Haml is definitely the most popular
of the alternatives.

Hi Richard,

thanks for the feedback. I just wanted to get a sense of what is out
there and is the most popular. You covered it pretty good with your
reply. I like haml, it was somewhat easy to get up and going after
reading it's FAQ.

I will take a closer look at Webby. Not sure what it is suited for by
reading the website right now, but I am sure the light-bulb will go on
eventually =)

By alternative, I mean it in the sense that you implied - that it changes
how you construct
HTML. There are some alternatives to Erb, like Erubis, that make your
rendering faster,
but you are still using Erb syntax (HTML with ruby code in escapes).

Markaby was an earlier attempt to accomplish the same things as Haml, though
I think
Haml has stolen its marketshare. There are also probably a few plugins that
let you use
Markdown or Textile syntax for your HTML authoring.

You might want to check out Webby to see some options. Its a static site
generator,
but it has support for a whole laundry list of templating options.

regards,
Richard


--
Kind Regards,
Rajinder Yadav

http://DevMentor.org

Do Good! - Share Freely
 
M

Martin DeMello

I will take a closer look at Webby. Not sure what it is suited for by
reading the website right now, but I am sure the light-bulb will go on
eventually =)

what webby lets you do is maintain a website as a tree of static
template files on your local directory. your web dev workflow goes

1. make changes to templates
2. compile the templates into a website
3. test locally
4. when satisfied, push the static html files to your remote site

it gives you the best of both worlds - templating and code reuse like
you get in dynamic sites, but no need to have the html actually
generated on your webserver.

martin
 
J

Josh Cheek

[Note: parts of this message were removed to make it a legal post.]

I am starting to look at haml and was wondering if there is anything else
like this out there that make working with html easier?

--
Kind Regards,
Rajinder Yadav

http://DevMentor.org

Do Good! - Share Freely

http://ruby-toolbox.com/categories/template_languages.html

Lists ten templating languages, links to repos, home pages, docs, news, and
gives a brief summary / installation command / popularity comparison for
each.
 
R

Rajinder Yadav

Martin said:
what webby lets you do is maintain a website as a tree of static
template files on your local directory. your web dev workflow goes

1. make changes to templates
2. compile the templates into a website
3. test locally
4. when satisfied, push the static html files to your remote site

it gives you the best of both worlds - templating and code reuse like
you get in dynamic sites, but no need to have the html actually
generated on your webserver.

martin

Hi Martin,

Thanks for clearing up the features and benefits of Webby. The Webby
team should take what you just said and post in on their site.

--
Kind Regards,
Rajinder Yadav

http://DevMentor.org

Do Good! - Share Freely
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

creating a openstruct from xml 4
building from source 2
downloading a file 11
PDF Viewer 3
Rails on Ruby 1.9 2
Nokogiri docs? 1
subscribing to ruby-core 2
calling 'C' code from Ruby 5

Members online

No members online now.

Forum statistics

Threads
473,981
Messages
2,570,188
Members
46,733
Latest member
LonaMonzon

Latest Threads

Top