cleverly
How being lazy makes you 
a be2er developer.



        Christian Heilmann – Web 2.0 Expo, Prague – October 2009
I am a developer evangelist.
h2p://developer‐evangelism.com/web.php
<dfn>cleverly lazy</dfn>

Lazy:
“I don’t want to do that.”
Cleverly lazy:
“I don't want to do that ever 
  again so I do i...
Lazily build products:

Do the job, but are impossible 
to maintain.
Cleverly lazily build products:

Do the job, are easy to 
understand, extend and are 
built on a solid base.
Our job: evolving the web
To do this, we need to be free 
to do new things.
Problem is that as developers, 
we stand on our own way.
The biggest developer trap.




                  h"p://www.flickr.com/photos/snappa2006/3194326965/
The feature     Simple

loop

      Complex              Feedback



                Features
We don't develop the web ‐ we 
fill it up with soluEons to the 
same problem all of which are 
half done.
This is my soluEon, and it is 
be2er than anybody elses, 
because...
Short a2enEon span.
Code wrecks are a security 
issue!




                    h"p://www.flickr.com/photos/paleontour/2489523776/
Browsers suck!
Things you need to know as a 
web developer:
★   The technologies involved
★   How browsers deal with these technologies a...
Good 
developers are 
like librarians.




      h2p://www.flickr.com/photos/feliciaday/3828388329/
A solid foundaEon.




                 h"p://www.flickr.com/photos/mangpages/2111892822/
Building with components.




                 http://www.flickr.com/photos/seven13avenue/2080281038/
A good debugging environment.




                 h"p://www.flickr.com/photos/anijdam/3587129389/
Planning for extension.




                   h"p://www.flickr.com/photos/anniemole/103641208/
Write documentaEon.




                 h"p://www.flickr.com/photos/tnarik/366393127/
h2p://developer.yahoo.com/yui/
h2p://developer.yahoo.com/ypa2erns
http://ui.jquery.com/




http://ui.jquery.com
h2p://developer.yahoo.com/yui/arEcles/skinning/
DocumentaEon.
h2p://developer.yahoo.com/yui/grids/builder/
h2p://developer.yahoo.com/yui/examples/
h2p://developer.yahoo.com/performance/
h2p://developer.yahoo.com/yslow/
Using the web.




             CMS
Using APIs.
The Yahoo Query Language, or 
short YQL is a unified interface 
language to the web.




h2p://developer.yahoo.com/yql/
select {what} from {source} where
{conditions} | {filters}
http://query.yahooapis.com/
v1/public/yql?q={query}
&format={format}
For example:

select * from geo.places where
text='london,uk'
Get only the where on earth ID

select woeid from geo.places
where text='london,uk'
Then mix:

select id from
flickr.photos.search where woe_id
in (select woeid from geo.places
where text='london,uk') and
l...
Then mix:

select id from
flickr.photos.search where woe_id
in (select woeid from geo.places
where text='london,uk') and
l...
And get all the info...

select * from flickr.photos.info
where photo_id in (select id from
flickr.photos.search where woe...
Display the results in a few lines...




   http://isithackday.com/hacks/cantine/
        index.php?loc=covent+garden



...
Or use already exisEng widgets



   http://isithackday.com/hacks/cantine/
        index.php?loc=covent+garden




      h...
h2p://isithackday.com/hacks/frankfurt
Learn YQL by doing




http://developer.yahoo.com/yql/console/
Any data will do...
                  atom
                  csv
                  feed
  select * from   html
           ...
Any data will do...




http://www.dcs.gla.ac.uk/~joy/fun/jokes/TV.html
http://isithackday.com/hacks/scraping-with-yql/
http://github.com/spullara/yql-tables/tree/master
Thanks!
Christian Heilmann
http://wait-till-i.com
http://developer-evangelism.com
http://twitter.com/codepo8




         ...
Being Cleverly Lazy
Being Cleverly Lazy
Being Cleverly Lazy
Being Cleverly Lazy
Being Cleverly Lazy
Being Cleverly Lazy
Being Cleverly Lazy
Being Cleverly Lazy
Being Cleverly Lazy
Being Cleverly Lazy
Being Cleverly Lazy
Being Cleverly Lazy
Being Cleverly Lazy
Being Cleverly Lazy
Being Cleverly Lazy
Being Cleverly Lazy
Being Cleverly Lazy
Upcoming SlideShare
Loading in...5
×

Being Cleverly Lazy

5,717

Published on

My presentation at the Web Expo in Prague, Czech Republic about making our lives easier as developers by using libraries and building reusable components.

Published in: Technology, Design
4 Comments
13 Likes
Statistics
Notes
  • As always, your slide is amazing. I’m Ana Mui Stanley, working on my latest site on lyrics, www.lyrics-search.org/ . I enjoy reading the slide.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • I have learned a couple of things from your presentation. Nicely done!

    http://www.riding-mower.org/

    http://www.riding-mower.org/la105-john-deere-lawn-tractor/
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • It's a smart thinking. Good slide.

    John.
    www.freeringtones.ws/
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Thank you for uploading, have a nice day

    Regards
    Anisa
    http://phonehut.info
    http://www.jpolls.net
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
5,717
On Slideshare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
153
Comments
4
Likes
13
Embeds 0
No embeds

No notes for slide

Being Cleverly Lazy

  1. 1. cleverly How being lazy makes you  a be2er developer. Christian Heilmann – Web 2.0 Expo, Prague – October 2009
  2. 2. I am a developer evangelist.
  3. 3. h2p://developer‐evangelism.com/web.php
  4. 4. <dfn>cleverly lazy</dfn> Lazy: “I don’t want to do that.” Cleverly lazy: “I don't want to do that ever    again so I do it right this Eme.”
  5. 5. Lazily build products: Do the job, but are impossible  to maintain.
  6. 6. Cleverly lazily build products: Do the job, are easy to  understand, extend and are  built on a solid base.
  7. 7. Our job: evolving the web
  8. 8. To do this, we need to be free  to do new things.
  9. 9. Problem is that as developers,  we stand on our own way.
  10. 10. The biggest developer trap. h"p://www.flickr.com/photos/snappa2006/3194326965/
  11. 11. The feature  Simple loop Complex Feedback Features
  12. 12. We don't develop the web ‐ we  fill it up with soluEons to the  same problem all of which are  half done.
  13. 13. This is my soluEon, and it is  be2er than anybody elses,  because...
  14. 14. Short a2enEon span.
  15. 15. Code wrecks are a security  issue! h"p://www.flickr.com/photos/paleontour/2489523776/
  16. 16. Browsers suck!
  17. 17. Things you need to know as a  web developer: ★ The technologies involved ★ How browsers deal with these technologies and how  they fail to support them ★ Security concerns and a2ack vectors ★ Usability and accessibility of the product ★ InternaEonalisaEon of our products  ★ Performance concerns ★ MulEple plaXorm support  ★ Flexibility of the interface 
  18. 18. Good  developers are  like librarians. h2p://www.flickr.com/photos/feliciaday/3828388329/
  19. 19. A solid foundaEon. h"p://www.flickr.com/photos/mangpages/2111892822/
  20. 20. Building with components. http://www.flickr.com/photos/seven13avenue/2080281038/
  21. 21. A good debugging environment. h"p://www.flickr.com/photos/anijdam/3587129389/
  22. 22. Planning for extension. h"p://www.flickr.com/photos/anniemole/103641208/
  23. 23. Write documentaEon. h"p://www.flickr.com/photos/tnarik/366393127/
  24. 24. h2p://developer.yahoo.com/yui/
  25. 25. h2p://developer.yahoo.com/ypa2erns
  26. 26. http://ui.jquery.com/ http://ui.jquery.com
  27. 27. h2p://developer.yahoo.com/yui/arEcles/skinning/
  28. 28. DocumentaEon.
  29. 29. h2p://developer.yahoo.com/yui/grids/builder/
  30. 30. h2p://developer.yahoo.com/yui/examples/
  31. 31. h2p://developer.yahoo.com/performance/
  32. 32. h2p://developer.yahoo.com/yslow/
  33. 33. Using the web. CMS
  34. 34. Using APIs.
  35. 35. The Yahoo Query Language, or  short YQL is a unified interface  language to the web. h2p://developer.yahoo.com/yql/
  36. 36. select {what} from {source} where {conditions} | {filters}
  37. 37. http://query.yahooapis.com/ v1/public/yql?q={query} &format={format}
  38. 38. For example: select * from geo.places where text='london,uk'
  39. 39. Get only the where on earth ID select woeid from geo.places where text='london,uk'
  40. 40. Then mix: select id from flickr.photos.search where woe_id in (select woeid from geo.places where text='london,uk') and license=4
  41. 41. Then mix: select id from flickr.photos.search where woe_id in (select woeid from geo.places where text='london,uk') and license=4
  42. 42. And get all the info... 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='london,uk') and license=4)
  43. 43. Display the results in a few lines... http://isithackday.com/hacks/cantine/ index.php?loc=covent+garden http://isithackday.com/hacks/ajaxexperience/flickrgeophotos.html
  44. 44. Or use already exisEng widgets http://isithackday.com/hacks/cantine/ index.php?loc=covent+garden h2p://isithackday.com/hacks/canEne/
  45. 45. h2p://isithackday.com/hacks/frankfurt
  46. 46. Learn YQL by doing http://developer.yahoo.com/yql/console/
  47. 47. Any data will do... atom csv feed select * from html json microformats rss xml
  48. 48. Any data will do... http://www.dcs.gla.ac.uk/~joy/fun/jokes/TV.html
  49. 49. http://isithackday.com/hacks/scraping-with-yql/
  50. 50. http://github.com/spullara/yql-tables/tree/master
  51. 51. Thanks! Christian Heilmann http://wait-till-i.com http://developer-evangelism.com http://twitter.com/codepo8 h2p://www.flickr.com/photos/mringlein/3463288828/
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×