JSFoo 2012 Pune

Pune gets its own JSFoo

Rakesh Pai

@rakeshpai

Writing Quality Third-Party JS

Submitted Jan 12, 2012

This talk will be about all the nuances of writing third-party JS - the kind of JS that you include on your page from an external service. Examples of this are Google Analytics, Facebook’s SDK and Twitter’s @Anywhere API.

Outline

There are several factors to consider when writing third-party JS. This talk will go over the following:

  • How the world of webpages is like a jungle out there, and you can never make assumptions about the environment.
  • What kind of loading strategies are available to load your code
  • How to provide an API to your host-page developers
  • How to communicate with your server

Requirements

A decent idea about web-performance techniques.

Speaker bio

I’m Rakesh Pai, JS developer by day, and JS developer by night. I have built http://errorception.com/, a JS error tracking system. It gives users a little snippet to put into their site, much like Google Analytics, and then generates extensive reports about errors that occur in end-users’ browsers. The talk is about the lessons learnt in creating that tracking snippet.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more