Web Development with Jade. 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 - Helion
ebook
Autor: Sean LangTytuł oryginału: Web Development with Jade. 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.
ISBN: 9781783286362
stron: 80, Format: ebook
Data wydania: 2014-03-26
Księgarnia: Helion
Cena książki: 71,91 zł (poprzednio: 79,90 zł)
Oszczędzasz: 10% (-7,99 zł)
Osoby które kupowały "Web Development with Jade. 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", wybierały także:
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Przywództwo w świecie VUCA. Jak być skutecznym liderem w niepewnym środowisku 58,64 zł, (12,90 zł -78%)
- Scrum. O zwinnym zarządzaniu projektami. Wydanie II rozszerzone 58,64 zł, (12,90 zł -78%)
- Od hierarchii do turkusu, czyli jak zarządzać w XXI wieku 58,64 zł, (12,90 zł -78%)
Spis treści
Web Development with Jade. 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 eBook -- spis treści
- Web Development with Jade
- Table of Contents
- Web Development with Jade
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files, eBooks, discount offers and more
- Why Subscribe?
- Free Access for Packt account holders
- Support files, eBooks, discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Errata
- Piracy
- Questions
- 1. What is Jade?
- Markup like poetry
- Why should I preprocess?
- How Jade preprocesses
- Comparison with other preprocessors
- HAML
- PHP
- Jinja2
- Mustache
- Installation instructions
- Compiling Jade
- Summary
- Markup like poetry
- 2. Basic Syntax
- Significance of whitespace
- Tags
- Text and blocks of text
- Text on the same line
- Text blocks
- Shorthand text blocks
- Text and blocks of text
- Inline HTML
- Attributes
- Passing objects as attributes
- Shorthands
- IDs and classes
- Automatic div
- Comments
- Single line
- Block comments
- Block expansion
- Doctypes
- Summary
- 3. Feeding Data into Templates
- Syntax
- Defining variables
- Interpolation everywhere!
- Using variables without interpolation
- Escaping
- Sending the variables to the compiler
- Compiler arg
- Programmatically
- Summary
- 4. Logic in Templates
- Adding logic with JavaScript
- If/else
- For loops
- Complex operations
- Built-in logical operators
- If / else / else if
- Unless
- Cases
- Each loops
- While loops
- A warning about interpolation
- Summary
- Adding logic with JavaScript
- 5. Filters
- The full list
- Template engines
- Stylesheet languages
- Minifiers
- Others
- Examples
- Markdown
- CoffeeScript
- Stylus
- Passing arguments
- Summary
- The full list
- 6. Mixins
- Syntax and mechanics
- Defining mixins
- Calling mixins
- Passing blocks
- Another warning about interpolation
- The arguments object
- Summary
- Syntax and mechanics
- 7. Template Inheritance
- Blocks
- Blocks dont provide encapsulation
- Extends
- Replace
- Append
- Prepend
- Incompatibility
- Extra things in extenders
- Includes
- Static
- Filtered
- Jade
- Summary
- Blocks
- 8. Organizing Jade Projects
- General best practices
- Keeping logic out of templates
- Inlining
- Minification
- Removing style-induced redundancy
- Semantic divisions
- Server-side versus client-side rendering
- Client-side rendering
- Server-side rendering
- Build systems
- Summary
- General best practices
- A Closing Note Contributing Back to Jade
- Index