hacking for innovation - wpp, new york

84
HACKING FOR INNOVATION Saurabh Sahni YDN Product Guy, Hacker, Evangelist Twitter: @saurabhsahni

Upload: saurabh-sahni

Post on 09-May-2015

2.057 views

Category:

Technology


2 download

DESCRIPTION

Introduction to Hacking & Yahoo! APIs

TRANSCRIPT

Page 1: Hacking for Innovation - WPP, New York

HACKING FOR INNOVATION Saurabh Sahni YDN Product Guy, Hacker, Evangelist Twitter: @saurabhsahni

Page 2: Hacking for Innovation - WPP, New York
Page 3: Hacking for Innovation - WPP, New York
Page 4: Hacking for Innovation - WPP, New York
Page 5: Hacking for Innovation - WPP, New York

WHAT IS A HACK?

An innovative solution to a real world problem; quick and dirty workaround, yet effective.

Page 6: Hacking for Innovation - WPP, New York

Hacking is nothing new

Page 7: Hacking for Innovation - WPP, New York

!"#$%%&&&'()*+,'*-.%#!-/-0%123-12242,*!)56%789:;79<8=%)1%05/>;:8=;<:?@8A89??9<B

Page 8: Hacking for Innovation - WPP, New York
Page 9: Hacking for Innovation - WPP, New York
Page 10: Hacking for Innovation - WPP, New York
Page 11: Hacking for Innovation - WPP, New York

However, today we are looking for software

hacks

Page 12: Hacking for Innovation - WPP, New York

Let’s see some examples!

Page 13: Hacking for Innovation - WPP, New York
Page 14: Hacking for Innovation - WPP, New York
Page 15: Hacking for Innovation - WPP, New York
Page 16: Hacking for Innovation - WPP, New York
Page 17: Hacking for Innovation - WPP, New York
Page 18: Hacking for Innovation - WPP, New York

HACKDAY: SIMPLE RULES

•  Take something from idea to prototype in a day •  Demo it at the end of day, in three minutes or

less

Page 19: Hacking for Innovation - WPP, New York

The question is though: where do I start?

Page 20: Hacking for Innovation - WPP, New York
Page 21: Hacking for Innovation - WPP, New York

!"#$%%&&&'()*+,'*-.%#!-/-0%CD031#-4)2*!)+%?A9?A:@:@8%B

Page 22: Hacking for Innovation - WPP, New York

Find a problem that needs solving and then have a go

at solving it!

Page 23: Hacking for Innovation - WPP, New York

CHALLENGES

1.  Campaign creative developers and designers !  Unique & engaging advertising/brand experience

2. Web & Mobile developers and designers !  Solve a digital media problem

Page 24: Hacking for Innovation - WPP, New York

How to start building it?

Page 25: Hacking for Innovation - WPP, New York

To build a typical web hack you need data,

access and an interface

Page 26: Hacking for Innovation - WPP, New York

The web has lot of data around

Page 27: Hacking for Innovation - WPP, New York

ProgrammableWeb.Com – 3517 APIs

Page 28: Hacking for Innovation - WPP, New York

http://developer.yahoo.com

Page 29: Hacking for Innovation - WPP, New York

http://developer.yahoo.com/everything.html

Page 30: Hacking for Innovation - WPP, New York

To access the data easily you can use YQL

Page 31: Hacking for Innovation - WPP, New York

YQL turns the internet into a database.

Page 32: Hacking for Innovation - WPP, New York

YQL LETS YOU FILTER, COMBINE, TWEAK DATA ACROSS HUNDREDS OF WEB SERVICES.

http://developer.yahoo.com/yql/console

Page 33: Hacking for Innovation - WPP, New York

How will you build a system to calculate

distance between two places?

Page 34: Hacking for Innovation - WPP, New York

Use Vincenty's formulae

Page 35: Hacking for Innovation - WPP, New York

Or use YQL

Page 36: Hacking for Innovation - WPP, New York

Select miles FROM geo.distance where

place1=“San Francisco” AND place2=“New York”

Page 37: Hacking for Innovation - WPP, New York
Page 38: Hacking for Innovation - WPP, New York

There’s also Yahoo! Pipes to do this visually

Page 39: Hacking for Innovation - WPP, New York

http://pipes.yahoo.com/

Page 40: Hacking for Innovation - WPP, New York

Data however is not enough.

Page 41: Hacking for Innovation - WPP, New York

You also need working interfaces

Page 42: Hacking for Innovation - WPP, New York

Technologies are easy: HTML CSS

Javascript

Page 43: Hacking for Innovation - WPP, New York

Making it work on all browsers and OS is

