Service Page API

Calvin Spealman

July 15, 2011

Project Overview

“What the heck are you talking about, Calvin?”

The Service Page API is a common API for extensions that can be used in any browser, and which can added to existing browsers as a plugin or extension.

Motivation

Motivation

Motivation

Motivation

So...

So...

Why isn’t it just writing a web page?

What does it solve?

Multiple browsers

Extensions are mostly done with web technologies anyway. Why does it have to be browser specific?

Unfamiliar APIs

And if its so web-like, why isn’t it more web-like?

Is that redundant?

So are the skillsets of website and browser extension development.

How Does It Solve It?

Service Pages are hidden webpages the browser opens to provide services to other pages the user visits.

Architecture

The API

The offerer of a service:

servicepage.register(“status_update”, “http://sp.servicepage.org/status_update/”);

The API

The user of a service:

servicepage.getService(“status_update”, use_service);

function use_service(S) {
S.do_update(“I just used a Service Page!”); }

My Goals

First: pie-in-the-sky vaporware.

Second:

Chrome Prototype

A chrome extension implementing the API demonstrates how it works and provides a (potential) large user base without any browser vendor support.

Firefox Version

This will prove it isn’t a one trick pony.

I haven’t started this yet.

Useful Service Set

The World of Tomorrow