Over the past 20 years the Internet has dramatically changed. We went from very basic and fully static websites to advanced web-based apps, with beautiful designs and intuitive UI.
HTML has been the foundation for the Web till the day one. Even though it went through multiple revisions, adding new features and “extensions,” the basic structure remained the same. Of course, it’s an application of SGML, but we don’t want to go that deep. It’s just a tool for developers and designers to create great projects.
So what’s wrong with this tool? Nothing in particular, actually. But the development model has changed over the past years, with the rise of indentation-based languages, such as Python, Ruby, CoffeeScript and others. Now we expect the same kind of convenience from our “templating” engines, too.
Jade vs HTML: see the difference? It’s also much more error-proof, given that you don’t need to use closing tags. And it looks cleaner. Compare these two Meteor templates:
Unfortunately, browsers can’t render Jade directly, but there are different tools available, for different platforms, that can either pre-process or real-time convert Jade to HTML. Given that Jade is always converted to HTML in production environments, there are no performance costs.
Here are the tools that will help you started with Jade for different platforms and languages: