SlideShare a Scribd company logo
Using Node and Grunt
to create an
Awesome Workflow
Vernon Kesner
Who is this guy?
Keep it short, buddy.
Developer Advocate
Ally Financial Inc.
What are we going
to talk about?
First, let’s look at a few
problems that we faced
Our problems…
•

Pretty big team (around 30 in development)

•

Tightly bound code

•

Enhancement work & New Projects going on at
the same time; including rolling maintenance

•

Support of legacy, kinda-legacy and new code
“How can we create a more
maintainable codebase?”
“How can we automate
common tasks?”
“How can we make
debugging easier?”
“How can we create 

living documentation?”
Not every tool in the bag, but key parts of the foundation.
Importance of the full-stack
being JavaScript…
•

Back-end folks under a completely different
team and in a different space

•

Needed tooling that could be managed by our
front-end teams
Grunt.js
Organization matters

Separate your custom tasks & configurations

http://www.thomasboyt.com/2013/09/01/maintainable-grunt.html
Solutions!
Using Node and Grunt to create an awesome workflow
Solution #1

Creating a more
maintainable
codebase
Maintainability
Component based architecture
•

jQuery UI Widget Factory

•

Linting, Testing and Style Guide

•

Handlebars templates, Sass & Compass
Reusability
Separating concerns
•

HTML Conventions

•

Configurable components

•

Reusable layouts
Solution #2

Tooling focused
on creating an
efficient workflow
Two Unique Workflows
1. Testing cycle, hot fixes, etc.
2. New and Enhancement efforts
Both workflows use common components
but the approach is distinctly different.
Testing cycle, hotfixes, etc.
grunt preview

•

Reverse proxy against 25+ environments

•

Live data sources

•

Ability to localize any asset or data response

•

Selective compilation

•

Source maps to aid in debugging
New and Enhancement efforts
grunt local

•

Rapid development of components & layouts

•

Live previews that can be developed quickly

•

Living Style Guide

•

Yo for scaffolding
Solution #3

An intelligent
and simple
build system
http://www.flickr.com/photos/stewf/191501992/
Intelligent build system
Automate as much as possible
•

Selective build for faster build times

•

Several steps managed by one main task
•

•

JSHint, QUnit, Uglify, Sass, and image optimization

Dependencies
•

Sass

•

JS with Uglify
Node and Grunt have allowed us
to rapidly increase efficiency in
every phase of development
Thanks!
!

Twitter: @vernonk
Email: vernonkesner@gmail.com
www.ally.com

More Related Content

Similar to Using Node and Grunt to create an awesome workflow (20)

PPTX
PHP Unconference Continuous Integration
Nils Hofmeister
 
PDF
Facilitating continuous delivery in a FinTech world with Salt, Jenkins, Nexus...
Michel Buczynski
 
PDF
Facilitating continuous delivery in a FinTech world with Salt, Jenkins, Nexus...
Chocolatey Software
 
PPTX
How do we drive tech changes
Jaewoo Ahn
 
PPTX
Kubernetes, Toolbox to fail or succeed for beginners - Demi Ben-Ari, VP R&D @...
Demi Ben-Ari
 
PDF
Back To Square One: Building a WordPress Starter Development Kit
kyleu
 
PPT
Case study
karan saini
 
PPTX
From Silos to DevOps: Our Story
Gil Irizarry
 
PPTX
Version Control, Writers, and Workflows
stc-siliconvalley
 
PPTX
Software Architecture for Agile Development
Hayim Makabee
 
PPTX
DevOps Days Ohio
Kelly Looney
 
PPTX
The Hiscox DevOps journey @ IBM InterConnect, Las Vegas
Jonathan Fletcher
 
PPTX
Continuous Integration
XPDays
 
PPTX
Making software development processes to work for you
Ambientia
 
PDF
Digital Success Stack for DCBKK 2018
Kyvio
 
PDF
Gartner Infrastructure and Operations Summit Berlin 2015 - DevOps Journey
Kelly Looney
 
PPTX
DevOps @ IBM DeveloperConnect, Twickenham Stadium
Jonathan Fletcher
 
PDF
Devconf 2011 - PHP - How Yii framework is developed
Alexander Makarov
 
PPTX
A modern architecturereview–usingcodereviewtools-ver-3.5
SSW
 
PDF
Making Gentoo Tick
Anant Narayanan
 
PHP Unconference Continuous Integration
Nils Hofmeister
 
Facilitating continuous delivery in a FinTech world with Salt, Jenkins, Nexus...
Michel Buczynski
 
Facilitating continuous delivery in a FinTech world with Salt, Jenkins, Nexus...
Chocolatey Software
 
How do we drive tech changes
Jaewoo Ahn
 
Kubernetes, Toolbox to fail or succeed for beginners - Demi Ben-Ari, VP R&D @...
Demi Ben-Ari
 
Back To Square One: Building a WordPress Starter Development Kit
kyleu
 
Case study
karan saini
 
From Silos to DevOps: Our Story
Gil Irizarry
 
Version Control, Writers, and Workflows
stc-siliconvalley
 
Software Architecture for Agile Development
Hayim Makabee
 
DevOps Days Ohio
Kelly Looney
 
The Hiscox DevOps journey @ IBM InterConnect, Las Vegas
Jonathan Fletcher
 
Continuous Integration
XPDays
 
Making software development processes to work for you
Ambientia
 
Digital Success Stack for DCBKK 2018
Kyvio
 
Gartner Infrastructure and Operations Summit Berlin 2015 - DevOps Journey
Kelly Looney
 
DevOps @ IBM DeveloperConnect, Twickenham Stadium
Jonathan Fletcher
 
Devconf 2011 - PHP - How Yii framework is developed
Alexander Makarov
 
A modern architecturereview–usingcodereviewtools-ver-3.5
SSW
 
Making Gentoo Tick
Anant Narayanan
 

Recently uploaded (20)

PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Ad

Using Node and Grunt to create an awesome workflow