IntroductionIt is about four months passed since Joe Stagner activated my Blog on http://weblogs.asp.net. All that time I could not make a decision how to become a new community member, because the level of some other people here so impressive, that very hard to be notable. Some time ago I found very interesting project HAML. The idea behind this project is to make markup easy to read and fun to write. It very impressed me and I decided to implement View Engine for upcoming ASP.NET MVC Framework. Unfortunately (for me of course :)), it was already implemented by this guy. Not a problem! I simply decided to port Andrew’s work to the Castle Monorail (ASP.NET MVC elder brother) and extended Andrew’s work a bit.
Here is a result of my (and Andrew) work.
- Full HAML support – implemented by Andrew Peters
- MonoRail Layouts, Helpers, Partial Support
- Support for Macros, Parameters, Dictionaries, Rescues – you can even write c# in your View :)
Source code and downloadsYou can check out full code with samples form http://w4x.unfuddle.com/svn/w4x_mrnhamlUsername – user password – user
Work is incomplete
There are many things that should be implemented – full test support, type cache for views, code clean up. If you are interested and want to implement such a feature – send me a patch for it :)