I was reading some posts on Coding Horror blog about working with the horrors of tag soup. It seems like the only way to simplify html generation is to use a templating engine.
Do you know any templating engine for ASP.NET MVC framework?
From stackoverflow
-
think your question is answered perfectly in an older topic here: http://stackoverflow.com/questions/173207/best-template-engine-for-aspnet-mvc
Spoike : Yeah, but I find it to be quite out-dated (with answers several months before Release Candidate) and not a community wiki post. -
there are many view engines for asp.net mvc framework:
- Web forms view engine(default)
- Spark view engine
- Nhamle view engine
- … all community contributions on the asp.net mvc framework including view engines can be found on
http://www.codeplex.com/MVCContrib
Simon : this answer makes it seem like spark and nhaml (note without 'e') are part of the mvc contrib project which is not the case. -
StringTemplate is a decent alternative.
Here's the ViewEngine (with Source), and some tutorials.
-
NDjango - django templates in .net
0 comments:
Post a Comment