SlideShare a Scribd company logo
Gulp
An Introduction
• Detect errors, running test.
• Concatenating and minifying JS, CSS.
• Compile CoffeeScript, SASS, LESS, etc.
• ….
“I realized that a task-based build tool with built-
in, commonly used tasks was the approach that
would work best for me” — Ben Alman (03/2012)
Building workflow in Javascript: Build the awesome with Gulp.
A new player appears:
What is Gulp?
• Streaming build system
• Code over configuration
• Small, idiomatic plugins
• Simple API to use
Streams
Lint
Run test
Concatenate
Minify
Streams
Streams
• Gulp use streams:
• Like the pipe command of *NIX (|)
=> Less I/O operations => Faster building speed
Config vs Code
Gulp API
gulp.src(globs[, options])
Returns a readable stream.
Read files that match with provided globs.
gulp.dest(path)
Returns a writable stream.
Write piped file objects to the provided path.
gulp.task(name[, deps], fn)
Register a Gulp task.
gulp.watch(glob [, opts], tasks)
gulp.watch(glob [, opts, cb])
Watch files and do something when a file changes.
Read more…
• GulpJS Homepage
• Gulp by Eric Schoffstall
• Build Wars - Gulp vs Grunt
• Stream Handbook
Demo
• You can get it from Dropbox:
• http://goo.gl/iFL9JM
About @Vinh Bachsy
• Author: Vinh Bachsy @: bsdvinhuit@gmail.com
• You can follow me at:
• https://plus.google.com/+VinhBachsy
• https://www.facebook.com/vinh.bachsy
• And the Javascript HCM Meetup:
• http://www.meetup.com/JavaScript-Ho-Chi-Minh-City/
• https://www.facebook.com/JavaScriptHCMC
• https://plus.google.com/communities/116105314977285194967

More Related Content

PPTX
Adopting serverless
Gayan Hewa
 
PPTX
NRD: Nagios Result Distributor
Jose Luis Martínez
 
PPTX
Basics of Node.js
Alper Unal
 
PDF
Automate your business
zmoog
 
PDF
SoCal NodeJS Meetup 20170215_aws_lambda
Stefan Deusch
 
PPT
Pre-rendering single page app
Michał Koźmiński
 
PDF
Serverless haskell
David Overton
 
PDF
Ecs gitlab runners
dynnamitt
 
Adopting serverless
Gayan Hewa
 
NRD: Nagios Result Distributor
Jose Luis Martínez
 
Basics of Node.js
Alper Unal
 
Automate your business
zmoog
 
SoCal NodeJS Meetup 20170215_aws_lambda
Stefan Deusch
 
Pre-rendering single page app
Michał Koźmiński
 
Serverless haskell
David Overton
 
Ecs gitlab runners
dynnamitt
 

What's hot (19)

PDF
Gulp and Compass
fatleaf
 
PPTX
Nitty Gritty of Adaptive Video Transmuxing in JS
Donato Borrello
 
PDF
Building an Efficient AI Training Platform at bilibili with Alluxio
Alluxio, Inc.
 
PDF
Currying in JavaScript
Ideas2IT Technologies
 
PPTX
Assembly Language Tutorials for Windows - 04 Data Transfers Part-3
Sangram Kesari Ray
 
PDF
초기 스타트업의 AWS - 김지훈(투어라이브) :: AWS Community Day Online 2020
AWSKRUG - AWS한국사용자모임
 
PPT
Escalabilidade com Lambda e Elastic Beanstalk – Parte I
Leandro Silva
 
PDF
AWS re:Invent re:Cap - 자동화된 반응형 코드 구동: Amazon Lambda - 정윤진
Amazon Web Services Korea
 
PPTX
Big data school AWS
DataArt
 
PDF
Runtime performance
Eliran Eliassy
 
PDF
Docker ecosystem
Bohdan Sydor
 
PDF
Asynchronous AMQP
Rinat Khabibiev
 
PDF
Gatling @ Scala.Io 2013
slandelle
 
PDF
2009年终总结(张庆城)
daqing1986
 
