SlideShare a Scribd company logo
@bendrucker
♥
1. Why you need a module loader
2. Intro to Browserify
3. Live code
WARNING
Strong opinions ahead
Why do I need a
module loader?
1
Straw Poll
Bower
Bower Features
• Package manager for the client side
• Download packages from a git
repository
• Handle semantic versioning
• Download dependencies
Vomit All Problems
Onto User
Dependency Graph
App
A B C
D E F G H
ABCDEFGH
<script> tags
Concatenating your files
is <script> tags with
fewer HTTP requests
Browserify + Angular
Why We Need a Module Loader
• We want to build our apps without manually
specifying every script in order
• We want dependencies without conflict vomit
• There are 146,330 packages on npm and it
would be nice to use them
1
Intro to
2
Browserify understands
Node’s require algorithm
and builds a single script
that can run in the browser
module.exports = require('angular')
.module('myApp', [
require('angular-resource'),
require('angular-messages')
])
.name
// node_modules/angular-resource/
index.js
require('./angular-resource')
module.exports = 'ngResource'
browserify -e app.js > dist/app.js
We want to build our apps
without manually specifying
every script in order
✓
npm install --save angular dog-names
Access to 146,330 packages
on npm
✓
node_modules is nested
• node_modules/
• angular-credit-cards/
• node_modules/
• ap/
• creditcards/
• node_modules/
• camel-case/
• creditcards-types/
• fast-luhn/
Dependencies without
conflict vomit
✓
Browserify + Angular
Code
3
Thank You!
@bendrucker
bendrucker.me
github.com/bendrucker

More Related Content

PDF
Pluggable web app using Angular (Odessa JS conf)
PDF
Introduction of bootstrap in angular
PPTX
React or Angular and SharePoint Framework Development
PPTX
Angular vs React: Building modern SharePoint interfaces with SPFx
PPTX
Reason to choose Angular JS for your Web Application
PDF
Building blocks of Angular
PDF
Documenting your REST API with Swagger - JOIN 2014
PDF
Euroclojure2014: Schema & Swagger - making your Clojure web APIs more awesome
Pluggable web app using Angular (Odessa JS conf)
Introduction of bootstrap in angular
React or Angular and SharePoint Framework Development
Angular vs React: Building modern SharePoint interfaces with SPFx
Reason to choose Angular JS for your Web Application
Building blocks of Angular
Documenting your REST API with Swagger - JOIN 2014
Euroclojure2014: Schema & Swagger - making your Clojure web APIs more awesome

What's hot (20)

PDF
React UI Development: Introduction to "UI Component as API"
PPT
Dockerising Appium : London Appium Meetup
PPTX
Building Massive AngularJS Apps
PDF
Introduction to spring boot
PDF
Mvvm is like born fraction
PPTX
Developing .NET Core AWS Lambda functions
PDF
Алексей Волков "Введение в React Native"
PDF
Appium Introduction
PPTX
Document your rest api using swagger - Devoxx 2015
PPTX
Consuming Restful APIs using Swagger v2.0
PPTX
Understanding how to use Swagger and its tools
PDF
Fitur Terbaru Flutter di Tahun 2021 - Widyarso Joko Purnomo
PDF
Swagger / Quick Start Guide
PPTX
Gdg makurdi
PDF
Getting Started with React Native (and should I use it at all?)
PDF
Jquery react angular
PDF
Angular meetup 2 2019-08-29
PDF
Real World AngularJS recipes: beyond TodoMVC
PDF
1.3にBrowserify組み合わせてイベント駆動にした話
PPTX
Swagger - Making REST APIs friendlier
React UI Development: Introduction to "UI Component as API"
Dockerising Appium : London Appium Meetup
Building Massive AngularJS Apps
Introduction to spring boot
Mvvm is like born fraction
Developing .NET Core AWS Lambda functions
Алексей Волков "Введение в React Native"
Appium Introduction
Document your rest api using swagger - Devoxx 2015
Consuming Restful APIs using Swagger v2.0
Understanding how to use Swagger and its tools
Fitur Terbaru Flutter di Tahun 2021 - Widyarso Joko Purnomo
Swagger / Quick Start Guide
Gdg makurdi
Getting Started with React Native (and should I use it at all?)
Jquery react angular
Angular meetup 2 2019-08-29
Real World AngularJS recipes: beyond TodoMVC
1.3にBrowserify組み合わせてイベント駆動にした話
Swagger - Making REST APIs friendlier
Ad

