javascript is coming to eat you · react & angular 2004 to present. headless cms 2004 to...

63
Citizen Tim Electric Citizen | November 2019 JAVASCRIPT IS COMING TO EAT YOU

Upload: others

Post on 20-May-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Citizen Tim Electric Citizen | November 2019

JAVASCRIPT IS COMING TO EAT

YOU

Page 2: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

January 2004

The Dean Scream

Page 3: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

How we build the web

The Industrial Revolution

1994 to 2004

The Renaissance The Technological Revolution

2004 to 2014

2014 to Today

Page 4: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

The Industrial Revolution

2004 to 2014

● Rise and domination of the CMS● Drupal, Joomla, and WordPress● SaaS/Commercial CMS● LAMP stack● The Cloud● Ajax/Jquery (Gmail)

Page 5: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

The Technological Revolution

2014 to Today

● React/Angular/Vue● Decoupled CMS● Node.js and JS libraries● JAMstack and APIs● Managed services● Serverless

Page 6: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Most of us are still living in 2014.

And it is a pretty great place to be.

Page 7: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

● We enjoy a multi-billion dollar global marketplace

● Innovation continues at great speed

● Drupal or WordPress are still an obvious choice for most websites

Winning all the things.

Page 8: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Come, Watson, come! The game is afoot.

Page 9: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

REACT & ANGULAR 2004 to present

Page 10: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

HEADLESS CMS 2004 to present

Page 11: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

PROGRESSIVE WEB APPS2004 to present

Page 12: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

FULL STACK DEVELOPER 2004 to present

Page 13: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Popular Language ModulesAll time

Page 14: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

DRUPAL & WORDPRESS2004 to present

Page 15: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

CMS2004 to present

Page 16: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

“We would prefer Python, Ruby, and/or Javascript based applications. We would steer clear of Drupal.”

Page 17: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular
Page 18: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Important Realization #1:We are rapidly changing how and what we build.

Page 19: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Stay the course.Option A

Page 20: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

“Nobody ever got fired for buying IBM.”

Option A

Page 21: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Option A

Page 22: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Option BLearn and adapt.

Page 23: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Monolithic CMS vs

DECOUPLED FRONTEND API INTEGRATIONS

MANAGED SERVICES

SERVERLESS

MICROSERVICES

Page 24: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Monolithic CMS vs

DECOUPLED FRONTEND API INTEGRATIONS

MANAGED SERVICES

SERVERLESS

MICROSERVICES

JavaScript!

Page 25: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Monolithic CMS

Page 26: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

The Golden Hammer“I suppose it is tempting, if the only tool you have is a hammer, to treat everything as if it were a nail.”

Page 27: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Once upon a time you dressed so fine.

Page 28: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Static filesMarkdown

Search (Algolia)Custom APIsSaaS APIs

Custom DBsMongo/SQLite

JSONXML/CSV

Modern Web

Page 29: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Important Realization #2:We are no longer building websites.

Page 30: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Static filesMarkdown

Custom APIsSaaS APIs

Custom DBsMongo/SQLite

JSONXML/CSV

Everything else has been solved and commoditized.

So what then is our job?

Page 31: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Static filesMarkdown

Custom APIsSaaS APIs

Custom DBsMongo/SQLite

JSONXML/CSV

This is what really matters, right?

Page 32: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular
Page 33: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Can’t Drupal also provide a good user experience?

Why would I give up all of its out-of-box features?

Why add another layer of complication and expense?

Page 34: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

From the dawn of time, web developers hath sought to build better websites, and to build them faster.

Page 35: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

What if there is a better way to build the web?

Page 36: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

● Critical Rendering● Code splitting and pre-renders● Server Side Rendering (SSR)● Node (Chrome V8)● Static Rendering

Page 37: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

● ● Data agnostic● Frontend agnostic● Right tool for the right job

Page 38: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

● Faster● More effective● More delightful

Page 39: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

●● One stack = good feelings● Faster and more fun● Components/NPM/hot reloading

Page 40: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

● Development● Support and maintenance● Hosting and infrastructure

Page 41: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular
Page 42: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Important Realization #3:You probably still need a CMS.

Page 43: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

24 Headless CMS That Should Be On Your Radar in 2019

CMSWire.com

● Butter CMS● Contentstack● Contentful● dotCMS● Mura● Cloud CMS● Cockpit CMS● Core dna● Craft CMS● Zesty.io● Directus● StoryblokWe

● GraphQL CMS● Gentics Mesh● Cosmic JS● Kentico Cloud● Prismic.io● Quintype● Sanity.io● Scrivito● Squidex● DNN Evoq Content● Strapi● Superdesk

Page 44: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular
Page 45: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

● Plus a million free tiers● And plenty of open source

Page 46: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular
Page 47: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular
Page 48: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

/jsonapi

Page 49: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

/jsonapi/jsonapi

Page 50: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Important Realization #4:Drupal solved most of the hard problems 10 years ago or more.

● Content architecture and

entities● Nodes and taxonomies● Entity References● Workflow and Permissions● Content scheduling● Media and File Handling● Battle tested goodness

Page 51: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Important Realization #5:Drupal is still the bomb.

● Free and Open source● API-first● No “record” limitations● No “rate” limitations● Arguably better at the

fundamentals of CMS● Right tool for this job

Page 52: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular
Page 53: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

React, Angular, Vue

Data SourcesSSR/CSR hybrid

Static build

Express, Koa, Redux, Babel, Webpack, etc

Node.jsNPM

JavaScript TypeScriptECMAScript/ES

SaaSDrupal/WordPressManaged Services (APIs)XML/JSON/CSVMicroservices

DB DB DB

NODESERVER

SERVERSERVER SERVER

Page 54: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular
Page 55: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Me

et

Gat

sby!

Page 56: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular
Page 57: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

“I would never buildanything in React without choosing Next or Gatsby.”

Wes Bos, Feb. 2019

Page 58: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular
Page 59: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

● Netlify, Now, AWS Amplify● Codepen/Sandbox/Glitch● One click demos● Free tiers for miles● Excellent documentation

The World is your Playground:

Page 60: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Important Realization #6:Things that were super hard 5 years ago are now easy (and even fun!)

Page 61: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Important Realization #7:

Would you rather fight 100 duck sized horses, or one horse sized duck?

Page 62: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular
Page 63: JAVASCRIPT IS COMING TO EAT YOU · REACT & ANGULAR 2004 to present. HEADLESS CMS 2004 to present. PROGRESSIVE WEB APPS 2004 to present. FULL STACK DEVELOPER 2004 to present. Popular

Citizen Tim Electric Citizen | October 2019

Thank you!