-
Notifications
You must be signed in to change notification settings - Fork 1
/
try.html
205 lines (180 loc) · 11.1 KB
/
try.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
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>lsFusion</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap" rel="stylesheet">
<link href="/css/app.css" rel="stylesheet" type="text/css" />
<link rel="apple-touch-icon" sizes="180x180" href="/imgs/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/imgs/favicon/favicon_32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/imgs/favicon/favicon_16x16.png">
<link rel="icon" type="image/x-icon" href="/imgs/favicon/favicon.ico">
</head>
<body class="flex">
<nav>
<div class="inner">
<h2><a href="/" title="Go to Homepage">lsFusion</a></h2>
<a class="menu-link" href="#menu">Menu</a>
<ul class="nav">
<li><a href="/features">Features</a></li>
<li><a href="/compare">Compare</a></li>
<li><a href="https://docs.lsfusion.org/Install/" target="_blank" title="Click to open in a new window">Install</a></li>
<li><a href="https://docs.lsfusion.org/Learn/" target="_blank" title="Click to open in a new window">Learn</a></li>
<li><a href="/support">Support</a></li>
<li><a href="/solutions">Solutions</a></li>
<li id="languages">
<div class="language">
<strong>EN</strong>
<ul>
<li><span class="current">En</span></li>
<li><a href="/ru/">Ру</a></li>
</ul>
</div>
</li>
</ul>
</div>
</nav>
<div class="inner">
<h1>
<em>Try</em> in
<span class="dropdown" data-apply-to="try">
<em>database</em>
<ul>
<li class="active">database</li>
<li>platform</li>
</ul>
</span>
mode
</h1>
<div id="try" class="database">
<div class="try-database">
<p>
<strong>Mode restrictions</strong>
<span>
In database mode the code you enter is executed on <a href="https://documentation.lsfusion.org/display/LSFUS/Online+demo" target="_blank">the MM demo server</a> via an <a href="https://documentation.lsfusion.org/display/LSFUS/Access+from+an+external+system#Accessfromanexternalsystem-http" target="_blank">HTTP request</a>. <a href="https://documentation.lsfusion.org/display/LSFUS/Access+from+an+external+system#Accessfromanexternalsystem-httpresult" target="_blank">The result</a> of this request is displayed in the bottom window. In this mode you cannot execute instructions that change the global system logic. You also cannot create <a href="https://documentation.lsfusion.org/display/LSFUS/Events" target="_blank">events</a> or any elements that use them (<a href="https://documentation.lsfusion.org/display/LSFUS/Constraints" target="_blank">constraints</a>, <a href="https://documentation.lsfusion.org/display/LSFUS/Classes" target="_blank">classes</a> and <a href="https://documentation.lsfusion.org/display/LSFUS/Aggregations" target="_blank">aggregations</a>), or elements of the physical model (such as <a href="https://documentation.lsfusion.org/display/LSFUS/Tables" target="_blank">tables</a>, <a href="https://documentation.lsfusion.org/display/LSFUS/Indexes" target="_blank">indexes</a> and <a href="https://documentation.lsfusion.org/display/LSFUS/Materializations" target="_blank">materializations</a>). All data properties in this mode are considered <a href="https://documentation.lsfusion.org/pages/viewpage.action?pageId=688168#PrimaryProperties(DATA)-local" target="_blank">local</a>. <a href="https://documentation.lsfusion.org/display/LSFUS/Interactive+view" target="_blank">Interactive views</a> are also not supported in this mode.
</span>
</p>
<div class="tryfeature">
<nav>
<span class="dd">
<em>Loading...</em>
<ul>
<!--li class="active">Set operations</li-->
</ul>
</span>
<div class="buttons">
<span class="start disabled" title="Start">Start</span>
</div>
</nav>
<div class="code loading" id="code1"></div>
<textarea readonly class="results loading" id="results1"></textarea>
</div>
</div>
<div class="try-platform">
<p>
<strong>Mode restrictions</strong>
<span>
In platform mode the code you enter is considered the only application <a href="https://documentation.lsfusion.org/display/LSFUS/Modules" target="_blank">module</a> of the server you start. The application server starts using the first free <a href="https://documentation.lsfusion.org/display/LSFUS/Launch+parameters" target="_blank">port</a> within the certain range. Standard output log (<a href="https://documentation.lsfusion.org/display/LSFUS/Journals+and+logs#Journalsandlogs-stdout" target="_blank">stdout</a>) of this server is output to the window underneath. After the first server launch a new tab in browser opens with UI of this server. Each restart is treated as a change of the previously launched logic. Compared to the database mode this one has no limitations, but it requires additional time to start the server. To minimize this time the server is started in <a href="https://documentation.lsfusion.org/display/LSFUS/Launch+parameters#Launchparameters-lightstart" target="_blank">a light</a> mode.
</span>
</p>
<div class="tryfeature">
<nav>
<span class="dd">
<em>Loading...</em>
<ul>
<!--li class="active">Set operations</li-->
</ul>
</span>
<div class="buttons">
<a href="https://tryonline.lsfusion.org/?port=###" target="_blank" class="open" id="open" style="display: none;" title="Click to Open">Open</a>
<span class="stop disabled" title="Stop">Stop</span>
<span class="start" title="Start">Start</span>
</div>
</nav>
<div class="code loading" id="code2"></div>
<textarea readonly class="results loading" id="results2"></textarea>
</div>
</div>
</div>
</div>
<footer>
<div class="inner">
<nav>
<ul>
<li><h3>Try</h3></li>
<li><a href="/try" class="active">Online</a></li>
<li><a href="https://docs.lsfusion.org/Development_auto/" target="_blank" title="Click to open in a new window">Offline</a></li>
</ul>
<ul>
<li><h3>Learn</h3></li>
<li><a href="https://docs.lsfusion.org/Paradigm/" target="_blank" title="Click to open in a new window">Paradigm</a></li>
<li><a href="https://docs.lsfusion.org/Examples/" target="_blank" title="Click to open in a new window">Samples</a></li>
</ul>
<ul>
<li><h3>Install</h3></li>
<li><a href="https://docs.lsfusion.org/Execution_auto/" target="_blank" title="Click to open in a new window">Automatic</a></li>
<li><a href="https://docs.lsfusion.org/Execution_manual/" target="_blank" title="Click to open in a new window">Manual</a></li>
</ul>
<ul>
<li><h3>Solutions</h3></li>
<li><a href="https://mycompany.lsfusion.org/en/" target="_blank" title="Click to open in a new window">MyCompany</a></li>
<li><a href="https://luxsoft.by/produkty/lsfusion-erp/" target="_blank" title="Click to open in a new window">lsFusion ERP</a></li>
<li><a href="#" target="_blank" title="Click to open in a new window">FusionWMS</a></li>
<li><a href="/solutions">More solutions</a></li>
</ul>
<ul class="social">
<li><h3>Social</h3></li>
<li class="git"><a href="https://github.com/lsfusion" target="_blank" title="Click to open in a new window">Github</a></li>
<li class="ln"><a href="https://twitter.com/lsfusion" target="_blank" title="Click to open in a new window">LinkedIn</a></li>
<li class="blog"><a href="/#blog">Blog</a></li>
<!--li class="fb"><a href="#" target="_blank">Facebook</a></li>
<li class="tw"><a href="#" target="_blank">Twitter</a></li-->
</ul>
<ul class="community">
<li><h3>Community</h3></li>
<li class="git"><a href="https://github.com/orgs/lsfusion/projects/1" target="_blank" title="Click to open in a new window">Github Issues</a></li>
<li class="sl"><a href="https://slack.lsfusion.org/" target="_blank" title="Click to open in a new window">Slack</a></li>
<!--li class="tel"><a href="#" target="_blank" title="Click to open in a new window">Telegram</a></li-->
<li class="st"><a href="https://ru.stackoverflow.com/questions/tagged/lsfusion" target="_blank" title="Click to open in a new window">StackOverflow</a></li>
<li class="em"><a href="mailto:[email protected]" target="_blank" title="Click to open in a new window">Email</a></li>
</ul>
</nav>
<div id="absfooter">
<p id="copyright">© <script>document.write((new Date()).getFullYear())</script> lsFusion Foundation</p>
<ul>
<li><a href="mailto:[email protected]">Report a bug</a></li>
</ul>
</div>
</div>
</footer>
<script
src="https://code.jquery.com/jquery-2.2.4.min.js"
integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44="
crossorigin="anonymous"></script>
<script src="https://polyfill.io/v2/polyfill.min.js?features=IntersectionObserver"></script>
<script src="/js/app.js"></script>
<script src="/3rdparty/ace/src/ace.js"></script>
<script src="/3rdparty/ace/src/mode-lsf.js"></script>
<script src="/3rdparty/ace/src/worker-lsf.js"></script>
<script src="/3rdparty/ace/src/ext-language_tools.js"></script>
<script>
var code1Editor = ace.edit("code1", {
lsfWorkerType: 'script',
mode: 'ace/mode/lsf',
enableLiveAutocompletion: true,
showPrintMargin: false,
showLineNumbers: false,
});
var code2Editor = ace.edit("code2", {
lsfWorkerType: 'script',
mode: 'ace/mode/lsf',
enableLiveAutocompletion: true,
showPrintMargin: false,
showLineNumbers: false,
});
</script>
</body>
</html>