Jade

Jade is a terse templating language for generating HTML. It hugely simplifies editing HTML. Regular HTML is really hard to edit.  You have to change both opening and closing tags, which may be quite far apart.  It is easy to make mistakes.  Jade solves this problem by getting rid of the closing tags.  instead indentation is used to control the page structure.  

Editing native HTML is hard enough.  Editing multi-lingual HTML becomes impossible. Jade makes it easy to edit multilingual web pages.  I am particularly interested in using it to allow people to edit their multilingual resumes online. 

Jade Templates

Jade supports  dynamically including other jade pages.  You allow Jade to generate Javascript, and then when someone loads that page, it includes all the other jade fragments.  This will allow people to build multiple resumes.  Share the main content, and have different introductory paragraphs, one for each market, even one for each customer.    

 

The Jade object has 3 panes.  The first one is the ACE Jade Editor.  It does Jade syntax checking, and flags you if you make a mistake.  The second one is the generated javascirpt.  The third one is the generated html.      When the user clicks the save button, the HTML is generated, and uploaded to the server along with the original jade content.

Native Jade makes multilingual websites easy. A Jade Language Editor would allow a translator to translate only the text in his language in a Jade template.

 

Jade Syntax

Here is an excellent way to learn Jade.  Just edit the jade, and watch the generated html appear in the other window.




I invite you to Register and then link to your own blog postings and software packages..

Powered by Zopache, Grok, Zope and ZODB

Robots Crawl This