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
PPTX
NRD: Nagios Result Distributor
PPTX
Basics of Node.js
PDF
Automate your business
PDF
SoCal NodeJS Meetup 20170215_aws_lambda
PPT
Pre-rendering single page app
PDF
Serverless haskell
PDF
Ecs gitlab runners
Adopting serverless
NRD: Nagios Result Distributor
Basics of Node.js
Automate your business
SoCal NodeJS Meetup 20170215_aws_lambda
Pre-rendering single page app
Serverless haskell
Ecs gitlab runners

What's hot (19)

PDF
Gulp and Compass
PPTX
Nitty Gritty of Adaptive Video Transmuxing in JS
PDF
Building an Efficient AI Training Platform at bilibili with Alluxio
PDF
Currying in JavaScript
PPTX
Assembly Language Tutorials for Windows - 04 Data Transfers Part-3
PDF
초기 스타트업의 AWS - 김지훈(투어라이브) :: AWS Community Day Online 2020
PPT
Escalabilidade com Lambda e Elastic Beanstalk – Parte I
PDF
AWS re:Invent re:Cap - 자동화된 반응형 코드 구동: Amazon Lambda - 정윤진
PPTX
Big data school AWS
PDF
Runtime performance
PDF
Docker ecosystem
PDF
Asynchronous AMQP
PDF
Gatling @ Scala.Io 2013
PDF
2009年终总结(张庆城)
PDF
Serverless Computing with AWS
PDF
Performance Tales of Serverless - CloudNative London 2018
PPTX
Reactive
PPTX
High Performance API Mashups with Node.js and ql.io
PDF
Kubernetes and elixir
Gulp and Compass
Nitty Gritty of Adaptive Video Transmuxing in JS
Building an Efficient AI Training Platform at bilibili with Alluxio
Currying in JavaScript
Assembly Language Tutorials for Windows - 04 Data Transfers Part-3
초기 스타트업의 AWS - 김지훈(투어라이브) :: AWS Community Day Online 2020
Escalabilidade com Lambda e Elastic Beanstalk – Parte I
AWS re:Invent re:Cap - 자동화된 반응형 코드 구동: Amazon Lambda - 정윤진
Big data school AWS
Runtime performance
Docker ecosystem
Asynchronous AMQP
Gatling @ Scala.Io 2013
2009年终总结(张庆城)
Serverless Computing with AWS
Performance Tales of Serverless - CloudNative London 2018
Reactive
High Performance API Mashups with Node.js and ql.io
Kubernetes and elixir
Ad

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

PDF
Intro to Gulp
PDF
Plumbin Pipelines - A Gulp.js workshop
PDF
Gulp - The Streaming Build System
PDF
Gulp - the streaming build system
PPTX
Getting Started with Gulp
PPTX
Take A Gulp at Task Automation
PPTX
Introduction to Gulp
ODP
GulpJs - An Introduction
ODP
Introduction to GulpJs
PPTX
Gulp and bower Implementation
PDF
Improving your workflow with gulp
PPTX
Gulp js
PDF
Automating your workflow with Gulp.js
PDF
Angular workflow with gulp.js
PPTX
Gulp: Task Runner
PDF
Getting started with gulpjs
PDF
Gulp: Your Build Process Will Thank You
PDF
Automating Large Applications on Modular and Structured Form with Gulp
Intro to Gulp
Plumbin Pipelines - A Gulp.js workshop
Gulp - The Streaming Build System
Gulp - the streaming build system
Getting Started with Gulp
Take A Gulp at Task Automation
Introduction to Gulp
GulpJs - An Introduction
Introduction to GulpJs
Gulp and bower Implementation
Improving your workflow with gulp
Gulp js
Automating your workflow with Gulp.js
Angular workflow with gulp.js
Gulp: Task Runner
Getting started with gulpjs
Gulp: Your Build Process Will Thank You
Automating Large Applications on Modular and Structured Form with Gulp
Ad

More from Silicon Straits (20)

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

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPT
What is a Computer? Input Devices /output devices
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
TLE Review Electricity (Electricity).pptx
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
STKI Israel Market Study 2025 version august
PDF
project resource management chapter-09.pdf
PPTX
1. Introduction to Computer Programming.pptx
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Architecture types and enterprise applications.pdf
NewMind AI Weekly Chronicles – August ’25 Week III
What is a Computer? Input Devices /output devices
OMC Textile Division Presentation 2021.pptx
TLE Review Electricity (Electricity).pptx
observCloud-Native Containerability and monitoring.pptx
Zenith AI: Advanced Artificial Intelligence
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
DP Operators-handbook-extract for the Mautical Institute
Developing a website for English-speaking practice to English as a foreign la...
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
WOOl fibre morphology and structure.pdf for textiles
STKI Israel Market Study 2025 version august
project resource management chapter-09.pdf
1. Introduction to Computer Programming.pptx
Group 1 Presentation -Planning and Decision Making .pptx
Architecture types and enterprise applications.pdf

Building workflow in Javascript: Build the awesome with Gulp.