Getting started

with Mozilla's Add-on SDK

London, UK September 29, 2011

Follow along

http://talks.canuckistani.ca/intro-london-2011/#2

A Brief History

Current release: SDK 1.1

Next release: 1.2 on Oct. 23.

Current State

Roadmap

Style notes

Basic JS style similar in feel to Node.js

  1. require('some-module')
  2. create a new instance; pass in an options object
  3. Rock out!

Example:

var someModule = require("some-module");
var instance = someModule.someClass({
  thisoption: 'my option',
  thatoption: 42,
  onSomeEvent: function(data) {},
});
instance.someMethod();

Let's Get set up!

Local development

Requirements:

Set-up

Online development with Builder

Tonight's schedule:

Checkpoint

Ok to go?