+ All Categories
Home > Technology > The Tale of 2 CLIs - Ember-cli and Angular-cli

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

Date post: 22-Jan-2018
Category:
Upload: tracy-lee
View: 434 times
Download: 0 times
Share this document with a friend
35
made with keynote Good Evening! @ladyleet
Transcript
Page 1: The Tale of 2 CLIs - Ember-cli and Angular-cli

made with keynoteGood Evening!

@ladyleet

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

made with keynoteHow many of you use a cli tool?

@ladyleet

Page 3: The Tale of 2 CLIs - Ember-cli and Angular-cli

@ladyleet

“2016 will be the year of the CLI”

- @rob_dodson, google developer advocate

polymer

Page 4: The Tale of 2 CLIs - Ember-cli and Angular-cli

@ladyleet

My search for cli tools this weekend

Page 5: The Tale of 2 CLIs - Ember-cli and Angular-cli

made with keynoteCLIs make web development accessible to everyone.

@ladyleet

Page 6: The Tale of 2 CLIs - Ember-cli and Angular-cli

Tracy Lee

@ladyleet github.com/ladyleet

modern-web.org medium.com/@ladyleet

@ladyleet

Page 7: The Tale of 2 CLIs - Ember-cli and Angular-cli

made with keynote

Today we’re going to talk about my two favorite clis!

ember-cli and angular-cli

@ladyleet

Page 8: The Tale of 2 CLIs - Ember-cli and Angular-cli

Entrepreneur sold my startup Dishcrawl

Junior DeveloperPlaying with frameworks & JS

Traveling Entrepreneur New company, #digitalnomad

Who Knows? LYFE. #YOLO

@ladyleet

Bit About My Life

Page 9: The Tale of 2 CLIs - Ember-cli and Angular-cli

made with keynoteI would not be doing development

if it weren’t for ember-cli

@ladyleet

Page 10: The Tale of 2 CLIs - Ember-cli and Angular-cli

made with keynoteember-cli was able to help me build

apps immediately.

@ladyleet

Page 11: The Tale of 2 CLIs - Ember-cli and Angular-cli

@ladyleetmodern-web.org built with

Page 12: The Tale of 2 CLIs - Ember-cli and Angular-cli

@ladyleetventurehacked.com built with

Page 13: The Tale of 2 CLIs - Ember-cli and Angular-cli

@ladyleeti-love-rainbows.herokuapp.com built with

Page 14: The Tale of 2 CLIs - Ember-cli and Angular-cli

made with keynoteangular-cli was the same story.

@ladyleet

Page 15: The Tale of 2 CLIs - Ember-cli and Angular-cli

@ladyleetangular2-router-demo.firebaseapp.com built with

Page 16: The Tale of 2 CLIs - Ember-cli and Angular-cli

@ladyleetng2-rdu.firebaseapp.com built with

Page 17: The Tale of 2 CLIs - Ember-cli and Angular-cli

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

Page 18: The Tale of 2 CLIs - Ember-cli and Angular-cli

@ladyleet

Page 19: The Tale of 2 CLIs - Ember-cli and Angular-cli

made with keynote

Architect application Conventions of application Live reload / dev server Compiler for ES6 Testing Staging Production

@ladyleet

Setting up your dev environment

Page 20: The Tale of 2 CLIs - Ember-cli and Angular-cli

made with keynote

Architect application Conventions of application Live reload / dev server Compiler for ES6 Testing Staging Production

@ladyleet

Setting up your dev environment

Page 21: The Tale of 2 CLIs - Ember-cli and Angular-cli

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 youApp 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!

Page 22: The Tale of 2 CLIs - Ember-cli and Angular-cli

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

Page 23: The Tale of 2 CLIs - Ember-cli and Angular-cli

made with keynote

The Ember Community

Because of conventions and standards, a wealth of knowledge has emerged.

@ladyleet

Page 24: The Tale of 2 CLIs - Ember-cli and Angular-cli

@ladyleet

Page 25: The Tale of 2 CLIs - Ember-cli and Angular-cli

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

Page 26: The Tale of 2 CLIs - Ember-cli and Angular-cli

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

Page 27: The Tale of 2 CLIs - Ember-cli and Angular-cli

made with keynote

My favorite add-on success story

@ladyleet

angular-cli!

without ember-cli, angular-cli would not exist.

Page 28: The Tale of 2 CLIs - Ember-cli and Angular-cli

made with keynote

What about Angular 2 add-ons?

Coming soon.

@ladyleet

Page 29: The Tale of 2 CLIs - Ember-cli and Angular-cli

made with keynoteLet’s build an app!

@ladyleet

Page 30: The Tale of 2 CLIs - Ember-cli and Angular-cli

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

Page 31: The Tale of 2 CLIs - Ember-cli and Angular-cli

made with keynoteLet’s get into some code!

@ladyleet

Page 32: The Tale of 2 CLIs - Ember-cli and Angular-cli

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

Page 33: The Tale of 2 CLIs - Ember-cli and Angular-cli

made with keynote

@ladyleet

embermeetup.com/gemconf

Page 34: The Tale of 2 CLIs - Ember-cli and Angular-cli

@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

Page 35: The Tale of 2 CLIs - Ember-cli and Angular-cli

made with keynoteThank you!

@ladyleet


Recommended