the tale of the 3 clis - jdays2017

38
made with keynote Goedemiddag! @ladyleet Passion is energy. Feel the power that comes from focusing on what excites you. - Oprah

Upload: tracy-lee

Post on 12-Apr-2017

62 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: The Tale of the 3 CLIs - jDays2017

made with keynoteGoedemiddag!

@ladyleet

Passion is energy.

Feel the power that comes fromfocusing on what excites you.

- Oprah

Page 2: The Tale of the 3 CLIs - jDays2017

Twitter: @ladyleetCo-Founder: This DotPreviously: DishcrawlOrganizer: Ng-CruisePodcaster: Modern WebBlog: medium.com/@ladyleetGoogle Developer Expert: AngularSpeaker:NgPoland, AngularUp, AngularConnect, DevFestNL, Silicon Valley Code Camp, ReactNLConf, LondonJS, AngularZone, UtahJS, GEMConf, The Ember Show, TriangleJS, RTP AngularJS, Angular Berlin, EmberJS SF, Triangle EmberJSTracy Lee @ladyleet

Page 3: The Tale of the 3 CLIs - jDays2017

made with keynote

Today we’re going to talk aboutmy three favorite clis!

create-react-app, angular-cli, ember-cli

@ladyleet

Page 4: The Tale of the 3 CLIs - jDays2017

made with keynoteHow many of you use a cli tool?

@ladyleet

Page 5: The Tale of the 3 CLIs - jDays2017

“2016 was the year of the CLI”

- @rob_dodson,google developer advocate

polymer

@ladyleet

Page 6: The Tale of the 3 CLIs - jDays2017

My search for cli tools

@ladyleet

Page 7: The Tale of the 3 CLIs - jDays2017

made with keynoteCLIs make web development accessible to everyone.

@ladyleet

Page 8: The Tale of the 3 CLIs - jDays2017

made with keynoteI would not be doing development

if it weren’t for ember-cli

@ladyleet

Page 9: The Tale of the 3 CLIs - jDays2017

made with keynoteember-cli was able to help me build

apps immediately.

@ladyleet

Page 10: The Tale of the 3 CLIs - jDays2017

modern-web.org built with @ladyleet

Page 11: The Tale of the 3 CLIs - jDays2017

venturehacked.com built with @ladyleet

Page 12: The Tale of the 3 CLIs - jDays2017

i-love-rainbows.herokuapp.com built with@ladyleet

Page 13: The Tale of the 3 CLIs - jDays2017

made with keynoteangular-cli was the same story.

@ladyleet

Page 14: The Tale of the 3 CLIs - jDays2017

built with @ladyleet

Page 15: The Tale of the 3 CLIs - jDays2017

built with @ladyleet

Page 16: The Tale of the 3 CLIs - jDays2017

ng2-rdu.firebaseapp.com built with @ladyleet

Page 17: The Tale of the 3 CLIs - jDays2017

made with keynotecreate-react-app (react-cli) was the same!

@ladyleet

Page 18: The Tale of the 3 CLIs - jDays2017

made with keynote

• Why these tools are important• Development environment• Setting up a project

• Creating and deploying an application• Live code up some apps!

What we’re going to talk about!

@ladyleet

Page 19: The Tale of the 3 CLIs - jDays2017

@ladyleet

Page 20: The Tale of the 3 CLIs - jDays2017

made with keynote

Architect applicationConventions of applicationLive reload / dev serverCompiler for ES6TestingStagingProduction

Setting up your dev environment

@ladyleet

Page 21: The Tale of the 3 CLIs - jDays2017

made with keynote

Architect applicationConventions of applicationLive reload / dev serverCompiler for ES6TestingStagingProduction

Setting up your dev environment

@ladyleet

Page 22: The Tale of the 3 CLIs - jDays2017

made with keynote

Architect applicationConventions of application

Compiler for ES6Live reload / dev server

TestingStaging

Production

The clis do it for you!

App structure same for every appFollows community conventionsBabelJS / TypeScriptOut of the box!Creates tests for you!Out of the box!Out of the box!

@ladyleet

Page 23: The Tale of the 3 CLIs - jDays2017

made with keynote

A short list of the awesome (there’s more)

Tree shakingRoute generationComponent generationModel generation

Tests (unit, acceptance, e2e)Sass/less supportAdd-onsPackage.jsonBower.json

* these are in some or one of the clis

@ladyleet

Page 24: The Tale of the 3 CLIs - jDays2017

made with keynote

The Community

In the Ember community, because of conventions and standards,

a wealth of knowledge has emerged.

@ladyleet

Page 25: The Tale of the 3 CLIs - jDays2017

@ladyleet

Page 26: The Tale of the 3 CLIs - jDays2017

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 27: The Tale of the 3 CLIs - jDays2017

made with keynote

Add-on Success Stories

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

@ladyleet

Page 28: The Tale of the 3 CLIs - jDays2017

made with keynote

My favorite add-on success story

angular-cli!

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

@ladyleet

Page 29: The Tale of the 3 CLIs - jDays2017

made with keynote

React CLI?

A previous iteration of a react-cliwas built using ember-cli

@ladyleet

Page 30: The Tale of the 3 CLIs - jDays2017

made with keynoteLet’s see how easy it is tocreate apps with the clis.

@ladyleet

Page 31: The Tale of the 3 CLIs - jDays2017

made with keynote$ npm install -g ember-cli$ ember new <app-name>

$ npm install -g @angular/cli$ ng new <app-name>

Installing the cli and creating a new app

$ npm install -g create-react-app$ create-react-app <app-name>

@ladyleet

Page 32: The Tale of the 3 CLIs - jDays2017

made with keynote

First things first - an ember app

@ladyleet

Page 33: The Tale of the 3 CLIs - jDays2017

made with keynote

Next up - an Angular app

@ladyleet

Page 34: The Tale of the 3 CLIs - jDays2017

made with keynote

Last one - a react app

@ladyleet

Page 35: The Tale of the 3 CLIs - jDays2017

made with keynote

• Why these tools are important• Development environment• Setting up a project

• Creating and deploying an application• Live code up some apps!

What we went over today!

@ladyleet

Page 36: The Tale of the 3 CLIs - jDays2017

made with keynote

LinksStarter Repositories

React Jeopardy in ReactJShttps://github.com/ladyleet/react-jeopardy-jdays

Angular Cruise in EmberJShttps://github.com/ladyleet/ember-example-app

JavaScript Fatigue in Angularhttps://github.com/ladyleet/javascript-fatigue

Note: Download the master branch (starter) but check out the completed branches

@ladyleet

Page 37: The Tale of the 3 CLIs - jDays2017

@ladyleet

Twitter @ladyleet

Github @ladyleet

Medium @ladyleet

www.ladyleet.com

www.thisdot.co

Tracy Lee

Page 38: The Tale of the 3 CLIs - jDays2017

ngcruise.com - May 29th! - Miami - Caribbean