Haml takes your gross, ugly templates and replaces them with veritable Haiku. Haml is the next step in generating views in your Rails application. Haml is a refreshing take that is meant to free us from the shitty templating languages we have gotten used to. Haml is based on one primary principal. Markup should be beautiful. Haml is a real solution to a real problem. Stop using the slow, repetitive, and annoying templates that you don’t even know how much you hate yet
// behaviors, events how it compares to flapjax Protoscript is a simplified scripting language for creating Ajax style prototypes for the Web. With Protoscript it's easy to bring interface elements to life. Simply connect them to behaviors and events to create complex interactions. Here's an example that fades & closes the image when the user clicks on it. (It's live, so go ahead and try it!) $proto('img#avatar', { Click: { onClick: { Fade: { opacity: {to: 0}, onComplete: {Close : {} } } } } }); The protoscript above says: for an image with id avatar, fade it out when the user clicks on it and close it when the fade completes. By combining different behaviors with different elements and events you can create complex interactions without writing JavaScript. Want to see it in action? Here are the current set of behaviors. Click any of them to see live examples.