Book Image

Grunt Cookbook

By : Jurie-Jan Botha
Book Image

Grunt Cookbook

By: Jurie-Jan Botha

Overview of this book

<p>A web application can quickly turn into a complex orchestration of many smaller components, each one requiring its own bit of maintenance. Grunt allows you to automate all the repetitive tasks required to get everything working together by using JavaScript, the most popular programming language.</p> <p>Grunt Cookbook offers a host of easy-to-follow recipes for automating repetitive tasks in your web application's development, management, and deployment processes. This book will introduce you to methods that can be used to automate basic processes and your favorite tools. By following the recipes, you will soon be comfortable using Grunt to perform a wide array of advanced tasks in a range of different scenarios.</p>
Table of Contents (17 chapters)
Grunt Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


One of the areas where Grunt really shines is in the management of static website projects. Using Grunt for generating a static website can result in a fast and easily modifiable site, replacing the complexity and cost of building a traditional server-generated site when its advantages would not be useful to the situation.

In this chapter we'll be focusing on making use of the Assemble framework to build a static website. At its core, Assemble is a Grunt plugin, but it also uses Grunt to bring together all its other related tools.

As an example, we'll build a simple static website to represent us on the Internet in an individual capacity. Think of it as a résumé made available to the public via the World Wide Web (WWW).