User:Wade/Web Activity Spec

From Sugar Labs
< User:Wade
Revision as of 15:11, 11 March 2009 by Wade (talk | contribs) (WIP on Web Activity Spec)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Requirements

The the Web Activity Spec must meet two major requirements.

  • To provide a way for programmers familiar with HTML, CSS and JavaScript to create first class Sugar activities, with the same level of functionality as Python based activities.
  • To provide an alternative to the .xol Content Bundle format for packaging HTML based content.

Prior Work

Several web based activities have been created and distributed thus far. The spec described herein is intended to replace these "hacks" with a clean and well defined system.

GMail

The GMail activity is copy of the Browse activity source code, modified to use gmail.com as the homepage and also with some features (sharing, keep) disabled. The activity has not been kept up to date as Browse has advanced, and thus no longer works on current versions of Sugar.

WikiBrowse

The WikiBrowse activity is an offline snapshot of Wikipedia. It's implemented as a highly compressed DB of wikitext, with a local BaseHTTPServer-based webserver which decompresses and serves pages. The browser component subclasses from the Browse activity, so if Browse is not installed the WikiBrowse activity will fail to launch.

Overview