How We Learnt To Stop Worrying And Love The Browser

Dan Webb (Twitter Inc), Angus Croll (Twitter Inc)
JavaScript in the Browser, Golden Gate 4-5
Average rating: ****.
(4.27, 15 ratings)

As we rebuilt twitter.com’s front end architecture we got an opportunity to draw from our combined years of JavaScript triumphs and disasters to develop a brand new front-end infrastructure. The collection of patterns that we’ve made use of are based around simple principles: Don’t fight the browser, don’t fight JavaScript and always use the right tool for the job. Embracing the way that the browser and JavaScript work allow us to write simpler, faster and ultimately less JavaScript. Some techniques will challenge conventional wisdom and we will explore patterns that may be unfamilar to you, but our philosophy remains rooted in a strong understanding of JavaScript and browsers and a belief in always using the best tools for the job.

We’ll be covering several of our key patterns:

  • Using a DOM event-driven component architecture to control complexity and ease testing.
  • Reuse techniques that play to JavaScript’s strengths rather than trying to impose class-based OO
  • Powerful functional techniques and how they can aid code-reuse and modularity.
Photo of Dan Webb

Dan Webb

Twitter Inc

Dan Webb is a british software engineer based in San Francisco and the Engineering Manager of Twitter’s Web Core team.

Photo of Angus Croll

Angus Croll

Twitter Inc

Angus works for Twitter’s Web Core team and is the author of the JavaScript JavaScript blog.

Sponsors

  • appendTo
  • Enyo
  • Ludei
  • Sencha
  • Appcelerator
  • Twitter
  • Infragistics
  • Code For America
  • DevChix
  • Eclipse Foundation
  • Women Who Code

For information on exhibition and sponsorship opportunities at Fluent conference, contact Gloria Lombardo at (203) 381-9245 or glombardo@oreilly.com.

For information on trade opportunities with O'Reilly conferences contact mediapartners
@oreilly.com

View a complete list of Fluent contacts