Web Development with Jade
By Sean Lang
Publisher: Packt Publishing
Final Release Date: March 2014
Pages: 80

In Detail

Jade is a template engine for node.js and the default rendering engine for the Express web framework. It is a new, simplified language that compiles into HTML and is extremely useful for web developers. Jade is designed primarily for server-side templating in node.js, but it can also be used in a variety of other environments to produce XML-like documents such as HTML and RSS.

This practical, example-oriented guide will teach you how to write Jade, utilize its features, and recognize the best ways to organize templates in your projects. With this book, you will avoid the common pitfalls and issues with sparse documentation, allowing you to learn Jade faster and use it more effectively.

To understand Jade, we will first examine the reasons for its design and how these translate into a tool that can provide real benefits to you. You will develop confidence with each of the features of the language with the help of practical examples and thorough explanations. We will cover preprocessors, basic syntax, feeding data into templates, and incorporating logic. By the end of this book, you will be able to effectively use essential features such as filters and mixins as well as template inheritance through a block system. To tie it all together, we will also look at some of the best practices to follow when organizing your Jade projects.

Use this comprehensive guide to the Jade language to help you become a more efficient web developer.


This is a step-by step, tutorial-based book which will enable web developers to explore the functionalities of Jade and learn how to use it to write certain functions and processes for web development.

Who this book is for

This book is for web developers with at least a basic understanding of HTML and JavaScript. It will enable you to write an easier form of language that then compiles into HTML.

Product Details
Recommended for You
Customer Reviews


by PowerReviews
oreillyWeb Development with Jade

(based on 2 reviews)

Ratings Distribution

  • 5 Stars



  • 4 Stars



  • 3 Stars



  • 2 Stars



  • 1 Stars



Reviewed by 2 customers

Sort by

Displaying reviews 1-2

Back to top


Short, no-nonsense syntax explanation

By Wouter Blancquaert

from Belgium

About Me Developer

Verified Reviewer


  • Accurate
  • Concise


    Best Uses

    • Intermediate

    Comments about oreilly Web Development with Jade:

    Web Development with Jade, a book provided by Packt Publishing is one of those small books for web developers willing to learn more about Jade, but are no longer interested in the basic details. It is short, meaning it goes fast. Don't expect an introduction to HTML5, CSS, JavaScript or Node.js. This book is for those already having a good background on these topics and are willing to learn Jade fast.

    The book itself covers more or less the syntactic ground of the Jade templating engine, and that's about it. One small introductory chapter giving a little hint of existing templating engines, and a final chapter about how a Jade project structure should look like. This doesn't mean this book isn't worth buying, but know what to expect.

    I would advise this book to web developers with at least some experience, but certainly not for designers new to the web development landscape.

    (1 of 1 customers found this review helpful)


    Learn why Jade is so cool...

    By Ionut-Cristian Florescu

    from Bucharest, Romania

    About Me Designer, Developer

    Verified Reviewer


    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written


      Best Uses

      • Intermediate
      • Novice
      • Student

      Comments about oreilly Web Development with Jade:

      Over the last two years I've been building commercial and open-source Node.js projects and I've been using the Jade template engine almost exclusively ever since.

      That is why I've got so used with it that I now find writing plain old "vanilla" HTML code rather cumbersome and unproductive.
      That's also why, even since the early days of the project, I've introduced support for compiling Jade templates in ASPAX, arguably the simplest Node.js asset packager you can use (aspax.github.io).

      Until recently I've been under the impression that there's not much more I can learn about it - until I found Sean's excellent book.

      While the "official" Jade website is pretty good, this book will also give you, in Chapter 1, a brief overview of the current markup preprocessor engines landscape and a nice explanation of how Jade really works, in both pictures and code. It will also show you why Jade is so cool compared to other alternatives out there, due to its concision and clarity.

      Chapters 2 through 7 will teach you everything about writing Jade code, starting with the basic syntax, working with data, flow control logic and even touching advanced topics like filters, mixins and template inheritance.

      Chapter 8, undoubtedly one of the most valuable pieces of information in the book, will teach you how to structure the presentation-related code in your application.

      So, if you're looking to become a professional JavaScript/Node.js developer or you already are one but you're looking for a well-written Jade reference to consolidate your skills, you should definitely have a look at "Web Development with Jade".

      Displaying reviews 1-2

      Back to top

      Buy 2 Get 1 Free Free Shipping Guarantee
      Buying Options
      Immediate Access - Go Digital what's this?
      Ebook:  $14.99
      Formats:  ePub, Mobi, PDF