• Complain

Brian P. Hogan - Automate with Grunt: The Build Tool for JavaScript

Here you can read online Brian P. Hogan - Automate with Grunt: The Build Tool for JavaScript full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2014, publisher: Pragmatic Bookshelf, 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.

Brian P. Hogan Automate with Grunt: The Build Tool for JavaScript
  • Book:
    Automate with Grunt: The Build Tool for JavaScript
  • Author:
  • Publisher:
    Pragmatic Bookshelf
  • Genre:
  • Year:
    2014
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Automate with Grunt: The Build Tool for JavaScript: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Automate with Grunt: The Build Tool for JavaScript" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Grunt is everywhere. JavaScript projects from jQuery to Twitter Bootstrap use Grunt to convert code, run tests, and produce distributions for production. Its a build tool in the spirit of Make and Rake, but written with modern apps in mind. This book gets you up to speed with Grunt using practical hands-on examples, so you can wrangle your projects with ease. Youll learn how to create and maintain tasks and project builds, and automate your workflow with plugins and custom tasks.
JavaScript has moved from being the language you love to hate to the language you need to use. And as JavaScript applications get more complex, you need a process to manage that complexity. While online tutorials just explain how to slap together a configuration file, this book goes further and shows you how to create your own tasks, design your own project templates, combine plugins together to bring a web app to life, and build your own plugins.
Youll start by learning the basics of task creation, error handling, and logging as you create a simple configuration that executes basic JavaScript code using Node.js. Then youll jump right into file manipulation as you read, write, copy, and delete files. Youll learn how Grunts powerful multitasks work as you build a task to concatenate files together. Once youve got a grasp on these basics, youll build a simple app with AngularJS and CoffeeScript, using Grunt to do all the heavy lifting and script processing. Finally, youll create your own plugin so you can understand how plugins work.
Each chapter contains hands-on exercises and ideas for further study. Whether you rock Ruby or sling C#, Grunt will be a useful addition to your toolbox.
What You Need:
This book covers Grunt 0.4.1 and higher, and requires basic knowledge of JavaScript and command-line tools on Windows, OS X, or Linux.

Brian P. Hogan: author's other books


Who wrote Automate with Grunt: The Build Tool for JavaScript? Find out the surname, the name of the author of the book and a list of all author's works by series.

Automate with Grunt: The Build Tool for JavaScript — 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 "Automate with Grunt: The Build Tool for JavaScript" 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
Automate with Grunt The Build Tool for JavaScript by Brian P Hogan Version - photo 1
Automate with Grunt
The Build Tool for JavaScript
by Brian P. Hogan
Version: P1.0 (April 2014)
Copyright 2014 The Pragmatic Programmers, LLC. This book is licensed tothe individual who purchased it. We don't copy-protect itbecause that would limit your ability to use it for yourown purposes. Please don't break this trustyou can use this across all of your devices but please do not share this copywith other members of your team, with friends, or via file sharing services. Thanks.
Dave & Andy.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and The Pragmatic Programmers, LLC was aware of a trademark claim, the designations have been printed in initial capital letters or in all capitals. The Pragmatic Starter Kit, The Pragmatic Programmer, Pragmatic Programming, Pragmatic Bookshelf and the linking g device are trademarks of The Pragmatic Programmers, LLC.

Every precaution was taken in the preparation of this book. However, the publisher assumes no responsibility for errors or omissions, or for damages that may result from the use of information (including program listings) contained herein.

Our Pragmatic courses, workshops, and other products can help you and your team create better software and have more fun. For more information, as well as the latest Pragmatic titles, please visit us at http://pragprog.com.

The team that produced this book includes:
Susannah Davidson Pfalzer (editor)
Candace Cunningham (copyeditor)
David J Kelly (typesetter)
Janet Furlow (producer)
Ellie Callahan (support)
For international rights, please contact .
For the Best Reading Experience...

We strongly recommend that you read this book with the publisher defaults setting enabled for your reading device or application. Certain formats and characters may not display correctly without this setting. Please refer to the instructions for your reader on how to enable the publisher defaults setting.

Table of Contents
Copyright 2014, The Pragmatic Bookshelf.
Early praise for Automate with Grunt

Whether youre still writing your first Grunt task or trying to come up with a complex workflow, this compact and pragmatic book will prove to be a handy companion and give you the confidence to explore the full and rich Grunt ecosystem.

