• Complain

Lang - Web development with Jade

Here you can read online Lang - Web development with Jade full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Birmingham, UK, year: 2014, publisher: Packt Publishing, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Lang Web development with Jade
  • Book:
    Web development with Jade
  • Author:
  • Publisher:
    Packt Publishing
  • Genre:
  • Year:
    2014
  • City:
    Birmingham, UK
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Web development with Jade: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Web development with Jade" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Knowing Jade makes life simpler and more productive for web developers, and this book will teach you the language concisely and thoroughly using lots of practical examples and best practices for a solid grounding.About This Book
  • Make your templates clean, beautiful, and reusable
  • Use Jade best practices right from the start
  • Successfully automate redundant markup
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.

What You Will Learn
  • Write cleaner, indentation-based markup
  • Use logical statements to format data for display on the Web
  • Avoid repetition by eliminating redundant operations
  • Divide your templates into logical sections with blocks
  • Avoid common organizational pitfalls when designing Jade-based projects
  • Apply shorthand for brevity
  • Utilize Jade for client-side templates
  • Employ techniques like filters to quickly mock-up web pages in higher level languages like stylus or coffeescript
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.

Lang: author's other books


Who wrote Web development with Jade? Find out the surname, the name of the author of the book and a list of all author's works by series.

Web development with Jade — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Web development with Jade" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Web Development with Jade

Web Development with Jade

Copyright 2014 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: March 2014

Production Reference: 1200314

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-78328-635-5

www.packtpub.com

Cover Image by Aniket Sawant (<>)

Credits

Author

Sean Lang

Reviewers

Fco. Javier Velasco Arjona

Dan Williams

Acquisition Editor

Sam Birch

Content Development Editor

Shaon Basu

Technical Editor

Dennis John

Copy Editors

Gladson Monteiro

Sayanee Mukherjee

Janbal Dharmaraj

Mradula Hegde

Kirti Pai

Adithi Shetty

Project Coordinator

Akash Poojary

Proofreader

Simran Bhogal

Indexer

Tejal R. Soni

Graphics

Yuvraj Mannari

Production Coordinator

Kyle Albuquerque

Cover Work

Kyle Albuquerque

About the Author

Sean Lang attends the Milwaukee School of Engineering; he is currently majoring in software engineering. Even though he is a freshman there, he is by no means new to the field. He has been teaching himself software development for the last four years, and during this time, he has done extensive volunteer work for open source software projects. These include roots (a toolkit for building web apps), the Jade template engine, nib (a set of utilities for advanced web page styling), and a myriad of smaller projects. In addition to this, he has been doing freelance web designing and consulting, which is especially convenient because it gives him an opportunity to use the open source tools that he has been developing in production. He started writing this book about Jade to supplement the existing documentation and help teach people the language. Also, he had never written a full book before, so he was really interested and excited to know what being an author is like.

About the Reviewers

Fco. Javier Velasco Arjona is a passionate full stack engineer and aspiring web craftsman from Crdoba, Spain. He's currently working as a developer at imixme.com and mindster.org. Previously he was working with floqq.com. As he has a restless mind, he constantly finds himself switching between JavaScript, Ruby, and Python, always trying to build great products with the trendiest technologies. When Javier is not coding, he enjoys watching films and TV series, reading comic books, listening to music, and of course, spending time with his family and friends.

I wish to thank my family, especially my parents, for all the support that I have received from them my whole life. Without their help, I do not know where I would be now, but I'm pretty sure that I would be in a very different place.

Thanks to the folks at Packt Publishing for allowing me to collaborate by being a technical reviewer on this book. And finally, many thanks to my girlfriend, Laura. She has made me a better person, and truly happy, day by day, these three years.

Dan Williams has been programming since high school. Having worked from the microcontroller level to large-scale enterprise applications, he has now found a home as lead developer at Igniter.

Developing with Node.js in the backend and with AngularJS in the browser, he enjoys being fully immersed in JavaScript. He can often be found giving talks and facilitating workshops on emerging technologies around Toronto. When he is not working with his team to help social entrepreneurs change our world, he enjoys traveling to far off places with his wife. The highlight of their adventures was a two-week driving trip around Iceland.

www.PacktPub.com
Support files, eBooks, discount offers and more

You might want to visit www.PacktPub.com for support files and downloads related to your book.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at > for more details.

At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

httpPacktLibPacktPubcom Do you need instant solutions to your IT - photo 1

http://PacktLib.PacktPub.com

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.

Why Subscribe?
  • Fully searchable across every book published by Packt
  • Copy and paste, print and bookmark content
  • On demand and accessible via web browser
Free Access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.

Preface

Jade is a templating engine for Node.js. 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 book is an introduction to Jade, and it will provide readers a with faster and cleaner way to write HTML that is more maintainable and automates redundant markup.

What this book covers

, What is Jade? , gives you the idea behind preprocessors and why Jade is awesome. Also, you will learn the process Jade uses to compile templates, and how to install/use Jade.

, Basic Syntax , covers the very basics of the syntax. This includes how indentation-based syntaxes work, how to write tags, text, attributes, comments, and some nifty shorthands for classes, IDs, and doctypes.

, Feeding Data into Templates , covers both the syntax used to output variables (such as interpolation) and how to actually send the data to the renderer.

, Logic in Templates , introduces flow control structures such as if, else, case, for, and while. Also, we discuss adding more advanced logic using raw JavaScript.

, Filters , introduces you the first "feature" of the Jade languagefiltersa way to automatically compile other preprocessed languages (such as Stylus, Markdown, or CoffeeScript) directly in templates.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Web development with Jade»

Look at similar books to Web development with Jade. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Web development with Jade»

Discussion, reviews of the book Web development with Jade and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.