You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,19 +6,22 @@
6
6
7
7
## What is System Runtime ?
8
8
9
-
#### OSGi for JavaScript
9
+
#### a System Runtime Environment
10
10
11
-
System Runtime can bundle the model, components and methods of your application into a [JSON](http://json.org) object. This bundle can be then installed and started in a client or server application.
11
+
When you code, you do not create an application, you create in fact a [system](https://en.wikipedia.org/wiki/System):
12
+
> A system is a set of interacting or interdependent **components** forming an integrated whole.
12
13
13
-
In fact, System Runtime can create, install and start bundles like in [OSGi](https://www.osgi.org).
14
+
> A system has **structure**, it contains parts (or components) that are directly or indirectly related to each other.
14
15
15
-
## How works System Runtime ?
16
+
> A system has **behavior**, it exhibits processes that fulfill its function or purpose.
17
+
18
+
System Runtime give you the APIs to create the model, components and behaviors of your system.
16
19
17
-
System Runtime executes your bundles client and server side.
20
+
## How works System Runtime ?
18
21
19
-
#### Create a bundle
22
+
#### Create a system
20
23
21
-
Use System Runtime APIs to create your application:
24
+
Use System Runtime APIs to create your system:
22
25
23
26
```js
24
27
// create an app
@@ -31,7 +34,7 @@ app.on('start', () => console.log('Hello world !'));
31
34
app.start();
32
35
```
33
36
34
-
Now you can bundle your application into a JSON object:
37
+
Now you can bundle your system into a JSON object:
35
38
36
39
```js
37
40
// create a bundle
@@ -73,7 +76,7 @@ Just add a link tag in your HTML to install and start your bundle:
73
76
74
77
#### Install the bundle in Node.js
75
78
76
-
Like in [OSGi](https://www.osgi.org), just call *install* API to install and start your bundle:
79
+
Just call *install* API to install and start your bundle:
0 commit comments