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.

Approach

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

REVIEW SNAPSHOT®

by PowerReviews
oreillyWeb Development with Jade
 
3.0

(based on 3 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (1)

67%

of respondents would recommend this to a friend.

Pros

No Pros

Cons

No Cons

Best Uses

No Best Uses
    • Reviewer Profile:
    • Developer (3)

Reviewed by 3 customers

Displaying reviews 1-3

Back to top

 
1.0

There are better resources available on the web

By A Software Developer and Instructor

from Chicago, IL

About Me Designer, Developer, Educator

Verified Reviewer

Pros

    Cons

    • Not comprehensive enough
    • Too basic

    Best Uses

    • Student

    Comments about oreilly Web Development with Jade:

    The problem with having a college freshman (per the author bio) write a technical book is that they don't have enough of a perspective of the software industry to avoid sounding like a cocky, overeager college freshman. This author is clearly someone who believes his opinion is the only true opinion. The writing is amateur, at best; I commend the editor that was assigned this project, because I can tell they had their work cut out for them. I've honestly learned more about Jade by reading blog posts and books on Express or Node.

    Additionally, it appears the author has no respect for other developers: in doing some research on GitHub, I found that he is the owner of a repository that is a blatant theft of someone else's commercially available work. Though the software in question is GPL, the author took it upon himself to, as he states, remove licensing code and analytics code from the commercial version of the software. I am not an intellectual property lawyer, but even if that is technically legal, it doesn't seem morally correct to me.

     
    3.0

    Short, no-nonsense syntax explanation

    By Wouter Blancquaert

    from Belgium

    About Me Developer

    Verified Reviewer

    Pros

    • Accurate
    • Concise

    Cons

      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)

       
      5.0

      Learn why Jade is so cool...

      By Ionut-Cristian Florescu

      from Bucharest, Romania

      About Me Designer, Developer

      Verified Reviewer

      Pros

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

      Cons

        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-3

        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