SlideShare a Scribd company logo
Bootstrapping Angular With
Yeoman / Bower / Grunt
Mak Bhatamrekar
http://github.com/makrand-bkar
AJCP
http://meetup.com/my-ajcp
Atlanta Java Concept Pros
Prerequisites
• Node JS Installed – http://nodejs.org
• RUBY >1.9.3 Installed -
http://rubyinstaller.org/
• Git Installed - install msysgit
Hands On
• Angular Introduction
• Yeoman
• Deep Dive Yo
• Deep Dive Grunt and Maven
• Deep Dive Bower and Maven
• Recap
Agenda
About MySelf
• 15 yrs in Enterprise Java and OpenSource
• FullStack Java Enterprise Developer
• FrontEnd, was passionate about Adobe Flex
• Now , its just ANGULAR and its ecosystem for
clientside.
• Framework to Create Rich Web Applications
• MVC Framework
– Unlike JSP which is just a View
– Agnostic to Server Side Framework
– Only Communication is for Data through REST API
• Jquery Support BuiltIn
• Large Plugin Ecosystem
• And More..
Angular Stats
Bootstrapping angular js with bower grunt yeoman
Million Dollar Question
Is ServerSide Framework Needed to
– Develop a the Client Side Appln?
– Deploy the ClientSide Appln ?
Client Side Development Needs
– Standardized Project
Structure
– Tomcat Like Server
– Dynamic Reloading
– Ease of Managing Javascript
Libraries
– Dynamic Reloading
– Debugging
Introducing Yeoman
• Kickstarts new projects, prescribing best
practices and tools
• It has 3 elements – YO / GRUNT / BOWER
• YO is like Maven Archetype
$mvn archetype:generate // create a starter project will all basic dependancies loaded.
• Select Angular YO Generator
Generator List http://yeoman.io/generators/
• Steps
– npm install --global yo
– npm install -g generator-angular
– mkdir project1, cd project1
– Yo angular
Grunt
• npm install - -global grunt
• npm install - -global grunt-cli
• npm install
• Defines Maven like Goals of Project
• Goals Like
– Start a web server
– Copy,uglify javascript files
– Compile Sass files to CSS
– Compress files
– Dynamically maintain bower dependencies
Bower
npm install –global bower (once to install bower itself)
bower install (installs the libraries)
• Bower is the Package Manager Of Web
• Maintains Javascript Lib Dependancies
• Its Akin to Maven Dependencies
• Things to remember
– bower.json – defines the dependencies
– .bowercc - specifies the location of bower_components
directory
Summary
Command Description
Install, NodeJs / Ruby Install NodeJs / Git And Ruby
npm install grunt Installs grunt package
npm install grunt-cli Insalls grunt cli
npm install Installs all nodemoduels as per
package.json
gem install compass Installs compass webserver
npm install bower Installs npm bower package
bower install Install libs as per bower.json
grunt serve Run the project
grunt build Create a Deployable
Play with Application
• grunt serve – starts the project
• Add some libraries to bower and verify
• grunt build – build the compiled version of
project
DONE!! READY TO DEPLOY ON SERVER
ServerSide Deploy Steps
Deploy the compiled clientside code to Server, here we have an
example of a nodejs server
• Step1 - Get the Server Side Project
$ Git clone https://github.com/makrand-bkar/hapiFileServer.git
• Step2 – Run the Project as per readme.md file
• Step3 – Copy dist folder to public folder
• Step4 – Test the application by visiting
Localhost:8001/public/index.html
Reference Links
•http://yeoman.io/codelab/setup.html
•https://github.com/makrand-
bkar/hapiFileServer
Bootstrapping Angular With
Yeoman / Bower / Grunt
Mak Bhatamrekar
github :http://github.com/makrand-bkar
twitter : mak-bkar
url : www.careerinjava.com
http://meetup.com/my-ajcp
Atlanta Java Concept Pros

More Related Content

PDF
WebAssembly in Houdini CSS, is it possible?
PPTX
002. Working with Webpack
PDF
WebAssembly vs JavaScript: What is faster?
PDF
WordPress development checklist
PDF
Mean Stack - An Overview
PPTX
006. React - Redux framework
PDF
WebKit Programming in Cocoa
PPTX
DevDay 2018 - Blazor
WebAssembly in Houdini CSS, is it possible?
002. Working with Webpack
WebAssembly vs JavaScript: What is faster?
WordPress development checklist
Mean Stack - An Overview
006. React - Redux framework
WebKit Programming in Cocoa
DevDay 2018 - Blazor

What's hot (20)

