I've always been searching for a best suitable ViewEngine for me in ASP.NET MVC, and after observing a ton of template engines in either JAVA, PHP, Python, Ruby, NodeJS... I found the jade template and loved it since it has some really nice features:
I have also observed many ViewEnginge for ASP.NET MVC, some are quite close to jade, but still with defects:
so I wounder if there is a ViewEngine closer to jade, ot is there an port of jade to .NET?
Thanks
Jade is a template engine for node. js and the default rendering engine for the Express web framework. It is a new, simplified language that compiles into HTML and is extremely useful for web developers. Jade is designed primarily for server-side templating in node.
Jade is a template engine for Node. js. Jade syntax is easy to learn. It uses whitespace and indentation as a part of the syntax.
Jade is a markup language that removes the ceremony with creating XML based files (such as . html or . xml files).
js, also known as PUG, is a Javascript library that was previously known as JADE. It is an easy-to-code template engine used to code HTML in a more readable fashion. One upside to PUG is that it equips developers to code reusable HTML documents by pulling data dynamically from the API.
The Spark View Engine supports parsing Jade templates as of v1.7 (4/12).
Read More: http://sparkviewengine.codeplex.com/releases/view/86901
Install via NuGet package:
Install-Package Spark.Web.Mvc3
or
Install-Package Spark.Web.Mvc2
Read More: http://nuget.org/packages/Spark.Web.Mvc3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With