-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·273 lines (266 loc) · 10.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Create systems driven by your design">
<link rel="icon" href="img/favicon.ico">
<title>Design First. Then Code.</title>
<link href="styles/vendor.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top topnav" role="navigation">
<div class="container topnav">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand topnav" href="#">Design First</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="./systemdesigner/">SYSTEM DESIGNER</a>
</li>
<li>
<a href="./systemruntime/">SYSTEM RUNTIME</a>
</li>
</ul>
</div>
</div>
</nav>
<a name="about"></a>
<div class="intro-header">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="intro-message">
<h1>Design First. Then Code.</h1>
<h3>Create systems driven by your design</h3>
<hr class="intro-divider">
<ul class="list-inline intro-social-buttons">
<li>
<a href="./systemdesigner/" class="btn btn-default btn-lg">
<i class="fa fa-pencil-square-o fa-fw"></i>
<span class="network-name">Design your system</span>
</a>
</li>
<li>
<a href="./systemruntime/" class="btn btn-default btn-lg">
<i class="fa fa-play fa-fw"></i>
<span class="network-name">Run your system</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<a name="services"></a>
<div class="content-section-a">
<div class="container">
<div class="row">
<div class="col-lg-5 col-sm-6">
<hr class="section-heading-spacer">
<div class="clearfix"></div>
<h2 class="section-heading">Design your system</h2>
<p class="lead" style="text-align:justify"> Design is the base of every system.
<a href="./systemdesigner/">System Designer</a> will help you to create systems driven by your design.
</p>
<p class="lead" style="text-align:justify">
<a href="./systemdesigner/">System Designer</a> uses
<a href="http://www.uml.org" target="_blank">UML</a>, a standard, to define your system. So you probably
already know how to design in
<a href="./systemdesigner/">System Designer</a> even if you have never run it.
</p>
</div>
<div class="col-lg-5 col-lg-offset-2 col-sm-6">
<img class="img-responsive" src="img/model.png" alt="">
</div>
</div>
</div>
</div>
<div class="content-section-b">
<div class="container">
<div class="row">
<div class="col-lg-5 col-lg-offset-1 col-sm-push-6 col-sm-6">
<hr class="section-heading-spacer">
<div class="clearfix"></div>
<h2 class="section-heading">Create components graphically</h2>
<p class="lead" style="text-align:justify"> There is no need to code to instantiate a component. Create a
component in
<a href="./systemdesigner/">System Designer</a> is like creating a document in a NoSQL Database.
</p>
<p class="lead" style="text-align:justify"> In fact,
<a href="./systemdesigner/">System Designer</a> acts as an ODM (Object-Document Mapper) to manage your
components as NoSQL Documents.
</p>
</div>
<div class="col-lg-5 col-sm-pull-6 col-sm-6">
<img class="img-responsive" src="img/components.png" alt="">
</div>
</div>
</div>
</div>
<div class="content-section-a">
<div class="container">
<div class="row">
<div class="col-lg-5 col-sm-6">
<hr class="section-heading-spacer">
<div class="clearfix"></div>
<h2 class="section-heading">Code the behavior of your system</h2>
<p class="lead" style="text-align:justify">Once you have created your model,
<a href="./systemdesigner/">System Designer</a> generates the skeletons of all your methods. You only have
to add your code to implement
them.
</p>
<p class="lead" style="text-align:justify">
<a href="./systemdesigner/">System Designer</a> provides you helpers to manage your components. You can
easily navigate through components
to create your system.
</p>
</div>
<div class="col-lg-5 col-lg-offset-2 col-sm-6">
<pre class="line-numbers"><code class="language-javascript">function fullName() {
let result = '';
// for each property a method
// is created to set / get its value
result = this.firstName() + ' ' +
this.lastName();
// a dynamic type check is done
// to validate that inputs and ouput
// are compliant with the model
return result;
}</code></pre>
</div>
</div>
</div>
</div>
<div class="content-section-b">
<div class="container">
<div class="row">
<div class="col-lg-5 col-lg-offset-1 col-sm-push-6 col-sm-6">
<hr class="section-heading-spacer">
<div class="clearfix"></div>
<h2 class="section-heading">Bundle your system</h2>
<p class="lead" style="text-align:justify">
<a href="./systemdesigner/">System Designer</a> will bundle the model, components and methods of your system
into a
<a href="https://www.json.org" target="_blank">JSON</a> object. This
<a href="https://www.json.org" target="_blank">JSON</a> can be then installed and started in a client or
server application with
<a href="./systemruntime/">System Runtime</a>.
</p>
<p class="lead" style="text-align:justify"> In fact,
<a href="./systemruntime/">System Runtime</a> can create, install and start bundles like in
<a href="https://www.osgi.org" target="_blank">OSGi</a>.
</p>
</div>
<div class="col-lg-5 col-sm-pull-6 col-sm-6">
<pre class="line-numbers"><code class="language-json">{
"_id": "154cd18d0210516",
"name": "app",
"description": "",
"version": "0.0.1",
"schemas": {},
"models": {},
"types": {},
"behaviors": {
"1ea9c1d5f811ae1": {
"_id": "1ea9c1d5f811ae1",
"component": "154cd18d0210516",
"state": "start",
"action": "function start() {\n console.log('Hello world !');\n}",
"useCoreAPI": false,
"core": false
}
},
"components": {}
}</code></pre>
</div>
</div>
</div>
</div>
<div class="content-section-a">
<div class="container">
<div class="row">
<div class="col-lg-5 col-sm-6">
<hr class="section-heading-spacer">
<div class="clearfix"></div>
<h2 class="section-heading">Run your system</h2>
<p class="lead" style="text-align:justify"> Just add a link tag in your HTML to install your bundle into your
client-side application. You can also install
your bundle on
<a href="https://nodejs.org/en/" target="_blank">Node.js</a> easily.
</p>
<p class="lead" style="text-align:justify"> You can also install many bundles, in that case all the bundles
will be composed.
</p>
</div>
<div class="col-lg-5 col-lg-offset-2 col-sm-6">
<pre class="line-numbers"><code class="language-markup"><!-- on HTML -->
<link rel="system" href="system.json"></code></pre>
<pre class="line-numbers"><code class="language-javascript">// on Node.js
const runtime = require('system-runtime');
// install and start your bundle
runtime.install('system.json');</code></pre>
</div>
</div>
</div>
</div>
<a name="contact"></a>
<div class="banner">
<div class="container">
<div class="row">
<div class="col-lg-8">
<h2>Design graphically your systems:</h2>
</div>
<div class="col-lg-4">
<ul class="list-inline banner-social-buttons">
<li>
<a href="./systemdesigner/" class="btn btn-default btn-lg">
<i></i>
<span class="network-name">Learn more about System Designer</span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-12">
<ul class="list-inline">
<li>
<a href="./systemdesigner/">System Designer</a>
</li>
<li class="footer-menu-divider">-</li>
<li>
<a href="./systemruntime/">System Runtime</a>
</li>
</ul>
<p class="copyright text-muted small">System Designer and System Runtime are distributed under
<a href="https://www.apache.org/licenses/LICENSE-2.0" target="_blank"> Apache License 2.0</a> - System
Designer and System Runtime are part of the <a href="https://projects.ow2.org/bin/view/wiki/"
target="_blank"> OW2 codebase</a> - Copyright © 2024
<a href="./systemdesigner/documentation/docs/who-is-behind-system-designer.html" target="_blank">Erwan
Carriou</a>
</p>
</div>
</div>
</div>
</footer>
<script src="scripts/vendor.js"></script>
</body>
</html>