Top Banner
Fuel for a great web experience. Christian Heilmann | http://wait-till-i.com | http://scriptingenabled.org La Cantine, Paris, April 2009
100

Fuel for a great web experience

Sep 12, 2014

Download

Education

My talk at the developer evening at La Cantine in Paris covering all the free services Yahoo offers developers.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Fuel for a great web experience

Fuel for a

great web

experience.

Christian Heilmann | http://wait-till-i.com | http://scriptingenabled.org

La Cantine, Paris, April 2009

Page 2: Fuel for a great web experience

As web developers our job is to build interfaces.

Page 3: Fuel for a great web experience

Interfaces that allow people to reach their goals easily.

Page 4: Fuel for a great web experience

Today I am here to talk to you about tools that make it easy for you to do that.

Page 5: Fuel for a great web experience

All of which are part of what we offer you.

Page 6: Fuel for a great web experience

And are free for you to use.

Page 7: Fuel for a great web experience

For all this, you need to remember one URL:

Page 8: Fuel for a great web experience

http://developer.yahoo.com

Page 9: Fuel for a great web experience

I will talk about 7 things we offer and how to use them.

Page 10: Fuel for a great web experience

1We provide a great online experience.

Page 11: Fuel for a great web experience

Yahoo’s products are built by teams of experts who are passionate about their jobs.

Page 12: Fuel for a great web experience

We try our hardest to make things work for everybody out there.

Page 13: Fuel for a great web experience

This means first and foremost to take the time and think about what we are trying to achieve.

Page 14: Fuel for a great web experience
Page 15: Fuel for a great web experience

Analyse what users want to do here:

Define type of search,

enter search term,

submit form.

Page 16: Fuel for a great web experience

Then use what allows them to do exactly that.

Page 17: Fuel for a great web experience

How about this one?

Page 18: Fuel for a great web experience

Analyse what data you display, and find the easiest way to show it.

Then make it look the way you want it to.

Page 19: Fuel for a great web experience

Sometimes you need to make technologies work by building workarounds.

Page 20: Fuel for a great web experience

Screenshots of uk.video.yahoo.com with and without JavaScript

http://uk.video.yahoo.com/

Page 21: Fuel for a great web experience
Page 22: Fuel for a great web experience

We build things using progressive enhancement.

Page 23: Fuel for a great web experience

Without JavaScript With JavaScript

http://developer.yahoo.com/yui/examples/autocomplete/ac_basic_array_clean.html

Page 24: Fuel for a great web experience

Without JavaScript

With JavaScript

http://developer.yahoo.com/yui/examples/datatable/dt_enhanced.html

Page 25: Fuel for a great web experience

Once we found out the goals of our users, we drive for excellence.

Page 28: Fuel for a great web experience

2We share the data that drives this experience.

Page 29: Fuel for a great web experience

Our research with users resulted in patterns that we apply to help people reach their goals as quickly as possible.

Page 30: Fuel for a great web experience

These patterns are available for you to apply to your own products.

Page 33: Fuel for a great web experience

Under the hood, our systems are driven by APIs to make sure we can scale products to our size.

Page 34: Fuel for a great web experience

These are available to you, too.

Page 36: Fuel for a great web experience

3We share the research we’ve done to make it a smooth

experience.

Page 37: Fuel for a great web experience

The exceptional performance section of YDN provides detailed information on how to make your products behave faster.

Page 39: Fuel for a great web experience

4We provide building blocks to build your own great

experience.

Page 41: Fuel for a great web experience

The Yahoo User Interface library is a CSS and JavaScript framework to build working web applications and sites.

Page 43: Fuel for a great web experience

Unlike other frameworks YUI is not a catch-all solution but is cut up into modules, each fulfilling one job.

Page 44: Fuel for a great web experience
Page 45: Fuel for a great web experience

You can use any of these modules on their own, even together with other libraries.

Page 46: Fuel for a great web experience

We’ve used these modules to create reusable widgets based on out design patterns.

Page 47: Fuel for a great web experience

http://ui.jquery.com/

http://ui.jquery.com

Page 48: Fuel for a great web experience

The YUI widgets come with an own style that can be fully customised.

Page 50: Fuel for a great web experience

