The Web Isn't Exciting Anymore -- It's Merely Plumbing


The Presentation inside:

Slide 0

ERASE AND REWIND A tale of innovation and impatience CHRIS HEILMANN (@CODEPO8), OPEN WEB CAMP, SAN JOSE, 2015


Slide 1

The Levellers - Dance before the Storm


Slide 2

WE ARE HERE AT THE OPEN WEB CAMP, WHICH IS ABOUT A FEW DREAMS I TRIED TO MAKE SURE COME TRUE OVER THE LAST YEARS.


Slide 3

SIMPLE DREAMS, GOOD DREAMS THAT PEOPLE CAN BENEFIT FROM… ✓ Maintainability ✓ Accessibility ✓ Predictability ✓ Flexibility ✓ Extensibility


Slide 4

WE, WHO WEAR THE BATTLE SCARS OF THE MEMORY OF PRE-HTML5 AND CSS DAYS SEE SIMPLE SOLUTIONS… ✓ Stick to web standards ✓ Bet on the open web ✓ Practice your craft ✓ Question everything and don’t assume functionality ✓ If it has no URL, and can’t be view-sourced or crawled, don’t trust it - it is faux web.


Slide 5

AND, OF COURSE WE HAD AN OLD ENEMY THAT IS EASILY TO BLAME FOR ANYTHING…


Slide 6

I GOT SO ANNOYED WITH THIS, THAT I TOOK DRASTIC MEASURES…


Slide 7

I JOINED MICROSOFT TO HELP WITH ONE VERY IMPORTANT FIX THE WEB VERY MUCH NEEDED…


Slide 8

THE PLAN WAS SIMPLE: BURN IE AND LET A NEW BROWSER EMERGE FROM THE ASHES…


Slide 9

✘ ✘ THE IDEA WAS TO GET RID OF ALL THE BAD IDEAS OF THE PAST… VML attachEvent() ✘ currentStyle ✘ X-UA-Compatible (render modes) ✘ IE Layout Quirks ✘ VBScript ✘ Conditional Comments ✘ MS-Prefixed Events


Slide 10

AND REPLACE THEM WITH YUMMY GOODNESS.


Slide 11

THERE ARE MANY WEBS, IT SEEM…


Slide 12

EXPERIMENTAL? PROBABLY SAFE TO USE… before after -webkit-appearance: none before after -webkit-gradient


Slide 13

COPY + PASTE BEATS VALIDATION? <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta charset="utf-8"> ✔ <meta charset=“utf8"> ✘ > 600k times in use on GitHub! https://github.com/search?l=html&q=charset+%22UTF8%22&ref=searchresults&type=Code&utf8=%E2%9C%93


Slide 14

✓ ✓ THINGS I LEARNED WORKING FOR BROWSER MAKERS It is a constant race not to break the web - every mistake web developers make needs to get catered for. The pressure is immense. Instead of pushing for an interoperable web, browsers are constantly compared and expected to be different. ✓ When implementing standards, we find a lot of problems and feed them back. That’s why a score of 100% in feature tests makes no sense. ✓ Most speed increases are based on analysing and fixing developer mistakes/sloppiness.


Slide 15

BACK TO WHAT WE DO HERE…


Slide 16

MOST OF THE BEST PRACTICES WE CELEBRATE HERE ARE PROMISES.


Slide 17

THE BIGGEST THING WE PROMISE PEOPLE IS LONGEVITY AND RE-USE OF THEIR WORK.


Slide 18

The web is not binary, one or zero, on or off. It’s not a platform where you get one hundred per cent or zero per cent. It’s this continuum. The web is not a platform. It’s a continuum. – Jeremy Keith https://adactio.com/journal/6692


Slide 19

✓ The web is not a platform. It’s a continuum. – Jeremy Keith 100% true ✓ Deep, future-focused thinking ✓ Insightful ✓ Inspiring ✓ Techno hippie horseshit


Slide 20

OUR PROMISES OF NOW AND FUTURE SUCCESS AND EVERLASTING RE-USE ARE NOT AN INCENTIVE ANY LONGER…


Slide 21

WHY IS THAT?


Slide 22

THE WEB ISN’T EXCITING ANY MORE - IT IS PLUMBING.


Slide 23

THE COOL, NEW AND EXCITING THINGS AREN’T WEB TECHNOLOGY BASED.


Slide 24

COMPUTING CHANGED AND THE MOST IMPORTANT PLATFORM WORKS ON OTHER PRINCIPLES THAN THE WEB.


