3 <link rel="stylesheet" type="text/css" href="doc.css">
7 <a name="The.widgets"></a>
16 <li><a href="#The.widgets">The widgets</a>
18 <li><a href="#The.widgets">The widgets</a>
20 <li><a href="#signature">signature</a></li>
21 <li><a href="#directory.where.are.stored.applications">directory where are stored applications</a>
27 <li><a href="#Organization.of.directory.of.applications">Organization of directory of applications</a>
29 <li><a href="#Identity.of.installed.files">Identity of installed files</a></li>
30 <li><a href="#labeling.the.directories.of.applications">labeling the directories of applications</a></li>
33 <li><a href="#organization.of.data">organization of data</a></li>
36 <a name="The.widgets"></a>
39 <p>The widgets are described by the technical recommendations
40 <a href="http://www.w3.org/TR/widgets" title="Packaged Web Apps">widgets</a> and <a href="http://www.w3.org/TR/widgets-digsig" title="XML Digital Signatures for Widgets">widgets-digsig</a>.</p>
42 <a name="signature"></a>
45 <p>The application framework</p>
47 <p>This is the original part of our work here</p>
49 <a name="directory.where.are.stored.applications"></a>
50 <h3>directory where are stored applications</h3>
52 <p>Applications can be installed in different places: the system itself, extension device.
53 On a phone application are typically installed on the sd card.</p>
55 <p>This translates to:</p>
58 <li>/usr/applications: system wide applications</li>
59 <li>/opt/applications: removable applications</li>
63 <p>From here those paths are referenced as: “APPDIR”.</p>
65 <a name="Organization.of.directory.of.applications"></a>
66 <h1>Organization of directory of applications</h1>
68 <p>The main path for applications is: APPDIR/PKGID/VER.</p>
73 <li>APPDIR is as defined above</li>
74 <li>PKGID is a directory whose name is the package identifier</li>
75 <li>VER is the version of the package MAJOR.MINOR</li>
79 <p>This organization has the advantage to allow several versions to leave together.
80 This is needed for some good reasons (rolling back) and also for less good reasons (user habits).</p>
82 <a name="Identity.of.installed.files"></a>
83 <h2>Identity of installed files</h2>
85 <p>All files are installed as user “userapp” and group “userapp”.
86 All files have rw(x) for user and r-(x) for group and others.</p>
88 <p>This allows every user to read every file.</p>
90 <a name="labeling.the.directories.of.applications"></a>
91 <h2>labeling the directories of applications</h2>
93 <a name="organization.of.data"></a>
94 <h1>organization of data</h1>
96 <p>The data of a user are in its directory and are labelled using the labels of the application</p>