86
The prestige of being a web developer. Christian Heilmann, Fronteers, Amsterdam, October 2011 Today I will talk about about perceptions and ways how we as web developers can make our lives better.

The prestige of being a web developer

  • View
    6.916

  • Download
    2

Embed Size (px)

DESCRIPTION

Closing keynote of the Fronteers conference in Amsterdam. Blog notes are available at http://www.wait-till-i.com/2011/10/07/the-prestige-of-being-a-web-developer-fronteers-11/

Citation preview

Page 1: The prestige of being a web developer

The prestige of being a web developer.

Christian Heilmann, Fronteers, Amsterdam, October 2011Today I will talk about about perceptions and ways how we as web developers can make our lives better.

Page 2: The prestige of being a web developer

There is a lot of talk about HTML5 and when you look at the demos

showing what it can do we are faced with a lot of interactive videos and 3D animations. HTML5 however

means much more than that - it turns web technologies into a real

application environment and in this talk Chris Heilmann of Mozilla will show you how your backend code can benefit greatly from the new

features modern browsers offer us.

http://www.imdb.com/title/tt0482571/I got inspired to do so by a great movie called the prestige.

Page 3: The prestige of being a web developer

A W E S O M E!

The prestige is full of amazing actors and is a twist-and-turn drama story about two stage magicians who learn the trade together and then become mortal enemies. They sabotage each others' shows, they spy on each other and steal from each other.

Page 4: The prestige of being a web developer

All to get a bigger audience and to make money. The movie also shows nicely that the audience of the magic shows do not care much for the safety of the magicians - all they want is to be entertained.

Page 5: The prestige of being a web developer

Some people would have made the movie too awesome, so they weren’t allowed.

Page 6: The prestige of being a web developer

how do magic tricks work?

One of the things explained in the movie is how magic tricks work.

Page 7: The prestige of being a web developer

three parts to any magic trick.

Every great magic trick consists of three parts or acts

Page 8: The prestige of being a web developer

1 - The Pledge

The first part is called "The Pledge". You show something ordinary and build up anticipation

Page 9: The prestige of being a web developer

2 - The Turn

The second act is called "The Turn". The magician takes the ordinary something and makes it do something extraordinary.

Page 10: The prestige of being a web developer

3 - The Prestige

The third act, the hardest part, is "The Prestige". This is when you bring the extraordinary back to the real world.

Page 11: The prestige of being a web developer

“I use Google mostly. Is that a mac?”

What we do as developers of the web can seem magic to people. A lot really do not care what we do but I constantly see people on for example planes looking on my screen while I am fiddling with some JS or CSS and reload the browser and I see them go "oh!" and start asking me what I am doing there.

Page 12: The prestige of being a web developer

Native 3D sound in pure CSS with fallback for IE6!

We do the same to each other. We start with the pledge of using web technologies to build an interface or a solution or a demo.

Page 13: The prestige of being a web developer

+1 that like and a RT on that!

Then we fiddle around with it until it is is perfect and we show it to people and they go "ouuuhhhhh" and clap and get excited and go to Twitter, Facebook and Google+ and tell people about it.

Page 14: The prestige of being a web developer

Most inspiring talk ever!

Us, in the audience, do the same. What we miss doing is going the full way and bring "The Prestige" to the others.

Page 15: The prestige of being a web developer

Making demos and playing with technology is incredibly important. More important though is slowly but steadily, or - even better - quickly bring the awesome that is in those demos to our delivery jobs.

Page 16: The prestige of being a web developer

How do goodmagicians work?

But before I go to the prestige, let's take a look at how you can be a good magician (as told in the movie) and how it can relate to our work.

Page 17: The prestige of being a web developer

Reuse and improve A lot of the tricks shown on stage and in the movie are not new, but based on an older trick, spiced up with new ideas and more danger.

Page 18: The prestige of being a web developer

<button> vs. <div class="clicky">

if ( test ) { apply(); }

This we can easily do as well. Instead of reinventing the wheel we should base whatever we do on things that work. Sensible markup is not there to fill a screen, it is there to bring stability to our products.

Page 19: The prestige of being a web developer

In the old days...

Behaviour

Presentation

Structure

HTM

L

Page 20: The prestige of being a web developer

DHTML days (1)

Behaviour

Presentation

Structure

HTM

L

JSJS

Page 21: The prestige of being a web developer

DHTML days (2)

Behaviour

Presentation

Structure

JSCSS

HTM

L

Page 22: The prestige of being a web developer

The gospel (according to Zeldman)

Behaviour

Presentation

Structure

JS

CSS

HTM

L

Page 23: The prestige of being a web developer

The now...Behaviour

Presentation

Structure

JSCSS

HTM

L

We should not discard what we found to be a sure way of building a nice experience in the past. We should build on those principles and allow them to change to address the needs of a new audience that wants other things.

Page 24: The prestige of being a web developer

approach.refresh();

Page 25: The prestige of being a web developer

Learn from othersYou can see the magicians visiting other magic shows (in disguises) and seeing how others do it, discussing how tricks could be done and trying them out for themselves.

Page 26: The prestige of being a web developer

As geeks we are prone to want to build everything ourselves. We take a glance at what other people do but at the first "meh" we see in their code we just start from scratch. You hardly see any demos and talks based on other people's work and improving them. why not?

Page 27: The prestige of being a web developer

NIN = goodNIH = BAD!

N

Not invented here to me is the biggest problem we have. We should swallow our pride more often and just use what already works and partner with those who created these things rather than doing the same again but not quite the same but you know, better and stuff...

Page 28: The prestige of being a web developer

Be inventiveWhen the competition gets harder they start to use special effects, fireworks and mechanical parts on their bodies to create new illusions.

Page 29: The prestige of being a web developer

If we stop inventing and tinkering we might as well give up in our job as web developers. The thing to learn from the movie though is that these things are hidden and aid the cause and are not shown as the main attraction.

Page 30: The prestige of being a web developer

Right now a lot of tricks who are a necessary evil to make something work are sold as "best practices". They can not always be applied across the board though.

Page 31: The prestige of being a web developer

Leaving the comfort zoneWhen one magician does a trick the other just can not fathom he goes out of the world of stage shows and tries to employ the work of Nikola Tesla who allegedly really can transport people and things to other parts of a room using electricity.

Page 32: The prestige of being a web developer

!desktop

With the web moving towards tablets and mobile and rich experiences with native APIs and code we have to start to open up to learn from others.

Page 33: The prestige of being a web developer

A lot of what we need to fix right now for WebGL and gaming has been fixed in Flash in the past already. If you are honest about it - the demos we show and applaud in open technologies would be laughed at when shown in Flash.

Page 34: The prestige of being a web developer

Can haz Flash info plz?

So let's reach out and talk to the experts in these fields to see what can be re-used.

Page 35: The prestige of being a web developer

Be gorgeous!

Once a trick has been created, the magicians dress it up with beautiful stage machinery and gorgeous assistants and nice clothing.

Page 36: The prestige of being a web developer

When we show off things they should be gorgeous. The whole concept of "this is only a demo of course it can break" is not helpful to the cause. When we are ready to show the world about our new cool things they should look incredible, be beautifully interactive and work across the board.

Page 37: The prestige of being a web developer

code = poetry

I've said it before, your code is poetry and others should learn how to play with language from it.

Page 38: The prestige of being a web developer

Be open

The most impressive tricks magicians show are the ones done in the middle of a big crowds, with everybody watching and they still manage to amaze people with seemingly impossible things.

Page 39: The prestige of being a web developer

http://www.flickr.com/photos/secretlondon/4054117626/

It is very simple to create an amazing product when you control everything. This is why the web can never compete on a "completeness" level with native code on iPhones and other devices.

Page 40: The prestige of being a web developer

The thing is though that it doesn't have to and giving a web product only one interface and experience is not using it to its strengths.

Page 41: The prestige of being a web developer

adaptation brings the prestige

So what about the prestige? How do we bring the magic back to its origin to make it even more fascinating? One word: adaptation.

Page 42: The prestige of being a web developer

"It is not the strongest of the species that survive, nor the most intelligent, but the ones most responsive to change." -- Charles Darwin

Page 43: The prestige of being a web developer

The biggest power of open web technologies is their ability to adapt. Web applications can be re-used in closed environments by means of conversion and you can maintain your product in one space.

Page 44: The prestige of being a web developer

your work, multiplied!

If you want to go native you multiply your work by every platform you need to support. We should be like the web.