Peter Cooper
Managing editor, JavaScript Weekly

This book focuses on how Grunt works and not on the just do this; just do that steps that you typically see in blog posts and documentation. Brian quickly and effectively shows how to integrate Grunt into your own workflow and how to customize your workflow for ultimate web-development productivity.

Jenna Pederson
Independent developer, 612 Software Foundry

Ive spent countless hours working with Grunt to build a developer tool called Lineman. Unfortunately, Grunts documentation alone was never enough to show me the simplest, most conventional way to accomplish what I needed. If Id had this book to help me back when I first started, I would have established a deeper, meaningful understanding of Grunt much more quickly!

Justin Searls
Co-Founder, Test Double, LLC

This book is a quick and easy dive into a task-running tool whose power and simplicity are surprising. The examples in this book are fun to follow and also incredibly practical for any developer.

Jessica Janiuk
Front-end developer

Acknowledgments

First, thank you for picking up this book. I wrote it because I was frustrated at the lack of meaningful Grunt documentation online. Hopefully you find this a nice, handy quick start.

Next, The Pragmatic Bookshelf continues to be the absolute best place to publish books. Dave Thomas and Andy Hunt always provide just the right amount of guidance, and my wonderful editor Susannah Pfalzer once again made sure that everything I wanted to say actually made sense.

The technical reviewers for this book were excellent and thorough, trying every example to find out what worked and what didnt, and keeping me honest when it came to explaining how things functioned. Thank you, Andrea Barisone, Kevin Beam, Daniel Bretoi, Trevor Burnham, Alex Henry, Jeff Holland, Jessica Janiuk, Jenna Pederson, Stephen Orr, and Justin Searls, for all of your great feedback and insights along the way.

Thanks to my business associates Chris Warren, Chris Johnson, Mike Weber, Nick LaMuro, Austen Ott, Erich Tesky, Kevin Gisi, Jon Kinney, and Myles Steinhauser for their continued support.

Finally, thank you, Carissa, Ana, and Lisa, for your love, understanding, and support. And for being awesome.

Copyright 2014, The Pragmatic Bookshelf.

Preface

Web development has changed. The days of opening a few text files in your editor of choice and then uploading them to the live site are long gone. Todays web applications demand complex styling and functionality that only advanced CSS and JavaScript can provide. These assets get quite large and unwieldy, and the process requires a new workflow.

The JavaScript community has embraced Grunt, a powerful automation tool and task runner written in JavaScript, to handle these workflows. With Grunt, you can watch files for changes, concatenate CSS files and JavaScript files together, obfuscate or minify client-side code, run tests, and check your code for syntax errors, all automatically. Unfortunately, a lot of documentation on Grunt centers on copying and pasting various bits of code rather than focusing on how Grunt itself works.

This book will help you understand how Grunt works and show you how you can make it part of your development process. When youre done youll be able to use Grunt on your own projects and build your own tasks and plug-ins.

Whats in This Book

This guide is meant to be a quick overview of Grunt, using hands-on examples to illustrate its features.

Well start out by looking at the very basics of Grunt, defining some simple tasks as we build our first Gruntfile. Well create basic tasks, create tasks that take in parameters, chain tasks together, and document tasks. Then well look at Grunts built-in tools for working with files and folders on the file system.

After that well look at multitasks, a feature of Grunt that lets us define a single task that can have multiple output targets. This is useful for file conversion and other tasks where you might need to create separate distributions from a single source.

Next well use several Grunt plug-ins together as we configure a workflow to develop a modern single-page web application with CoffeeScript and the AngularJS framework. Well cover conversion, minification, and file watching so you can see how easy Grunt makes automating important repetitive tasks.

Then well look at what it takes to create our very own plug-in for Grunt. This will give us a chance to explore how Grunt can leverage Node.js and external programs, as well as how to break Grunt tasks into reusable modules.

And finally, well use Grunt to create project scaffolds. Well play with existing plug-ins and then well create our very own project template that we can use when we start our own web projects.

In addition, each chapter gives you suggestions for further exploration, offering you the opportunity to dig deeper into Grunt.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Automate with Grunt: The Build Tool for JavaScript»

Look at similar books to Automate with Grunt: The Build Tool for JavaScript. 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 «Automate with Grunt: The Build Tool for JavaScript»

Discussion, reviews of the book Automate with Grunt: The Build Tool for JavaScript 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.