made with keynote
Good Evening!
@ladyleet
made with keynote
How many of you use a cli tool?
@ladyleet
@ladyleet
“2016 will be the
year of the CLI”
- @rob_dodson,
google developer advocate
polymer
@ladyleet
My search for cli tools this weekend
made with keynoteCLIs make web development
accessible to everyone.
@ladyleet
Tracy Lee
@ladyleet
github.com/ladyleet
modern-web.org
medium.com/@ladyleet
@ladyleet
made with keynote
Today we’re going to talk about
my two favorite clis!
ember-cli and angular-cli
@ladyleet
Entrepreneur
sold my startup Dishcrawl
Junior Developer
Playing with frameworks & JS
Traveling Entrepreneur
New company, #digitalnomad
Who Knows?
LYFE. #YOLO
@ladyleet
Bit About My Life
made with keynote
I would not be doing development
if it weren’t for ember-cli
@ladyleet
made with keynote
ember-cli was able to help me build
apps immediately.
@ladyleet
@ladyleetmodern-web.org built with
@ladyleetventurehacked.com built with
@ladyleeti-love-rainbows.herokuapp.com built with
made with keynote
angular-cli was the same story.
@ladyleet
@ladyleetangular2-router-demo.firebaseapp.com built with
@ladyleetng2-rdu.firebaseapp.com built with
made with keynote
• Why these tools are important
• Development environment
• Setting up a project
• Community
• Ember add-ons
• Success stories
• Creating and deploying an application
• Live code up some apps!
What we’re going to talk about!
@ladyleet
@ladyleet
made with keynote
Architect application
Conventions of application
Live reload / dev server
Compiler for ES6
Testing
Staging
Production
@ladyleet
Setting up your dev environment
made with keynote
Architect application
Conventions of application
Live reload / dev server
Compiler for ES6
Testing
Staging
Production
@ladyleet
Setting up your dev environment
made with keynote
Architect application
Conventions of application
Compiler for ES6
Live reload / dev server
Testing
Staging
Production
@ladyleet
Ember-cli & Angular-cli do it for you
App structure same for every app
Follows community conventions
BabelJS / TypeScript
Out of the box!
Creates tests for you!
Out of the box!
Out of the box!
made with keynote
A short list of the awesome (there’s more)
@ladyleet
Tree shaking
Route generation
Component generation
Model generation
Tests (unit, acceptance, e2e)
Sass/less support
Add-ons
Package.json
Bower.json
* these are in some or one of ember-cli or angular-cli
made with keynote
The Ember Community
Because of conventions and standards,
a wealth of knowledge has emerged.
@ladyleet
@ladyleet
made with keynote
$ ember install <ember-addon>
Ember-cli allows you to install add-ons into your
application and directly imports other build
systems without configuration.
The benefit of conventions.
@ladyleet
made with keynote
Add-on Success Stories
@ladyleet
ember-data - data layer for your Ember apps
ember-cli-deploy - deployment pipeline
ember-cli-mirage - client-side HTTP server to
develop, test and demo your Ember app
made with keynote
My favorite add-on success story
@ladyleet
angular-cli!
without ember-cli, angular-cli would not exist.
made with keynote
What about Angular 2 add-ons?
Coming soon.
@ladyleet
made with keynote
Let’s build an app!
@ladyleet
made with keynote
$ npm install ember-cli
$ ember new <app-name>
@ladyleet
$ npm install angular-cli
$ ng new <app-name>
Installing the cli and creating a new app
made with keynote
Let’s get into some code!
@ladyleet
made with keynote
• Why these tools are important
• Development environment
• Setting up a project
• Community
• Ember add-ons
• Success stories
• Creating and deploying an application
• Live code up some apps!
What we went over today!
@ladyleet
made with keynote
@ladyleet
embermeetup.com/gemconf
@ladyleet
Resources
Github starter repo: https://github.com/ladyleet/yolobrolo-ember-demo
App on Heroku: http://yolobrolo-ember-1.herokuapp.com/
Setting up a basic Ember.js app: https://medium.com/@ladyleet/setting-up-a-basic-
ember-js-app-c9323760c675#.df609as7e
Video: https://www.youtube.com/watch?v=-Ury2S9Y-4Q
Tracy Lee
@ladyleet
github.com/ladyleet
modern-web.org
medium.com/@ladyleet
made with keynote
Thank you!
@ladyleet

The Tale of 2 CLIs - Ember-cli and Angular-cli