Slide 25

MOBILE HAS BEEN SOLD TO US AND BY US AS TOTALLY DIFFERENT • The app is a much better form factor than web sites with URLs • Everything needs to work offline • Everything needs to be much simpler interfaces - people are busy and on the road • Every app should take full advantage over what the operating system and hardware offers


Slide 26

THE BIGGEST THING THE WEB NEEDS TO MATCH IS MAKING MONEY.


Slide 27

✓ REGARDLESS OF HYPED NUMBERS, MOBILE NATIVE PLATFORMS ALLOW YOU TO MAKE MONEY… Mobile native platforms have a monetisation plan that is not “show some ads” ✓ It is incredibly easy to spend money on iOS ✓ There is no preconception that “everything is free” ✓ Releasing on iOS means you target an affluent audience. ✓ Payments for upgrades are a normal thing


Slide 28

✘ WE ARE STILL FAR, FAR AWAY FROM BEING ABLE TO DELIVER THAT…


Slide 29

TROUBLE WITH THE MOBILE WEB… www.theverge.com/2015/7/20/9002721/the-mobile-web-sucks


Slide 30

TROUBLE WITH THE MOBILE WEB… www.theverge.com/2015/7/20/9002721/the-mobile-web-sucks


Slide 31

ON MOBILE, THE DECK IS STACKED AGAINST THE WEB…


Slide 32

ON MOBILE, THE DECK IS STACKED AGAINST THE WEB… • Browsers are hard-wired and update with operating systems . • Browsers are built by many different players, all with an own agenda. • The more you control the experience, the more competitive you are.


Slide 33

EVEN FEATURE DETECTION DOESN’T SAVE US…


Slide 34

THE FIVE STAGES OF MOURNING FOR THE OPEN WEB IN A MOBILE WORLD. DENIAL ANGER BARGAINING DEPRESSION ACCEPTANCE


Slide 35

THE FIVE STAGES OF MOURNING FOR THE OPEN WEB IN A MOBILE WORLD. DENIAL ANGER BARGAINING DEPRESSION • This is just a fad, it will go away. • If we build our own operating system based on HTML5, the others will learn from that and embrace it more. • Surely the simplicity of web standards and the amazing value of Microformats and properly structured HTML will never cease to amaze new developers. ACCEPTANCE


Slide 36

THE FIVE STAGES OF MOURNING FOR THE OPEN WEB IN A MOBILE WORLD. DENIAL ANGER BARGAINING DEPRESSION ACCEPTANCE


Slide 37

DENIAL ANGER BARGAINING IT IS THE FAULT OF THE USERS! DEPRESSION ACCEPTANCE They do all the things wrong like using outdated browsers or turning off JavaScript!


Slide 38

DENIAL ANGER BARGAINING IT IS THE FAULT OF THE CLIENTS! DEPRESSION ACCEPTANCE They only want crap and nothing exciting that pushes the envelope!


Slide 39

DENIAL ANGER BARGAINING IT IS THE FAULT OF THE TOOL CREATORS! DEPRESSION ACCEPTANCE We need to match what native has in terms of tooling and then we all can ride unicorns and have ice cream!


Slide 40

DENIAL ANGER BARGAINING IT IS THE FAULT OF THE BROWSER MAKERS! DEPRESSION ACCEPTANCE They just don’t innovate quickly enough to match what mobile can do!


Slide 41

THE FIVE STAGES OF MOURNING FOR THE OPEN WEB IN A MOBILE WORLD. DENIAL ANGER BARGAINING DEPRESSION • Let’s build a stop phone gap solution - one that is designed to become redundant to show mobile OS makers that the web is ready if only it had access to hardware capabilities. • Let’s define lots of APIs and form expert groups - surely these will be embraced an implemented by OS providers instead of coming up with their own ones! • Let’s inject browsers with our apps into the platform (crosswalk-project.org). This worked wonders with Chromeframe and Internet Explorer. ACCEPTANCE


Slide 42

THE FIVE STAGES OF MOURNING FOR THE OPEN WEB IN A MOBILE WORLD. DENIAL ANGER BARGAINING DEPRESSION • Let’s concede defeat - we can never match what native offers, and never innovate as fast. • Let’s consider a new career - goat farming, for example, sounds like a great investment. • Let’s try to find recognition elsewhere - maybe in a smaller group of people who care about what I do. ACCEPTANCE


Slide 43

