Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Grunt: The JavaScript Task Runner

You're reading from   Getting Started with Grunt: The JavaScript Task Runner If you know JavaScript you ought to know Grunt – the Task Runner for managing sophisticated web applications. From a basic understanding to constructing your own advanced Grunt tasks, this tutorial has it all covered.

Arrow left icon
Product type Paperback
Published in Feb 2014
Publisher
ISBN-13 9781783980628
Length 132 pages
Edition Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Jaime Pillora Jaime Pillora
Author Profile Icon Jaime Pillora
Jaime Pillora
Bocoup LLC Bocoup LLC
Author Profile Icon Bocoup LLC
Bocoup LLC
Arrow right icon
View More author details
Toc

Chapter 4. Grunt in Action

It is now time to put our newfound knowledge into action. Grunt can be used in a wide variety of ways; however, the most common use case is a static website. Static websites are growing in popularity, as the web development industry requires ever-increasing levels of scalability. Although using a Content Management System (CMS) is a common method of managing a website, it is not the most efficient method of serving a website. This is because the majority of CMSs, such as WordPress, require PHP and an accompanying database. Static files on the other hand, can be hosted very cheaply on a cloud service such as Amazon's S3. Even if our website requires a server component to provide authentication, we may, for example, reduce the load on the server by moving as much logic as possible into the frontend. This provides us with a greater ability to scale, while reducing costs at the same time. We can take this idea of scalability even further with the concept of single...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image