3 options
Web development with Jade : utilize the advanced features of Jade to create dynamic web pages and significantly decrease development time / Sean Lang ; cover image by Aniket Sawant.
- Format:
- Book
- Author/Creator:
- Lang, Sean, author.
- Series:
- Community experience distilled.
- Community Experience Distilled
- Language:
- English
- Subjects (All):
- Web site development.
- Document markup languages.
- Physical Description:
- 1 online resource (80 p.)
- Edition:
- 1st ed.
- Place of Publication:
- Birmingham, England : Packt Publishing, 2014.
- Language Note:
- English
- Biography/History:
- Lang Sean: 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.
- Summary:
- 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.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.
- Contents:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 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; Chapter 2: Basic Syntax; Significance of white space; Tags; Text and blocks of text; Text on the same line; Text blocks; Shorthand text blocks; Inline HTML; Attributes; Passing objects as attributes; Shorthands; IDs and classes; Automatic div; Comments; Single line
- Block commentsBlock expansion; Doctypes; Summary; Chapter 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; Chapter 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; Chapter 5: Filters; The full list; Template engines; Stylesheet languages; Minifiers; Other
- ExamplesMarkdown; CoffeeScript; Stylus; Passing arguments; Summary; Chapter 6: Mixins; Syntax and mechanics; Defining mixins; Calling mixins; Passing blocks; Another warning about interpolation; The arguments object; Summary; Chapter 7: Template Inheritance; Blocks; Blocks don't provide encapsulation; Extends; Replace; Append; Prepend; Incompatibility; Extra things in extenders; Includes; Static; Filtered; Jade; Summary; Chapter 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 renderingClient-side; Server-side; Build systems; Summary; Appendix: A Closing Note - Contributing Back to Jade; Index
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (ebrary, viewed April 11, 2014).
- ISBN:
- 9781783286362
- 1783286369
- OCLC:
- 875641367
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.