Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I Learn NHaml?

Should I learn NHaml?

What does it provide me over a classic ASP.NET MVC view? What are the pros and cons?

Are you using it via the MVC Contrib project?

I have been seeing more and more about it. For example... I saw a blog post by Matthew Podwysocki using ASP.NET MVC, NHaml, and F#!

like image 845
Elijah Manor Avatar asked Oct 07 '08 16:10

Elijah Manor


1 Answers

It should only take a few hours if you're familiar with the MVC framework, so I'd say yes, learn it. NHaml is a compact way to write HTML code. It is pretty easy to read and write once you get used to it. The downsides are that you lose the ASP.NET controls, so server-side processing is more difficult. Your team may be resistant, too.

like image 116
Dan Goldstein Avatar answered Nov 12 '22 19:11

Dan Goldstein