PPTX
Codegen2021 blazor mobile
PDF
The MEAN Stack
PPTX
Oleksandr Skachkov "Running С# in your Web Browser with WebAssembly"
PPTX
MEAN stack
PPTX
PPTX
Introduction to mean stack
PDF
Nuxt로 사내서비스 구현하면서 얻은 경험 공유
PPTX
Lazy angular w/ webpack
PDF
WebAssembly Overview
PDF
NodeSummit - MEAN Stack
PPTX
PDF
Future development stack ~ MeteorJS
PPTX
DotNet MVC and webpack + Babel + react
PPTX
Integrating grunt and bower with maven
PDF
The MEAN stack - SoCalCodeCamp - june 29th 2014
PPTX
PDF
Isomorphic React Applications: Performance And Scalability
PPTX
Blazor - An Introduction
PPTX
Let's vue
Codegen2021 blazor mobile
The MEAN Stack
Oleksandr Skachkov "Running С# in your Web Browser with WebAssembly"
MEAN stack
Introduction to mean stack
Nuxt로 사내서비스 구현하면서 얻은 경험 공유
Lazy angular w/ webpack
WebAssembly Overview
NodeSummit - MEAN Stack
Future development stack ~ MeteorJS
DotNet MVC and webpack + Babel + react
Integrating grunt and bower with maven
The MEAN stack - SoCalCodeCamp - june 29th 2014
Isomorphic React Applications: Performance And Scalability
Blazor - An Introduction
Let's vue
Ad

Similar to Bootstrapping angular js with bower grunt yeoman (20)

PDF
Best Practices for couchDB developers on Microsoft Azure
PPTX
Java script nirvana in netbeans [con5679]
PPTX
Blazor.pptx
PPTX
Short-Training asp.net vNext
PPTX
PHP Indonesia - Nodejs Web Development
PPTX
Irfan maulana nodejs web development
PPTX
Node.js Development with Apache NetBeans
PPTX
Node js installation steps.pptx slide share ppts
PPTX
module for backend full stack applications 1.pptx
PPTX
Single Page Application Development with backbone.js and Simple.Web
PDF
Improving WordPress Development and Deployments with Docker
PPTX
NodeJS - Server Side JS
PDF
Cool like a Frontend Developer: Grunt, RequireJS, Bower and other Tools
PPTX
Top 10 frameworks of node js
PPTX
Introduction to ASP.NET 5
PDF
Intro to Sails.js
PPTX
Get acquainted with the new ASP.Net 5
PPTX
[Blibli Brown Bag] Nodejs - The Other Side of Javascript
PPTX
Azure Functions Real World Examples
PPTX
What is Mean Stack Development ?
Best Practices for couchDB developers on Microsoft Azure
Java script nirvana in netbeans [con5679]
Blazor.pptx
Short-Training asp.net vNext
PHP Indonesia - Nodejs Web Development
Irfan maulana nodejs web development
Node.js Development with Apache NetBeans
Node js installation steps.pptx slide share ppts
module for backend full stack applications 1.pptx
Single Page Application Development with backbone.js and Simple.Web
Improving WordPress Development and Deployments with Docker
NodeJS - Server Side JS
Cool like a Frontend Developer: Grunt, RequireJS, Bower and other Tools
Top 10 frameworks of node js
Introduction to ASP.NET 5
Intro to Sails.js
Get acquainted with the new ASP.Net 5
[Blibli Brown Bag] Nodejs - The Other Side of Javascript
Azure Functions Real World Examples
What is Mean Stack Development ?
Ad

More from Makarand Bhatambarekar (8)

PPTX
Sprintintegration ajip
PPTX
Sonarjenkins ajip
PPT
Springaopdecoded ajip
PPT
Story ofcorespring infodeck
PPT
JavaScript JQUERY AJAX
PPTX
Java scriptforjavadev part1
PPTX
Java scriptforjavadev part2a
PPTX
Getting Started with J2EE, A Roadmap
Sprintintegration ajip
Sonarjenkins ajip
Springaopdecoded ajip
Story ofcorespring infodeck
JavaScript JQUERY AJAX
Java scriptforjavadev part1
Java scriptforjavadev part2a
Getting Started with J2EE, A Roadmap

Recently uploaded (20)

PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Nekopoi APK 2025 free lastest update
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Digital Strategies for Manufacturing Companies
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
System and Network Administraation Chapter 3
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
L1 - Introduction to python Backend.pptx
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Odoo POS Development Services by CandidRoot Solutions
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
Understanding Forklifts - TECH EHS Solution
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
How Creative Agencies Leverage Project Management Software.pdf
Nekopoi APK 2025 free lastest update
How to Migrate SBCGlobal Email to Yahoo Easily
Digital Strategies for Manufacturing Companies
Reimagine Home Health with the Power of Agentic AI​
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Design an Analysis of Algorithms I-SECS-1021-03
Odoo Companies in India – Driving Business Transformation.pdf
2025 Textile ERP Trends: SAP, Odoo & Oracle
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
System and Network Administraation Chapter 3
Softaken Excel to vCard Converter Software.pdf
L1 - Introduction to python Backend.pptx
PTS Company Brochure 2025 (1).pdf.......
Navsoft: AI-Powered Business Solutions & Custom Software Development
Odoo POS Development Services by CandidRoot Solutions
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Understanding Forklifts - TECH EHS Solution

Bootstrapping angular js with bower grunt yeoman

  • 1. Bootstrapping Angular With Yeoman / Bower / Grunt Mak Bhatamrekar http://github.com/makrand-bkar AJCP http://meetup.com/my-ajcp Atlanta Java Concept Pros
  • 2. Prerequisites • Node JS Installed – http://nodejs.org • RUBY >1.9.3 Installed - http://rubyinstaller.org/ • Git Installed - install msysgit
  • 3. Hands On • Angular Introduction • Yeoman • Deep Dive Yo • Deep Dive Grunt and Maven • Deep Dive Bower and Maven • Recap Agenda
  • 4. About MySelf • 15 yrs in Enterprise Java and OpenSource • FullStack Java Enterprise Developer • FrontEnd, was passionate about Adobe Flex • Now , its just ANGULAR and its ecosystem for clientside.
  • 5. • Framework to Create Rich Web Applications • MVC Framework – Unlike JSP which is just a View – Agnostic to Server Side Framework – Only Communication is for Data through REST API • Jquery Support BuiltIn • Large Plugin Ecosystem • And More..
  • 8. Million Dollar Question Is ServerSide Framework Needed to – Develop a the Client Side Appln? – Deploy the ClientSide Appln ?
  • 9. Client Side Development Needs – Standardized Project Structure – Tomcat Like Server – Dynamic Reloading – Ease of Managing Javascript Libraries – Dynamic Reloading – Debugging
  • 10. Introducing Yeoman • Kickstarts new projects, prescribing best practices and tools • It has 3 elements – YO / GRUNT / BOWER
  • 11. • YO is like Maven Archetype $mvn archetype:generate // create a starter project will all basic dependancies loaded. • Select Angular YO Generator Generator List http://yeoman.io/generators/ • Steps – npm install --global yo – npm install -g generator-angular – mkdir project1, cd project1 – Yo angular
  • 12. Grunt • npm install - -global grunt • npm install - -global grunt-cli • npm install • Defines Maven like Goals of Project • Goals Like – Start a web server – Copy,uglify javascript files – Compile Sass files to CSS – Compress files – Dynamically maintain bower dependencies
  • 13. Bower npm install –global bower (once to install bower itself) bower install (installs the libraries) • Bower is the Package Manager Of Web • Maintains Javascript Lib Dependancies • Its Akin to Maven Dependencies • Things to remember – bower.json – defines the dependencies – .bowercc - specifies the location of bower_components directory
  • 14. Summary Command Description Install, NodeJs / Ruby Install NodeJs / Git And Ruby npm install grunt Installs grunt package npm install grunt-cli Insalls grunt cli npm install Installs all nodemoduels as per package.json gem install compass Installs compass webserver npm install bower Installs npm bower package bower install Install libs as per bower.json grunt serve Run the project grunt build Create a Deployable
  • 15. Play with Application • grunt serve – starts the project • Add some libraries to bower and verify • grunt build – build the compiled version of project DONE!! READY TO DEPLOY ON SERVER
  • 16. ServerSide Deploy Steps Deploy the compiled clientside code to Server, here we have an example of a nodejs server • Step1 - Get the Server Side Project $ Git clone https://github.com/makrand-bkar/hapiFileServer.git • Step2 – Run the Project as per readme.md file • Step3 – Copy dist folder to public folder • Step4 – Test the application by visiting Localhost:8001/public/index.html
  • 18. Bootstrapping Angular With Yeoman / Bower / Grunt Mak Bhatamrekar github :http://github.com/makrand-bkar twitter : mak-bkar url : www.careerinjava.com http://meetup.com/my-ajcp Atlanta Java Concept Pros

Editor's Notes

  • #4: Whats the Problem we are trying to solve
  • #10: TATA NANO has Engine on the Back when the person sits -- TODO Add the Trunk Image