THE FIVE STAGES OF MOURNING FOR THE OPEN WEB IN A MOBILE WORLD. DENIAL ANGER BARGAINING DEPRESSION • Maybe this is just another form factor - and we could use our time to care for the web that is instead. • Maybe there is space for more than one form factor - just maybe. I mean, crazier things have happened, like multiple ways to use a road. • Maybe this is a time to reflect and improve what we have after all, there is a lot that needs fixing? ACCEPTANCE


Slide 44

THE WEB IS DESIGNED TO WORK INDEPENDENT OF HARDWARE, SOFTWARE, ABILITY OR LOCATION.


Slide 45

SPIRIT ANIMAL: PLATYPUS?


Slide 46

MORE LIKE: HYRAX


Slide 47

THE WEB IS FULL OF RUBBISH, TIME TO CLEAN IT UP INSTEAD OF ADDING MORE…


Slide 48

✘ THE PROBLEM IS THAT WE HAVE LOST OUR VOICE AND FOCUS. Innovation happens a lot in browsers and in a very experimental fashion ✘ A lot is purely engineering driven and relies on a lot of abstractions ✘ The starting point for developers became much more complex ✘ It is a full-time job to keep up with JavaScript/platform innovation ✘ Business reasons trump user experience.


Slide 49

PRIORITIES OF CONSTITUENCIES… “ In case of conflict, consider users over authors over implementors over specifiers over theoretical purity. In other words costs or difficulties to the user should be given more weight than costs to authors; which in turn should be given more weight than costs to implementors; which should be given more weight than costs to authors of the spec itself, which should be given more weight than those proposing changes for theoretical reasons alone. Of course, it is preferred to make things better for multiple constituencies at once. http://www.w3.org/TR/html-design-principles/#priority-of-constituencies


Slide 50

ENOUGH WITH THE EMPTY PROMISES • The web is a given now - people don’t care for it as much as we did in the past. • This means that what we offer as solutions need to have immediate benefits - not a glorious future that might never come. • We should analyse some of our best practices. Sure, backwards compatibility means we never break the web. But we also carry ballast with us. • People will use what is the most simple first, then the things that are the right thing to do. Let’s offer simplicity.


Slide 51

ENOUGH WITH THE CONSTANT CRITICISM • Let’s analyse the reasons why someone violated our best practices. • The squeaky wheel gets the oil, it also gets replaced when it keeps squeaking • If the fix of the thing we criticise doesn’t yield any overall benefit, we won’t reach people at all. • Sometimes the web can be the wrong solution


Slide 52

LOVE AND PASSION TRUMPS EVERYTHING…


Slide 53

LOVE COMES IN MANY FORMS… • Understanding - our world has become much more competitive and mainstream. We who care about the web should help newcomers calm down and see its flexibility as an opportunity. • Patience - we will see the same mistakes being made over and and over again. Maybe this is a right of passage, and beneficial as a learning exercise. • Kindness - it is easy to criticise and simple to point out a flaw. It is more rewarding to connect personally and ask for the reasons and offer a solution.


Slide 54

LOVE COMES IN MANY FORMS… • Interest - what makes people not go for open web solutions? What is the thing the alternatives give them? • Openness - we never stop learning. Maybe some of the things that sound ludicrous at first can become a great idea with some tweaking. • Sharing - many things we consider a given got forgotten. Time to remind people. You start teaching, you end up learning. • Courage - we hear far too much from the loudest and the most known. If you feel strongly about something, speak up and tell us. We need new, fresh voices!


Slide 55

Selfie Stick group: j0sh (www.pixael.com) https://www.flickr.com/photos/[email protected]/16322726941/ Stick and Carrot: Alan O’Rourke https://www.flickr.com/photos/[email protected]/17233999165 Skip by Denna Jones https://www.flickr.com/photos/[email protected]/2336623192 Pencil with rubber: Hometown Beauty https://www.flickr.com/photos/[email protected]/8408943093/ THANK YOU! Stick, Carrot and heart: opensourceway https://www.flickr.com/photos/[email protected]/5537457133/ CHRIS HEILMANN Goat: Chris Samuel https://www.flickr.com/photos/[email protected]/56574260/ @CODEPO8 Hyrax: Wikioedia https://en.wikipedia.org/wiki/Hyrax Platypus: BioDivLibrary https://www.flickr.com/photos/[email protected]/6260709968/ Return key: vapour trail https://www.flickr.com/photos/[email protected]/2765254958/


Slide 56


×

HTML:





Ссылка: