Cover image for Mastering Grunt.
Mastering Grunt.
Title:
Mastering Grunt.
Author:
Li, Daniel.
ISBN:
9781783980932
Personal Author:
Physical Description:
1 online resource (115 pages)
Contents:
Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: Getting Started -- Introducing Grunt -- Plugins and Gruntfile.js -- Dissecting the Gruntfile.js configuration file -- Constants and functions -- Configuration -- User-defined tasks -- Introducing Git -- Using Git -- Installing Git -- Installing Git on Windows -- Installing Git on Mac OS X -- Installing Git on Linux -- Git basics -- Introducing GitHub -- Using GitHub -- Installing GitHub -- Introducing npm -- Why use npm? -- Installing npm -- Installing npm on Windows -- Installing npm on Mac OS X and Linux -- Using npm -- Introducing Bower -- Using Bower -- Installing Bower -- Bower basics -- Installing Grunt -- Installation steps -- Troubleshooting -- Grunt: command not found -- Fatal error: Unable to find local grunt -- Deploying a Hello World page -- Summary -- Chapter 2: Developing a Blog with Jade and Sass -- A brief summary of Jade -- A brief summary of Sass -- What is Sass? -- Concatenation and minification -- Building the blog -- Installing the required Grunt plugins -- Configuring grunt-contrib-watch -- Developing the blog -- Implementing the custom build Grunt task -- Summary -- Chapter 3: Making an Employee Management System -- A brief summary of CoffeeScript -- Building the employee management system -- Installing the required Grunt plugins -- Configuring grunt-contrib-watch -- Developing the employee management system -- Implementing the custom build Grunt task -- Summary -- Chapter 4: Final Project - Simple Bulletin Board System -- Installing the required Grunt plugins -- Configuring grunt-contrib-watch -- Developing a simple Bulletin Board System (BBS) -- Writing Mocha tests using Zombie and Assert -- Implementing the custom test Grunt task -- Implementing the custom build Grunt task -- Summary.

Chapter 5: Best Practices for Modern Web Applications -- The importance of search engine optimization -- Item 1 - using keywords effectively -- Item 2 - header tags are powerful -- Item 3 - make sure to have alternative attributes for images -- Item 4 - enforcing clean URLs -- Item 5 - backlink whenever safe and possible -- Item 6 - handling HTTP status codes properly -- Item 7 - making use of your robots.txt and site map files -- Using Grunt to reinforce SEO practices -- Form validation in the modern web world -- Item 8 - using client-side validation over error pages -- Item 9 - differentiating required and optional information -- Item 10 - avoiding confusing fields -- Item 11 - using confirmation fields for pertinent data -- Item 12 - using custom inputs for complex data types -- Item 13 - preventing autovalidation with CAPTCHAs -- Item 14 - reinforcing data integrity with server-side validation -- Using Grunt to automate form testing -- Designing interfaces for the mobile generation -- Item 15 - designing preemptively with mobile in mind -- Item 16 - lazy load content using JavaScript -- Item 17 - defer parsing of JavaScript -- Using Grunt to reduce page load time -- Summary -- Index.
Abstract:
This easy-to-understand tutorial provides you with several engaging projects that show you how to utilize Grunt with various web technologies, teaching you how to master build automation and testing with Grunt in your applications.If you are a JavaScript developer who is looking to streamline their workflow with build-automation, then this book will give you a kick start in fully understanding the importance of the described web technologies and automate their processes using Grunt.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: