MozCampEU2012/Implementing-A-WebApi-in-JS

Title of Session: Implementing a webApi in JS

Facilitator(s):Gregor Wagner

Are you paid or volunteer staff?: paid

Area of Contribution (Team Name): B2G

How are you currently involved with the community?:Work for Mozilla, working with many people from Europe.

Location of Work (where do you reside?): San Francisco

Talk Length (please choose between 30, 60, 90, 120 minutes): 30, 60

Summary: Many WebApis are implemented in JS. I implemented 2 APIs (contacts and settings) in JS and will share my experiences. I will talk about writing an interface, connecting it to the navigator object and how we deal with separate processes. B2G is currently running apps in separate processes and we have solutions in JS that allow us to communicate between processes.

How your session furthers the MozCamp Goals (https://wiki.mozilla.org/MozCampEU2012/Tracks): It is a good start for people that want to contribute to B2G in the near future.

Expected Outcome or Deliverable: Attendees should be able to write a quick prototype of their custom WebApi for the browser or the B2G phone.

Desired Audience Type or Skill-set: Basic JS knowledge.

Equipment Needs (Video projector already included):


To Be Completed by the Audience-

(If you would like) Submit a Question for the Speaker(s) or indicate what information you hope to gain by attending this talk here:

Place your name here if you would like to attend this talk:


  • Philipp Kewisch (what is the difference to the [other webapi session])?
  • Jérémie Patonnier
  • Szabolcs Hubai
  • Tom Schuster
  • Henrik Skupin
  • <put your name here>