netrenaissance.net

this.code();

For all of you keeners, I went ahead and threw up my alpha code for jHAML. So, feel free to check out the plugin code for jHAML.

If it's too opaque for you, you can check out my quick demo on the jHAML homepage. Essestially the code will go off and grab a HAML file at the /HAML/basic.haml location and render it out into a div tag #main. Currently it alerts out the response so you can see it, but I'll likely change the format so that you can see it visually on the page through the use of embedded code tags.

If you are curious, you can check out the original HAML file I created for testing this too. It's fairly basic, but it covers most of the bases which I've implemented.

I'm going to continue to refine it, and hopefully make it a little less hacky than it is now, but doing this exercise has taught me a bunch about HAML and jQuery already (including how much I need an actual regular expression scratchpad tool).

I also learnt more about Bind syntax when I had to set up the zone entries on my DNS server, and fixed some niggling internal resolution errors I'd been having (as I am using internal and external views). As I am primarily from a Windows/.NET background, all this playing in Linux is actually helping me get a lot of familiarity with setting up IT infestructure.