PDF
Serverless Computing with AWS
TransferWiseSG
 
PDF
Performance Tales of Serverless - CloudNative London 2018
☁️ Mikhail Shilkov
 
PPTX
Reactive
Pranav E K
 
PPTX
High Performance API Mashups with Node.js and ql.io
Jonathan LeBlanc
 
PDF
Kubernetes and elixir
Jeffrey Chan
 
Gulp and Compass
fatleaf
 
Nitty Gritty of Adaptive Video Transmuxing in JS
Donato Borrello
 
Building an Efficient AI Training Platform at bilibili with Alluxio
Alluxio, Inc.
 
Currying in JavaScript
Ideas2IT Technologies
 
Assembly Language Tutorials for Windows - 04 Data Transfers Part-3
Sangram Kesari Ray
 
초기 스타트업의 AWS - 김지훈(투어라이브) :: AWS Community Day Online 2020
AWSKRUG - AWS한국사용자모임
 
Escalabilidade com Lambda e Elastic Beanstalk – Parte I
Leandro Silva
 
AWS re:Invent re:Cap - 자동화된 반응형 코드 구동: Amazon Lambda - 정윤진
Amazon Web Services Korea
 
Big data school AWS
DataArt
 
Runtime performance
Eliran Eliassy
 
Docker ecosystem
Bohdan Sydor
 
Asynchronous AMQP
Rinat Khabibiev
 
Gatling @ Scala.Io 2013
slandelle
 
2009年终总结(张庆城)
daqing1986
 
Serverless Computing with AWS
TransferWiseSG
 
Performance Tales of Serverless - CloudNative London 2018
☁️ Mikhail Shilkov
 
Reactive
Pranav E K
 
High Performance API Mashups with Node.js and ql.io
Jonathan LeBlanc
 
Kubernetes and elixir
Jeffrey Chan
 
Ad

Similar to Building workflow in Javascript: Build the awesome with Gulp. (20)

PDF
Intro to Gulp
Matt Brunt
 
PDF
Plumbin Pipelines - A Gulp.js workshop
Stefan Baumgartner
 
PDF
Gulp - The Streaming Build System
TO THE NEW | Technology
 
PDF
Gulp - the streaming build system
Sergey Romaneko
 
PPTX
Getting Started with Gulp
Jure Šuvak
 
PPTX
Take A Gulp at Task Automation
Joel Lord
 
PPTX
Introduction to Gulp
apdhtg6
 
ODP
GulpJs - An Introduction
Knoldus Inc.
 
ODP
Introduction to GulpJs
Harish Gadiya
 
PPTX
Gulp and bower Implementation
Prashant Shrestha
 
PDF
Improving your workflow with gulp
frontendne
 
PPTX
Gulp js
Ken Gilbert
 
PDF
Automating your workflow with Gulp.js
Bo-Yi Wu
 
PDF
Angular workflow with gulp.js
Cihad Horuzoğlu
 
PPTX
Gulp: Task Runner
Christopher Bautista
 
PDF
Getting started with gulpjs
unmesh dusane
 
PDF
Gulp: Your Build Process Will Thank You
RadWorks
 
PDF
Automating Large Applications on Modular and Structured Form with Gulp
Anderson Aguiar
 
Intro to Gulp
Matt Brunt
 
Plumbin Pipelines - A Gulp.js workshop
Stefan Baumgartner
 
Gulp - The Streaming Build System
TO THE NEW | Technology
 
Gulp - the streaming build system
Sergey Romaneko
 
Getting Started with Gulp
Jure Šuvak
 
Take A Gulp at Task Automation
Joel Lord
 
Introduction to Gulp
apdhtg6
 
GulpJs - An Introduction
Knoldus Inc.
 
Introduction to GulpJs
Harish Gadiya
 
Gulp and bower Implementation
Prashant Shrestha
 
Improving your workflow with gulp
frontendne
 
Gulp js
Ken Gilbert
 
Automating your workflow with Gulp.js
Bo-Yi Wu
 
Angular workflow with gulp.js
Cihad Horuzoğlu
 
Gulp: Task Runner
Christopher Bautista
 
