58
Material Design From 0 to Developer by andrew haskin @ladyleet

From 0 to Developer - Silicon Valley Code Camp

Embed Size (px)

Citation preview

Page 1: From 0 to Developer - Silicon Valley Code Camp

Material DesignFrom 0 to Developerby andrew haskin

@ladyleet

Page 2: From 0 to Developer - Silicon Valley Code Camp

Material Design

From 0 to Developer with special guest

Andy Nilson (@andy_nilson)

by andrew haskin

@ladyleet

Page 3: From 0 to Developer - Silicon Valley Code Camp

Material DesignI used to be a business personby andrew haskin

@ladyleet

Page 4: From 0 to Developer - Silicon Valley Code Camp

Material DesignAnd I still amby andrew haskin

@ladyleet

Page 5: From 0 to Developer - Silicon Valley Code Camp

Material DesignBut once upon a timeby andrew haskin

@ladyleet

Page 6: From 0 to Developer - Silicon Valley Code Camp

Material DesignI decided I wanted to be a developerby andrew haskin

@ladyleet

Page 7: From 0 to Developer - Silicon Valley Code Camp

Material DesignSo I’m here to share my journeyby andrew haskin

@ladyleet

Page 8: From 0 to Developer - Silicon Valley Code Camp

Material DesignHopefully it inspires you to take leaps of faith

on your lifeby andrew haskin

@ladyleet

Page 9: From 0 to Developer - Silicon Valley Code Camp

Material DesignAnd do what serendipity is pushing you to doby andrew haskin

@ladyleet

Page 10: From 0 to Developer - Silicon Valley Code Camp

Tracy Lee

@ladyleet github.com/ladyleet

modern-web.org medium.com/@ladyleet

@ladyleet

Page 11: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

Page 12: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

The Dishcrawl Growth Story • 250 cities in the US, CA, UK • Grown 1000% in 1 year • 180 people working for us • Core team of 10

Page 13: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

Acquired by DinnerLab December 2015

is now

Page 14: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

One day I met Tomster

Page 15: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

And Tomster changed my life

Page 16: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

• My initial coding journey

• My web apps and open source contributions

• CLI tools

• How easy it is to build an app

Today’s Agenda

Page 17: From 0 to Developer - Silicon Valley Code Camp

Material DesignMy initial coding journeyby andrew haskin

@ladyleet

Page 18: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

I spent months collecting Tomsters before I deciding I wanted to learn.

My initial coding journey

Page 19: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

My “Formal” Training 2 weeks

May 4, 2015 - May 15, 2015http://ladyleet.github.io/codingclasses/

My initial coding journey

Page 20: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

Day 1

http://ladyleet.github.io/codingclasses/

My initial coding journey

Page 21: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

Day 3

My initial coding journeyhttp://ladyleet.github.io/codingclasses/

Page 22: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

Day 6

http://ladyleet.github.io/codingclasses/

My initial coding journey

Page 23: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

Day 13

My initial coding journey

Page 24: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

Why did I want to learn? The community.

My initial coding journey

Page 25: From 0 to Developer - Silicon Valley Code Camp

Material DesignMy web apps and open source contributionsby andrew haskin

@ladyleet

Page 26: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

Convention over configuration makes life easy.

• Do a lot with knowing very little.

• A “right” way. Less probability to screw up.

• If you follow conventions, things just work.

• OPC - Other people’s code. I can look at other projects and know where things are even if I don’t know what they are.

Page 27: From 0 to Developer - Silicon Valley Code Camp

@ladyleet

My Web Apps

Page 28: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

My Web Apps

Page 29: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

My Web Apps

Page 30: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

Open Source Contributions

Page 31: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

Open Source Contributions

Page 32: From 0 to Developer - Silicon Valley Code Camp

Material DesignCLI toolsby andrew haskin

@ladyleet

Page 33: From 0 to Developer - Silicon Valley Code Camp

CLIs

@ladyleet@ladyleet

Anyone can create a new project easily with no knowledge needed.

Page 34: From 0 to Developer - Silicon Valley Code Camp

Ember-CLI

@ladyleet@ladyleet

Page 35: From 0 to Developer - Silicon Valley Code Camp

Angular-CLI

@ladyleet@ladyleet

Page 36: From 0 to Developer - Silicon Valley Code Camp

Dev Server

@ladyleet@ladyleet

Page 37: From 0 to Developer - Silicon Valley Code Camp

Dev Server

@ladyleet@ladyleet

Page 38: From 0 to Developer - Silicon Valley Code Camp

Components make my code more manageable. And are easy to create and

setup.

@ladyleet@ladyleet

Page 39: From 0 to Developer - Silicon Valley Code Camp

Free Tests!

@ladyleet@ladyleet

Page 40: From 0 to Developer - Silicon Valley Code Camp

Material DesignHow easy it is to build an appby andrew haskin

@ladyleet

Page 41: From 0 to Developer - Silicon Valley Code Camp

@ladyleet

We’re prototyping the bananaJS app

Page 42: From 0 to Developer - Silicon Valley Code Camp

Create angular-cli ng2 app

@ladyleet

Here’s the journey we’re about to take

Configure materialize-css

Ng2 ng-cli app structure

Creating components

Template-driven forms

Using the router

Page 43: From 0 to Developer - Silicon Valley Code Camp

Create angular-cli ng2 app

@ladyleet

Angular 2

Configure materialize-css

Ng2 ng-cli app structure

Creating components

Template-driven forms

Using the router

Page 44: From 0 to Developer - Silicon Valley Code Camp

Material Design

$ npm install angular-cli

$ ng new <name-of-app>

$ ng s

@ladyleet

Page 45: From 0 to Developer - Silicon Valley Code Camp

Create angular-cli ng2 app

@ladyleet

Configure materialize-css

Ng2 ng-cli app structure

Creating components

Angular 2

Template-driven forms

Using the router

Page 46: From 0 to Developer - Silicon Valley Code Camp

Material Design$ npm install materialize-cssby andrew haskin

@ladyleet

Page 47: From 0 to Developer - Silicon Valley Code Camp

Material Design

add to your index.html file <script src=”https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.3/

jquery.js"></script>

<link rel=”stylesheet” href=”https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.6/css/materialize.min.css”>

<script src=”https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.6/js/materialize.min.js"></script>

by andrew haskin

@ladyleet

Page 48: From 0 to Developer - Silicon Valley Code Camp

@ladyleet

Success Looks Like This

Font will change to material design standard font - Roboto

Page 49: From 0 to Developer - Silicon Valley Code Camp

Create angular-cli ng2 app

@ladyleet

Configure materialize-css

Ng2 ng-cli app structure

Creating components

Angular 2

Template-driven forms

Using the router

Page 50: From 0 to Developer - Silicon Valley Code Camp

@ladyleet

Angular 2 Angular-CLI Webpack App Structure component based.css .html .spec.ts .ts

Page 51: From 0 to Developer - Silicon Valley Code Camp

Create angular-cli ng2 app

@ladyleet

Configure materialize-css

Ng2 ng-cli app structure

Creating components

Angular 2

Template-driven forms

Using the router

Page 52: From 0 to Developer - Silicon Valley Code Camp

Material Design

Basic Component Generation $ ng generate <component-name>

Shortcuts & Configurations (use ng g - - help for full list)

$ ng g c -is -it - - no-spec <component-name> (generates component and adds inline style, inline template, and doesn’t

generate spec file)

by andrew haskin

@ladyleet

Page 53: From 0 to Developer - Silicon Valley Code Camp

Create angular-cli ng2 app

@ladyleet

Configure materialize-css

Ng2 ng-cli app structure

Creating components

Angular 2

Template-driven forms

Using the router

Page 54: From 0 to Developer - Silicon Valley Code Camp

Create angular-cli ng2 app

@ladyleet

Configure materialize-css

Ng2 ng-cli app structure

Creating components

Angular 2

Template-driven forms

Using the router

Page 55: From 0 to Developer - Silicon Valley Code Camp

Create angular-cli ng2 app

@ladyleet

Configure materialize-css

Ng2 ng-cli app structure

Creating components

Angular 2

Template-driven forms

Using the router

Page 56: From 0 to Developer - Silicon Valley Code Camp

Create angular-cli ng2 app

@ladyleet

What we’ve learned today

Configure materialize-css

Ng2 ng-cli app structure

Creating components

Template-driven forms

Using the router

Page 57: From 0 to Developer - Silicon Valley Code Camp

@ladyleet@ladyleet

• My initial coding journey

• My web apps and open source contributions

• CLI tools

• How easy it is to build an app

What we went over today

Page 58: From 0 to Developer - Silicon Valley Code Camp

Tracy Lee

@ladyleet github.com/ladyleet

modern-web.org medium.com/@ladyleet

@ladyleet