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.of.the">signature of the</a></li>
21 <li><a href="#directory.where.are.stored.applications">directory where are stored applications</a>
27 <li><a href="#Organisation.of.directory.of.applications">Organisation of directory of applications</a>
29 <li><a href="#Identity.of.installed.files">Identity of installed files</a></li>
30 <li><a href="#Labelling.the.directories.of.applications">Labelling the directories of applications</a></li>
33 <li><a href="#Organisation.of.data">Organisation 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.of.the"></a>
43 <h3>signature of the</h3>
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 few places: on the system itself or on an extension device.
53 For my phone, for example, it is the sd card.</p>
55 <p>This translates to:</p>
58 <li>/usr/applications: for system wide applications</li>
59 <li>/opt/applications: for removable applications</li>
63 <p>In the remaining of the document, these places are writen “APPDIR”.</p>
65 <a name="Organisation.of.directory.of.applications"></a>
66 <h1>Organisation of directory of applications</h1>
68 <p>The main path for applivcations are: 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 organisation 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 the files are installed as the 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 any user to read the files.</p>
90 <a name="Labelling.the.directories.of.applications"></a>
91 <h2>Labelling the directories of applications</h2>
93 <a name="Organisation.of.data"></a>
94 <h1>Organisation of data</h1>
96 <p>The data of a user are in its directory and are labelled using the labels of the application</p>