Similar to Browserify + Angular (20)

PDF
[개인 프로젝트] 쿠버네티스를 이용한 개발환경 자동화 구축시스템 - 프로토타입
PPTX
Angular2 + Ng-Lightning + Lightning Design System = Great Apps
PPTX
Phonegap android angualr material design
PPTX
Modern Web-site Development Pipeline
PDF
ENIB 2015 2016 - CAI Web S02E03- Forge JS 1/4 - La forge JavaScript
PPTX
Ultimate Guide to Microservice Architecture on Kubernetes
PPTX
Deep Dive Azure Functions - Global Azure Bootcamp 2019
PDF
ENIB 2015-2016 - CAI Web - S01E01- La forge JavaScript
PPTX
Gocd – Kubernetes/Nomad Continuous Deployment
PDF
What's new in Portal and WCM 8.5
PPTX
Azure DevOps Pipeline setup for Mule APIs #36
PPTX
Micro frontend
PPTX
Diploma 1st Year Project Internship Presentation.pptx
PDF
Testing with Codeception
PDF
Getting to Angular 2
PDF
BinProxy: New Paradigm of Binary Analysis With Your Favorite Web Proxy
PDF
IOT strategy
PPTX
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
PPTX
Angular2.0@Shanghai0319
PPTX
Build Time Hacking
[개인 프로젝트] 쿠버네티스를 이용한 개발환경 자동화 구축시스템 - 프로토타입
Angular2 + Ng-Lightning + Lightning Design System = Great Apps
Phonegap android angualr material design
Modern Web-site Development Pipeline
ENIB 2015 2016 - CAI Web S02E03- Forge JS 1/4 - La forge JavaScript
Ultimate Guide to Microservice Architecture on Kubernetes
Deep Dive Azure Functions - Global Azure Bootcamp 2019
ENIB 2015-2016 - CAI Web - S01E01- La forge JavaScript
Gocd – Kubernetes/Nomad Continuous Deployment
What's new in Portal and WCM 8.5
Azure DevOps Pipeline setup for Mule APIs #36
Micro frontend
Diploma 1st Year Project Internship Presentation.pptx
Testing with Codeception
Getting to Angular 2
BinProxy: New Paradigm of Binary Analysis With Your Favorite Web Proxy
IOT strategy
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
Angular2.0@Shanghai0319
Build Time Hacking
Ad

Recently uploaded (20)

PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPT
Introduction Database Management System for Course Database
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
L1 - Introduction to python Backend.pptx
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
top salesforce developer skills in 2025.pdf
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
System and Network Administration Chapter 2
PDF
Nekopoi APK 2025 free lastest update
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Introduction Database Management System for Course Database
Softaken Excel to vCard Converter Software.pdf
Operating system designcfffgfgggggggvggggggggg
Digital Systems & Binary Numbers (comprehensive )
Internet Downloader Manager (IDM) Crack 6.42 Build 41
L1 - Introduction to python Backend.pptx
Which alternative to Crystal Reports is best for small or large businesses.pdf
top salesforce developer skills in 2025.pdf
Reimagine Home Health with the Power of Agentic AI​
2025 Textile ERP Trends: SAP, Odoo & Oracle
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Design an Analysis of Algorithms I-SECS-1021-03
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Design an Analysis of Algorithms II-SECS-1021-03
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
System and Network Administration Chapter 2
Nekopoi APK 2025 free lastest update

Browserify + Angular