Page 45: The prestige of being a web developer

"I was a young man with uninformed ideas. I threw out queries, suggestions, wondering all the time over everything; and to my astonishment the ideas took like wildfire"

Charles Darwin

"I was a young man with uninformed ideas. I threw out queries, suggestions, wondering all the time over everything; and to my astonishment the ideas took like wildfire" --Charles Darwin

Page 46: The prestige of being a web developer

web workers != stage magicians

Never stop questioning and give your input. We are web developers, not stage magicians.

Page 47: The prestige of being a web developer

Something I can never have?

Your job is to take what the bleeding edge of our market does and bring it into the day to day delivery.

Page 48: The prestige of being a web developer

Ask questions, demand cool stuff to adapt to your environments.

You can only do that when you ask the right questions.

Page 49: The prestige of being a web developer

Don’t be out for blood!

In the movie the competition between the magicians turns tragic as in fierce competition they try to kick each other out of the market. In the past this happened with browser makers, too.

Page 50: The prestige of being a web developer

Browser makers want the web to succeed and deliver awesome experiences.

Nowadays the competition of browsers is different. We all want the new web to work. We all are aware of browsers having to adapt to new environments.

Page 51: The prestige of being a web developer

This is what we should be spending time and money on.

This is what we should be concentrating on - not building more and more magic shows to tell the world that one or the other browser is the better one.

Page 52: The prestige of being a web developer

http://www.flickr.com/photos/blank22763/6208392005/

Can haz moar harmony?

Therefore I'd love to see a shift in the community, something that Chris Williams talked about at JSConf, too: stop trolling, stop inciting fights and stop the greed for controversy.

Page 53: The prestige of being a web developer

We all like a good fight and we all like to see great artists and athletes compete with another.

Page 54: The prestige of being a web developer

Being reactive kills innovation.

When our main focus though is to be better than others and react to attacks and things others have done we lose the opportunity to work together on a predictable web for developers and great experiences for end users across the board.

Page 55: The prestige of being a web developer

People to trust

Page 56: The prestige of being a web developer

If you’re on stage, tell the truth.

When you are on stage you are in the limelight. What you say has a lot more gravitas then when you say it in the pub.

Page 57: The prestige of being a web developer

http://www.flickr.com/photos/aoifecitywomanchile/5204950442/

Therefore you need to have people you can trust to ensure you don't tell lies. If you talk about a product and get people excited and the product becomes unavailable or the product team is totally unresponsive it is you who gets the blame.

Page 58: The prestige of being a web developer

Vanishing act

Three days ago, <a href="http://meyerweb.com/eric/thoughts/2011/10/04/searching-for-mark-pilgrim/">Mark Pilgrim vanished off the internet</a>. No Twitter account, no Google+, no Facebook and all his sites, including the awesome <a href="http://diveintohtml5.org">Dive into HTML5</a> became a 410 "Gone" empty page.

Page 59: The prestige of being a web developer

Mark == OK?

People started getting worried and tried to contact him to no avail, they even called the police to check on him and found that he is OK and was annoyed that people went so far as to call the police.

Page 60: The prestige of being a web developer

Regardless of Mark's reasons, this made me think about longevity. In the last year we have seen a lot of web attrition. APIs got shut down, companies closed their "labs" sections and formerly free software gets bought and vanishes quickly. Just look at the HTML5 game engines out there.

Page 61: The prestige of being a web developer

The vanishing of Dive into HTML5 was a massive blow. I linked to this great resource in almost all my presentations, when people ask me where to learn about HTML5 I sent them there. Of course there are <a href="http://diveintohtml5.info">mirrors</a> of the site, but that still means that all my old links are broken now.

Page 62: The prestige of being a web developer

Join the band!It made me think that it is time to stop relying on a few people and on ourselves as a source of truth and information. I write a lot of things on my blog and people link to that. I also don't find time to re-visit old posts and update the information which might not be applicable any longer.

Page 63: The prestige of being a web developer

So I started to think that it makes more sense to contribute to places where people already work together to document things. Forums, developer documentations, wikis, and - of course - the Mozilla Developer Network docs.

Page 64: The prestige of being a web developer

Anyone can do that - there is an edit button on those and you can add a fix, a note or an example.

Page 65: The prestige of being a web developer

Collaboration

