简体   繁体   中英

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#!

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.

当然,学习NHAML非常简单,而且比Web表单语法更容易编写。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM