970 likes | 1.09k Views
Y! v. Y! Yahoo! Case Studies Across the Page—App Spectrum, One Size Does Not Fit All. Nate Koechley – @Media 2006, London – June 16 th , 2006 nate@koechley.com | http://nate.koechley.com/blog.
E N D
Y! v. Y!Yahoo! Case StudiesAcross the Page—App Spectrum, One Size Does Not Fit All Nate Koechley – @Media 2006, London – June 16th, 2006 nate@koechley.com | http://nate.koechley.com/blog
Y! v. Y! v. Y!Three Yahoo! Case StudiesAcross the Page—App Spectrum, One Size Does Not Fit All Nate Koechley – @Media 2006, London – June 16th, 2006 nate@koechley.com | http://nate.koechley.com/blog
Hello, World • Nate Koechley • At Yahoo! since 2001 • Charter member of Web Development team • On Yahoo! User Interface Library (YUI) team • Three roles: • Senior Frontend Engineer • Technical Evangelist • Design Liaison
Yahoo! User Interface Library (uh, thanks Simon) • A la carte • Event ~ 2k • onAvailable • Custom Events / Pub-Sub • DOM ~ 3k • Add/replace Class • Utilities vs. Controls, also CSS • “There’s no shortage of better things to spend time on.”
The DHTML Universeby Dojo’s Alex Russell (work in progress) http://alex.dojotoolkit.org/DHTML_universe.pdf
A bit of evolution over the years… 1994 1995
A bit of evolution over the years… 1994 1995 1997
A bit of evolution over the years… 1994 1995 1997 2000
A bit of evolution over the years… 1994 1995 1997 2000 2002
A bit of evolution over the years… 1994 1995 1997 2000 2002 2004
A bit of evolution over the years… 1994 1995 1997 2000 2002 2004 …into the page that today welcomes 188m users every month, 5.2 billion times Source: Comscore, Feb. 2006
The New Yahoo! Home Page Video: http://nate.koechley.com/talks/20060616_atmedia/fp_2.avi
It is immensely telling that the new Yahoo! homepage is a DHTML homepage.
Case Study 1: • History • “Preview” release exactly one month ago today • From scratch • Newest development effort to be released • Massive Scale • 5.2 billion views per month • 188 million unique users • Major DHMTL and Ajax Implementation
Case Study 1:Yahoo! Home Page Preview Video: http://nate.koechley.com/talks/20060616_atmedia/fp_2.avi
Case Study 2: • History • Beta release exactly eight days ago • From scratch • Long development timeline • Massive Scale • 30 million unique users • 2 billion photos • Major DHTML and Ajax Implementation
Case Study 2:Yahoo! Photos Beta Video: http://nate.koechley.com/talks/20060616_atmedia/photos3_2.avi
Case Study 3: • History • Beta release about one year ago • Legacy-ish, was Oddpost.com • Oddpost development began in 1999 • Massive Scale • World’s largest email provider • Available in 21 languages • Preeminent DHTML and Ajax Application
Case Study 3:Yahoo! Mail Beta Video: http://nate.koechley.com/talks/20060616_atmedia/mail_1.avi
Common Goals:1) Performance 2) Interactivity3) Stay true to our beliefs
The Basics Doctype HTML4.01Strict XHTML 1.0 Strict None Render Mode Strict Strict Quirks CSS Sprites Yes Yes Yes Font-size Responsive Yes Yes No Keyboard Yes Yes Yes Absolute Pos No No No Minimization Yes Yes Yes Obfuscation No No Yes Compression Yes Yes Yes
Historically Web Shallow Interaction Simple Idioms For Consumption Markup + Skin Sequential Nav Passive Historically Desktop Deep Interaction Powerful Idioms For Productivity JS, DHTML, Ajax, DOM Self Contained Active Page Application Page—Application Spectrum
Page Application Page—Application Spectrum
Looking Across the Spectrum • Tracking Events • Memory Management • Delivering JS and CSS • Data Format • Pagination • Browser Support
Looking Across the Spectrum:Tracking Events • Tracking Events • Memory Management • Delivering JS and CSS • Data Format • Pagination • BrowserSupport
Tracking Events:Event Utilities • Don’t piss off the DOM Scripting Task Force • No JS in attribute space / markup! • Watch out for memory leaks!!! (yes, three !’s) • Many great utilities • YUI Event Utility • Dojo • Scott Andrew • many more…