Instead of writing a blog post and hoping for comments amongst the spam I started to use collaborative tools to begin with a discussion and then write an article or post once we found an interesting solution. There are many cool tools to do so:

Page 66: The prestige of being a web developer

Using <a href="http://jsfiddle.net">JSFiddle</a> you can show some code and ask people to fix and improve it with you. You can also provide a working demo to prove a point or give a demo to people.

Page 67: The prestige of being a web developer

Using Google Docs and Etherpad you can write docs and explanations together and get some quick review from people.

Page 68: The prestige of being a web developer

Using Dropbox you can work together with people on some files.

Page 69: The prestige of being a web developer

Using GitHub you can spread your code and you can get and improve other people's work.

Page 70: The prestige of being a web developer

Be your own teacherI've always found that I learn best by doing. Instead of getting things explained to me and following an hour of live coding or watch a video I get the best results by downloading the code, playing with it, breaking it and finding the solution doing some research.

Page 71: The prestige of being a web developer

code is open, slides are released!

Anyone can do that. That is the fun about open source and the way we do things as web development speakers.

Page 72: The prestige of being a web developer

Fill the blanks

The other day I went to attend <a href="http://sebleedelisle.com/training/">Seb Lee-Delisle's Creative JS course</a>. A great course and a good reminder to play with technology. The course assumed a lot of previous knowledge of how to animate with computers and basic Math of triangles and basic physics.

Page 73: The prestige of being a web developer

As Smashing Magazine were very eager to get another article from me to publish I reminded myself of a few of the Math tricks used in Commodore 64 demos and <a href="http://coding.smashingmagazine.com/2011/10/04/quick-look-math-animations-javascript/">wrote an article about it</a>. The article got good comments and did the rounds on Twitter.

Page 74: The prestige of being a web developer

As an extra, I put all the demo code on JSFiddle for people to play with. People now can read that article as a refresher before the course.

Page 75: The prestige of being a web developer

Guerrilla docs

You can do that, too. If you find something cool on GitHub and you use it and you find an annoyance, why not fix it and send the original writer a pull request?

Page 76: The prestige of being a web developer

!code. Examples + Docs = :)

Of course not everybody is happy about changes in the code but I dare you to find anyone who'd be unhappy to get some extra docs or examples using their systems.

Page 77: The prestige of being a web developer

OHAI -webkit, here’s -moz, -o, -ms, !-

You could also create a folder with fixes for other browsers for demos that only work in one. There are a lot of possibilities.

Page 78: The prestige of being a web developer

Use what you heard!It is very important that you use what people on stage talk about. And not only give it a go in your lunch break. Implement it in products and feed back the issues you find. There is no point in us showing a brave new world of technology on stage and then never seeing it used.

Page 79: The prestige of being a web developer

"Now that we spent 4 years making rounded corners working in every browser designers don't want to use them as they look dated"

-- Molly Holzschlag

Using things means we can avoid the delivering people getting more and more disconnected from those who show what "best practices" are.

Page 80: The prestige of being a web developer

Repeat the message!Most of you work somewhere, and others work with clients. Why don't you now go home after this conference and set up an internal meeting showing off some of the things you learned?

Page 81: The prestige of being a web developer

Your boss will love you!

There are a few benefits to this: you can share the goodies, you give back to the company who paid your ticket here, you get some experience speaking and you show that Fronteers is not just a big party.

Page 82: The prestige of being a web developer

Collect good storiesIf you manage to use some of the stuff you heard about here and made a client happy or worked more effectively in your job, tell this story. Send it around, blog it or send it as an email to us. We need to hear how our work has impacted your life.

Page 83: The prestige of being a web developer

Best practices are discovered, not defined!

We live in a changed world. The "best practices" of old are not applicable everywhere and there is a lot of criticism towards the web camp as being people who preach dogma and missed the boat.

Page 84: The prestige of being a web developer

Bring us evidence!

Let's collect real evidence how we used open standards, sharing practices and free tools to build an amazing web. Then clean up our approach and make it a best practice based on facts instead of great principles.

Page 85: The prestige of being a web developer

Reserved for you

So please, join us in documenting, fixing and using what we are all very excited about. This is not a magic show, we are here to tend to the web that was so far damn good to us.

Page 86: The prestige of being a web developer

Thanks!Chris Heilmann

@codepo8