a tale of two webs

26
A Tale of Two Webs Omid Hezaveh Web Developer at Frosmo

Upload: omid-hezaveh

Post on 15-Apr-2017

181 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: A tale of two webs

A Tale of Two Webs

Omid Hezaveh Web Developer at Frosmo

Page 2: A tale of two webs

Inject Our JavaScript Library

Analyse Add more JavaScript

(XSS)

Page 3: A tale of two webs
Page 4: A tale of two webs

Cool WebReal Web

Page 5: A tale of two webs

Cool Web

Page 6: A tale of two webs

AJAX , WebRTC

Page 7: A tale of two webs

WebGL

AJAX , WebRTC

Page 9: A tale of two webs

Web Assembly / ASM.js

WebGL

AJAX, WebRTC

Page 10: A tale of two webs

asm.js“an extraordinarily optimizable, low-level subset of JavaScript”

Page 11: A tale of two webs

Compile C Into JavaScript

int f(int i) { return i + 1;}

function f(i) { i = i|0; return (i + 1)|0;}

Page 12: A tale of two webs

Vim.js

Page 13: A tale of two webs

Elm, React, ...

Web Assembly / ASM.js

WebGL

AJAX, WebRTC

Page 14: A tale of two webs

elm“the best of functional programming in your browser”

Page 15: A tale of two webs

import Html exposing (text)

main =

text "Hello, World!"

Hello world in elm

Page 16: A tale of two webs

Elm’s Time Traveling Debugger

http://debug.elm-lang.org/edit/NumbersOnly.elm

Page 17: A tale of two webs

Wizards With Unlimited Time

Page 18: A tale of two webs

Greenfield

“undeveloped land in a city or rural area either used for agriculture, landscape design, or left to evolve naturally.”

Page 19: A tale of two webs

Real Web

Page 20: A tale of two webs

Brownfield “land previously used for industrial purposes or some commercial uses.”

Page 21: A tale of two webs

Every project becomes brownfield even before the first commit.

Page 22: A tale of two webs

jQuery 1.2

Name:

Email:

SUBMIT

Error: Email is not valid, try again.

Page 23: A tale of two webs

Experienced developers cherry pick, others get overwhelmed.

Page 24: A tale of two webs

● Accepting the duality helps to avoid frustration

● Be kind to juniors, it’s easy to be confused in this

Page 25: A tale of two webs

Drink Water Before Each Commit

“People with full bladders make better decisions”University of Twente, The Netherlands source