Adds documentation
[src/app-framework-binder.git] / doc / afb-overview.html
1 <html>
2 <head>
3   <link rel="stylesheet" type="text/css" href="doc.css">
4   <meta charset="UTF-8">
5 </head>
6 <body>
7 <a name="Overview.of.AFB-DAEMON"></a>
8 <h1>Overview of AFB-DAEMON</h1>
9
10 <pre><code>version: 1
11 Date:    29 mai 2016
12 Author:  José Bollo
13 </code></pre>
14
15 <p><ul>
16  <li><a href="#Overview.of.AFB-DAEMON">Overview of AFB-DAEMON</a>
17  <ul>
18   <li><a href="#Roles.of.afb-daemon">Roles of afb-daemon</a></li>
19  </ul>
20  </li>
21 </ul></p>
22
23 <a name="Roles.of.afb-daemon"></a>
24 <h2>Roles of afb-daemon</h2>
25
26 <p>The name <strong>afb-daemon</strong> stands for <em>Application
27 Framework Binder Daemon</em>. That is why afb-daemon
28 is also named <strong><em>the binder</em></strong>.</p>
29
30 <p><strong>Afb-daemon</strong> is in charge to bind one instance of
31 an application to the AGL framework and AGL system.</p>
32
33 <p>On the following figure, you can use a typical use
34 of afb-daemon:</p>
35
36 <pre><code>. . . . . . . . . . . . . . . . . . . . . . . . . .
37 .        Isolated security context                .
38 .                                                 .
39 .        +------------------------------+         .
40 .        |                              |         .
41 .        |    A P P L I C A T I O N     |         .
42 .        |                              |         .
43 .        +--------------+---------------+         .
44 .                       |                         .
45 .                       |                         .
46 .   +-------------------+----------------------+  .
47 .   |                            :             |  .
48 .   |    A F B - D A E M O N     :   PLUGINS   |  .
49 .   |                            :             |  .
50 .   +-------------------+----------------------+  .
51 .                       |                         .
52 . . . . . . . . . . . . | . . . . . . . . . . . . .
53                         |
54                         v
55                    AGL SYSTEM
56 </code></pre>
57
58 <p>The application and its companion binder run in secured and isolated
59 environment set for them. Applications are intended to access to AGL
60 system through the binder.</p>
61
62 <p>The binder afb-daemon serves multiple purposes:</p>
63
64 <ol>
65 <li><p>It acts as a gateway for the application to access the system;</p></li>
66 <li><p>It acts as an HTTP server for serving files to HTML5 applications;</p></li>
67 <li><p>It allows HTML5 applications to have native extensions subject
68 to security enforcement for accessing hardware ressources or
69 for speeding parts of algorithm.</p></li>
70 </ol>
71 </body>
72 </html>