tricky

Page 44: Hacking for Innovation - WPP, New York

So, we have YUI!

Page 45: Hacking for Innovation - WPP, New York

http://developer.yahoo.com/yui

Page 46: Hacking for Innovation - WPP, New York

http://developer.yahoo.com/yui/grids/builder/

Page 47: Hacking for Innovation - WPP, New York

You do not want to write multiple versions of same app for different devices

Page 48: Hacking for Innovation - WPP, New York

So, we open sourced

http://developer.yahoo.com/cocktails/mojito/

Page 49: Hacking for Innovation - WPP, New York

We have the what, the how, now about the where!

Page 50: Hacking for Innovation - WPP, New York

http://developer.yahoo.com/geo

Page 51: Hacking for Innovation - WPP, New York

Placemaker helps you find locations in content

Page 52: Hacking for Innovation - WPP, New York
Page 53: Hacking for Innovation - WPP, New York

Mapping News

Page 54: Hacking for Innovation - WPP, New York
Page 55: Hacking for Innovation - WPP, New York

http://icant.co.uk/geomaker/

Page 56: Hacking for Innovation - WPP, New York
Page 57: Hacking for Innovation - WPP, New York
Page 58: Hacking for Innovation - WPP, New York

Yahoo! has also opened up Search via BOSS

Page 59: Hacking for Innovation - WPP, New York

BOSS is Build Your Own Search Service

http://developer.yahoo.com/search/boss/

Page 60: Hacking for Innovation - WPP, New York

BOSS allows you to do web, news, images

and blog search

Page 61: Hacking for Innovation - WPP, New York

The easiest way to start with BOSS is to use the

YQL console

http://developer.yahoo.com/yql/console

Page 62: Hacking for Innovation - WPP, New York

select * from boss.search where q=“New York” and ck=“!” and secret=“!”

Page 63: Hacking for Innovation - WPP, New York

http//www.flickr.com/photos/friarsbalsam/5736126308/sizes/o/in/photostream/.jpg

Page 64: Hacking for Innovation - WPP, New York

Get a FREE consumer key and secret from

http://hackyourworld.org/hacku/

Page 65: Hacking for Innovation - WPP, New York
Page 66: Hacking for Innovation - WPP, New York
Page 67: Hacking for Innovation - WPP, New York
Page 68: Hacking for Innovation - WPP, New York

You can do much more with BOSS

!"#$%%E5F54-#5,'G2!--'*-.%052,*!%H-00B

Page 69: Hacking for Innovation - WPP, New York

And our other APIs & tools

!"#$%%E5F54-#5,'G2!--'*-.%5F5,G/!)1I'!/.4B

Page 70: Hacking for Innovation - WPP, New York

Presenting your hack

Page 71: Hacking for Innovation - WPP, New York

DO NOT SHOW US SLIDES ABOUT YOUR HACK

Powerpoint = Fail!

Page 72: Hacking for Innovation - WPP, New York
Page 73: Hacking for Innovation - WPP, New York
Page 74: Hacking for Innovation - WPP, New York

HAVE A PLAN-B

Record screencast Do not depend on internet Keep your stuff ready in browser

Page 75: Hacking for Innovation - WPP, New York

WHAT ARE JUDGE LOOKING FOR

•  Creativity •  Working Prototype •  Built during the hackday •  Solves a real problem •  Great User Experience •  Uses data or technology in a unique and

interesting way

Page 76: Hacking for Innovation - WPP, New York

AND ONCE YOU ARE DONE

Keep your hack live Show other WPP hackers what you have done Stay in touch with @ydn

Page 77: Hacking for Innovation - WPP, New York
Page 78: Hacking for Innovation - WPP, New York
Page 79: Hacking for Innovation - WPP, New York

!"#$%%&&&'()*+,'*-.%#!-/-0%*2#,)*-,1E,2I-1%7@@@?A778:%B

2. A good hack doesn’t need to be a big thing

Page 80: Hacking for Innovation - WPP, New York
Page 81: Hacking for Innovation - WPP, New York
Page 82: Hacking for Innovation - WPP, New York
Page 83: Hacking for Innovation - WPP, New York

HACK RESOURCES

http://developer.yahoo.com http://developer.yahoo.com/yql/console http://www.github.com http://hackyourworld.org/ http://isithackday.com/hackday-toolbox/ http://talks.php.net/show/hacku/ http://www.slideshare.net/cheilmann

Page 84: Hacking for Innovation - WPP, New York

http://twitter.com/saurabhsahni

http://github.com/saurabhsahni

http://slideshare.net/saurabhsahni

http://www.saurabhsahni.com

THANKS!