Skip to content

Commit bb405a2

Browse files
authored
Merge pull request mendix#10731 from mendix/qt-updateappsettings
Update App Settings doc
2 parents eb52f70 + 37c648a commit bb405a2

2 files changed

Lines changed: 36 additions & 29 deletions

File tree

  • content/en/docs
    • refguide10/modeling/app-explorer/app/app-settings
    • refguide/modeling/app-explorer/app/app-settings

content/en/docs/refguide/modeling/app-explorer/app/app-settings/_index.md

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,6 @@ If this options is disabled, `String` attribute values on the client-side will a
5252

5353
For a detailed explanation, see the *Empty Strings Handling* section of [Upgrading from Mendix Studio Pro 10 to 11](/refguide/upgrading-from-10-to-11/#empty-strings-handling).
5454

55-
### Static Resources from Disk
56-
57-
If this option is enabled, the static resources for your mobile application are downloaded as soon as you open your application rather than bit by bit as you navigate through the app. This can drastically cut down the number of network requests, as the files can be retrieved from the disk rather than from the server.
58-
59-
The resources are downloaded to the device once for each deployment and are reused for subsequent runs of your app. This affects a number of files, including your theme, the JavaScript client, CSS files, and pages.
60-
6155
### Optimize Network Calls {#optimize-network-calls}
6256

6357
If this option is enabled (**yes** by default), Mendix analyzes every microflow that can be triggered from the client to minimize the number of objects required to be sent. This speeds up your app significantly.
@@ -170,15 +164,15 @@ MD5 and SHA256 are only provided for backwards compatibility. They should not be
170164

171165
Mendix believes both algorithms are secure enough to store passwords within Mendix. The main difference between **BCrypt** and **SSHA256** is that the BCrypt algorithm has been configured so it is relatively slow on purpose, since it was designed specifically to stop brute force attacks. That is why this results in a slight performance difference with the SSHA256 algorithm.
172166

173-
#### BCrypt Cost {#bcrypt-cost}
167+
##### BCrypt Cost {#bcrypt-cost}
174168

175169
**BCrypt cost** is used to specify the cost of the BCrypt algorithm. The default value is 12, and can go up to 30. The higher the value is, the slower the process of hashing values. For more information, see the subsections below.
176170

177-
#### Performance
171+
##### Performance
178172

179173
If the BCrypt cost is low, the performance difference is hardly noticeable to a single user when signing in (meaning, the password you enter when signing in is hashed using the selected algorithm). This means performance alone is not a reason to choose **SSHA256** over **BCrypt**. The situation can change when dealing with high concurrency of hashing operations, for example, published web services exposing operations that compute quickly, like short-running microflows.
180174

181-
#### Performance Tests
175+
##### Performance Tests
182176

183177
A (web service) user will sign in to run a web service operation, wait for the operation to finish, and get the result back (if any).
184178

@@ -226,13 +220,13 @@ The table below presents the results of rounding the input to one digit with the
226220
| -2.5 | -3 | -2 |
227221
| -5.5 | -6 | -6 |
228222

229-
### OQL version 2 {#oql-version-2}
230-
231-
If this option is set to **Yes**, your app will use version 2 of the OQL syntax. This setting must be enabled to use [view entities](/refguide/view-entities/). Make sure your app is ready to use the new syntax before making the switch.
223+
### Digits After Decimal Point
232224

233-
For more information about the differences, see [OQL Version 2 Features](/refguide/oql-v2/).
225+
{{% alert color="info" %}}
226+
This setting was introduced in Mendix 11.6.
227+
{{% /alert %}}
234228

235-
Default: *No*
229+
Set the number of digits that appear after the decimal point for your entire app. This setting affects both new and existing decimal attributes.
236230

237231
### Multiple Sessions per User {#multiple-sessions}
238232

@@ -250,6 +244,24 @@ To force a query to the runtime, use microflows. For example, create a microflow
250244

251245
Default: *Yes*
252246

247+
### Optimistic Locking (beta)
248+
249+
{{% alert color="info" %}}
250+
This is a beta feature introduced in [Mendix 11.5.0.](/releasenotes/studio-pro/11.5/).
251+
{{% /alert %}}
252+
253+
If this option is set to **Yes**, Mendix will use a strategy to prevent lost updates when multiple users or processes try to modify the same piece of data at the same time.
254+
255+
For more information, see [Optimistic Locking](/refguide/optimistic-locking/).
256+
257+
### OQL version 2 {#oql-version-2}
258+
259+
If this option is set to **Yes**, your app will use version 2 of the OQL syntax. This setting must be enabled to use [view entities](/refguide/view-entities/). Make sure your app is ready to use the new syntax before making the switch.
260+
261+
For more information about the differences, see [OQL Version 2 Features](/refguide/oql-v2/).
262+
263+
Default: *No*
264+
253265
### Foreign Key Constraints {#database-fkc}
254266

255267
If this option is enabled, database [foreign key constraints](/refguide/data-storage/#fkc) will be used. An attempt to commit a dangling reference will throw a runtime exception.

content/en/docs/refguide10/modeling/app-explorer/app/app-settings/_index.md

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ This setting enables the new React version of the Mendix Client. This React clie
3838
* **Yes**: Use the React client. In this mode, you will get consistency errors for incompatible widgets.
3939
* **Migration mode**: Use the React client and ignore incompatible widgets. Placeholders are displayed in the case of incompatible widgets. Recommended when trying out the new client.
4040

41-
### Static Resources from Disk
42-
43-
If this option is enabled, the static resources for your mobile application are downloaded as soon as you open your application rather than bit by bit as you navigate through the app. This can drastically cut down the number of network requests, as the files can be retrieved from the disk rather than from the server.
44-
45-
The resources are downloaded to the device once for each deployment and are reused for subsequent runs of your app. This affects a number of files, including your theme, the JavaScript client, CSS files, and pages.
4641

4742
### Optimize Network Calls {#optimize-network-calls}
4843

@@ -156,11 +151,11 @@ Mendix believes both algorithms are secure enough to store passwords within Mend
156151

157152
**BCrypt cost** is used to specify the cost of the BCrypt algorithm. The default value is 12, and can go up to 30. The higher the value is, the slower the process of hashing values. For more information, see the subsections below.
158153

159-
#### Performance
154+
##### Performance
160155

161156
If the BCrypt cost is low, the performance difference is hardly noticeable to a single user when signing in (meaning, the password you enter when signing in is hashed using the selected algorithm). This means performance alone is not a reason to choose **SSHA256** over **BCrypt**. The situation can change when dealing with high concurrency of hashing operations, for example, published web services exposing operations that compute quickly, like short-running microflows.
162157

163-
#### Performance Tests
158+
##### Performance Tests
164159

165160
A (web service) user will sign in to execute a web service operation, wait for the operation to finish, and finally get the result back (if any).
166161

@@ -208,14 +203,6 @@ This table presents the results of rounding the input to one digit with the give
208203
| -2.5 | -3 | -2 |
209204
| -5.5 | -6 | -6 |
210205

211-
### OQL version 2 {#oql-version-2}
212-
213-
If this option is set to **Yes**, your app will use version 2 of the OQL syntax. This setting must be enabled to use [view entities](/refguide10/view-entities/). Make sure your app is ready to use the new syntax before making the switch.
214-
215-
For more information about the differences, see [OQL Version 2 Features](/refguide10/oql-v2/).
216-
217-
Default: *No*
218-
219206
### Multiple Sessions per User {#multiple-sessions}
220207

221208
If this option is enabled, users can sign in multiple times through different clients (for example, desktop browser and tablet). Otherwise, an existing session for a user is signed out when the user signs in somewhere else.
@@ -232,6 +219,14 @@ To force a query to the runtime, use microflows. For example, create a microflow
232219

233220
Default: *Yes*
234221

222+
### OQL version 2 {#oql-version-2}
223+
224+
If this option is set to **Yes**, your app will use version 2 of the OQL syntax. This setting must be enabled to use [view entities](/refguide10/view-entities/). Make sure your app is ready to use the new syntax before making the switch.
225+
226+
For more information about the differences, see [OQL Version 2 Features](/refguide10/oql-v2/).
227+
228+
Default: *No*
229+
235230
### Foreign Key Constraints {#database-fkc}
236231

237232
If this option is enabled, database [foreign key constraints](/refguide10/data-storage/#fkc) will be used. An attempt to commit a dangling reference will throw a runtime exception.

0 commit comments

Comments
 (0)