Getting started with gulpjs
unmesh dusane
 
Gulp: Your Build Process Will Thank You
RadWorks
 
Automating Large Applications on Modular and Structured Form with Gulp
Anderson Aguiar
 
Ad

More from Silicon Straits (20)

PDF
[THE PIRATES’ 3-year anniversary] Jonas' story
Silicon Straits
 
PPTX
Focus - Quang Trung
Silicon Straits
 
PPTX
“One man” development process model
Silicon Straits
 
PDF
Silicon Straits Origin
Silicon Straits
 
PDF
Kotlin Overview
Silicon Straits
 
PDF
What we use to build Android apps at Silicon Straits
Silicon Straits
 
PDF
Silicon Straits Internship Program Review - Season 1
Silicon Straits
 
PDF
[SIP 2015] Hardware Proposal: Ads view counter for AdsBox
Silicon Straits
 
PDF
[SIP 2015] Design Proposal: Design and animated prototype
Silicon Straits
 
PPTX
[SIP 2015] iOS Proposal: VIPER
Silicon Straits
 
PPTX
[SIP 2015] QA Intern: Test Automation
Silicon Straits
 
PPTX
[SIP 2015] Back-end Proposal: Chat System using Socket.io
Silicon Straits
 
PDF
[SIP 2015] Marketing Proposal: Making edit flow more informative and simpler
Silicon Straits
 
PDF
[Ebook] UI Document - Tú Bùi
Silicon Straits
 
PDF
[Sharing T3] Tình hình chiến sự Siêu anh hùng - Tú Bùi
Silicon Straits
 
PDF
[Sharing T1] How to take good photos - Anh Minh
Silicon Straits
 
PPTX
[Sharing T12] Tín dụng - Bí quyết tay trắng làm nên nợ nần - Minh Hòa
Silicon Straits
 
PDF
[Sharing T12] Một số câu chuyện về Âm lịch và Dương lịch - Xuân Quang
Silicon Straits
 
PDF
[2014 SSS Infographic] 2014, SSS có gì đặc biệt?
Silicon Straits
 
PDF
[Sharing T11] Hussar - The winged cavalry - Cường Đoàn
Silicon Straits
 
[THE PIRATES’ 3-year anniversary] Jonas' story
Silicon Straits
 
Focus - Quang Trung
Silicon Straits
 
“One man” development process model
Silicon Straits
 
Silicon Straits Origin
Silicon Straits
 
Kotlin Overview
Silicon Straits
 
What we use to build Android apps at Silicon Straits
Silicon Straits
 
Silicon Straits Internship Program Review - Season 1
Silicon Straits
 
[SIP 2015] Hardware Proposal: Ads view counter for AdsBox
Silicon Straits
 
[SIP 2015] Design Proposal: Design and animated prototype
Silicon Straits
 
[SIP 2015] iOS Proposal: VIPER
Silicon Straits
 
[SIP 2015] QA Intern: Test Automation
Silicon Straits
 
[SIP 2015] Back-end Proposal: Chat System using Socket.io
Silicon Straits
 
[SIP 2015] Marketing Proposal: Making edit flow more informative and simpler
Silicon Straits
 
[Ebook] UI Document - Tú Bùi
Silicon Straits
 
[Sharing T3] Tình hình chiến sự Siêu anh hùng - Tú Bùi
Silicon Straits
 
[Sharing T1] How to take good photos - Anh Minh
Silicon Straits
 
[Sharing T12] Tín dụng - Bí quyết tay trắng làm nên nợ nần - Minh Hòa
Silicon Straits
 
[Sharing T12] Một số câu chuyện về Âm lịch và Dương lịch - Xuân Quang
Silicon Straits
 
[2014 SSS Infographic] 2014, SSS có gì đặc biệt?
Silicon Straits
 
[Sharing T11] Hussar - The winged cavalry - Cường Đoàn
Silicon Straits
 

Recently uploaded (20)

PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Doc9.....................................
SofiaCollazos
 
Software Development Methodologies in 2025
KodekX
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 

Building workflow in Javascript: Build the awesome with Gulp.