Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2021-06-05 00:52:38 +03:00
parent 9ff44c3ff9
commit 2615157989

View File

@ -30,16 +30,16 @@ and extensions, plugins, etc. into separate features.
For example splitting an app into: For example splitting an app into:
``` ```
+-UI----------------------------------------------------------------+ +-UI--------------------------------------------------------------------+
| +------------+ +---------+ +----------+ +-------------+ | | +------------+ +---------+ +--------------+ +-------------+ |
| | Standalone | | Web App |--->| Web Site | | Commandline | | | | Standalone | | Web App |--->| Web Site API | | Commandline | |
| +------------+ +---------+ +----------+ +-------------+ | | +------------+ +---------+ +--------------+ +-------------+ |
+-------+-----------------------------------------------------------+ +-------+---------------------------------------------------------------+
| |
v v
+--------------------+ +---------------+
| Base Data Handling | | Data Handling |
+--------------------+ +---------------+
``` ```
Each _feature_ extending the same base API but implementing only it's specific Each _feature_ extending the same base API but implementing only it's specific
@ -47,14 +47,17 @@ functionality, adding new methods where needed, and on setup only the relevant
features/functionality for a specific runtime are loaded, for example creating features/functionality for a specific runtime are loaded, for example creating
the following prototype chains: the following prototype chains:
<table cellspacing=10 border=0 width="100%"> <table width="100%">
<tr> <tr>
<th> <th>
Web site Web site
</th> </th>
<th> <th>
Standalone app Desktop app
</th>
<th>
CLI
</th> </th>
</tr> </tr>
@ -62,14 +65,14 @@ Standalone app
<td> <td>
``` ```
+-UI-------+ +-UI-----------+
| Web Site | | Web Site API |
+----+-----+ +----+---------+
| |
v v
+--------------------+ +---------------+
| Base Data Handling | | Data Handling |
+--------------------+ +---------------+
@ -91,9 +94,28 @@ Standalone app
+----+-------+ +----+-------+
| |
v v
+--------------------+ +---------------+
| Base Data Handling | | Data Handling |
+--------------------+ +---------------+
```
</td>
<td>
```
+-UI----------+
| Commandline |
+----+--------+
|
v
+---------------+
| Data Handling |
+---------------+
``` ```
</td> </td>