They all are event driven which means you can change their workings without changing their code.

Page 52: Fuel for a great web experience

5We provide tools to improve your products.

Page 53: Fuel for a great web experience

All our products are built around a defined methodology defining browser support.

Page 55: Fuel for a great web experience

You can use this methodology to scope out client work without over promising.

Page 56: Fuel for a great web experience

One great tool to test the quality of a web sites is YSlow.

Page 57: Fuel for a great web experience

How can you make it faster?

http://developer.yahoo.com/yslow/

Page 58: Fuel for a great web experience

http://developer.yahoo.com/yui/logger/

Page 61: Fuel for a great web experience

6We offer amazingly easy interfaces to the web.

Page 62: Fuel for a great web experience

First there was Pipes.

Page 64: Fuel for a great web experience

However, Pipes was too complex and not flexible enough as you cannot change a pipe programatically.

Page 65: Fuel for a great web experience

So we came up with a query language for the web: YQL.

Page 66: Fuel for a great web experience

Say you want to get photos of Paris that you are allowed to show in your own products.

Page 67: Fuel for a great web experience

You need to define Paris without a doubt.

select woeid from geo.places where text='Paris,france'

Page 68: Fuel for a great web experience

Then find photos that were taken there.

select id from flickr.photos.search where woe_id in (select woeid from geo.places where text='paris,france')

Page 69: Fuel for a great web experience

Check that they have the right license.

select id from flickr.photos.search where woe_id in (select woeid from geo.places where text='paris,france') and license=4

Page 70: Fuel for a great web experience

And get all the information about them.

select * from flickr.photos.info where photo_id in (select id from flickr.photos.search where woe_id in (select woeid from geo.places where text='paris,france') and license=4)

Page 71: Fuel for a great web experience

http://developer.yahoo.com/yqlhttp://developer.yahoo.com/yql/console/?q=select%20*%20from%20flickr.photos.info%20where%20photo_id%20in%20(select%20id%20from%20flickr.photos.search%20where%20woe_id%20in%20(select%20woeid%20from%20geo.places%20where%20text%3D%27paris%2Cfrance%27)%20and%20license%3D4)

Page 72: Fuel for a great web experience

You have the data, now you can build a nice interface to show it.

Page 74: Fuel for a great web experience

All without having to spend hours on reading either the Flickr or the GeoPlanet API docs :)

Page 75: Fuel for a great web experience

Using YQL and YUI you can create a whole web site maintained elsewhere.

Page 76: Fuel for a great web experience
Page 77: Fuel for a great web experience
Page 78: Fuel for a great web experience

YQL makes access to all kind of APIs very easy.

Page 79: Fuel for a great web experience

What if you want to add yours?

Page 80: Fuel for a great web experience

YQL has a concept of “Open Tables”.

Page 81: Fuel for a great web experience

This means you can tell us about your API endpoint and parameters in an XML schema...

Page 82: Fuel for a great web experience

...point to this schema and use it as a table in YQL.

Page 83: Fuel for a great web experience

For example: Twitter.

Page 84: Fuel for a great web experience
Page 86: Fuel for a great web experience

There’s a repository of open tables available on github.

Page 88: Fuel for a great web experience

Add yours, get people to use your API and get famous :)

Page 89: Fuel for a great web experience

7We offer our search index to tailor to vertical markets.

Page 91: Fuel for a great web experience

http://ask-boss.appspot.com/

Page 92: Fuel for a great web experience
Page 93: Fuel for a great web experience

http://ask-boss.appspot.com/

Page 95: Fuel for a great web experience

http://keywordfinder.org

Page 96: Fuel for a great web experience

So there you have it – 7 things we offer you as developers to use and learn from.

Page 97: Fuel for a great web experience

We’re improving our work by getting your feedback and seeing your implementations.

Page 98: Fuel for a great web experience

And you can build much better products by basing them on working solutions and concentrating on the delivery of your products rather than problems we already had to solve for you.

Page 99: Fuel for a great web experience

Come and grab and show us what you can do!

Page 100: Fuel for a great web experience

Christian Heilmann

http://icant.co.uk

http://wait-till-i.com

http://scriptingenabled.org

http://twitter.com/codepo8

Thanks.Any questions?