Talk:Activity bundles: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
==How to embed external applications?== |
|||
From the [http://lwn.net/Articles/189544/ LWN interview] with Jim Gettys: |
|||
Chris' team is putting together a python based environment |
|||
('''into which conventional applications can be embedded''') |
|||
aimed at young children, temporarily called "sugar" (...) |
|||
How does this "embedding" work? How would a simple python "wrapper" script look like that embeds a simple X app? |
|||
==Bundle activities in filesystem images?== |
==Bundle activities in filesystem images?== |
||
Revision as of 08:54, 5 September 2006
How to embed external applications?
From the LWN interview with Jim Gettys:
Chris' team is putting together a python based environment (into which conventional applications can be embedded) aimed at young children, temporarily called "sugar" (...)
How does this "embedding" work? How would a simple python "wrapper" script look like that embeds a simple X app?
Bundle activities in filesystem images?
Why not pack the entire bundle into a "disk image", e.g., using (z)isofs or cramfs? Hence, one application would be exactly contained within one file (similar to AppDirs, but one file instead of one directory).
This image would be mounted at the runtime, and unmounted again after usage has ended.
That way, the bundle becomes more "robust" (in the sense that it is read-only and cannot alter itself), plus it can be more easily exchanged (e.g., via mail/wlan) without the need to re-package it.
The impact of the additional overhead on speed is minimal, as my tests have shown.
I am in the process of providing a demo implementation. Some ideas are also provided on http://klik.atekon.de/wiki/index.php/OLPC -- [probono]