Skip to content

Commit aa637d0

Browse files
committed
Proofread
1 parent bf6aea1 commit aa637d0

2 files changed

Lines changed: 12 additions & 16 deletions

File tree

content/en/docs/refguide/runtime/mendix-client.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,19 +96,17 @@ For more information about the communication between the Mendix Client and the R
9696

9797
This communicates the current state of the app (held in the object cache) to the Runtime Server. As the state is held in the Mendix Client, the Runtime Server can be stateless. This ensures that it is easier to scale your app horizontally by adding more instances as any instance can handle any request.
9898

99-
To avoid performance issues, the Mendix Client does not send the entire state to the runtime. State handling decides which parts of the state should be sent by analyzing the model during the deployment of the applications.
99+
To avoid performance issues, the Mendix Client does not send the entire state to the runtime. State handling decides which parts of the state should be sent by analyzing the model during the deployment of the applications. This analysis consists of two parts.
100100

101-
Determining which parts of the state should be send to the runtime consists of two parts.
101+
Firstly, during deployment, all microflows “reachable” from the client are analyzed. For example:
102102

103-
During deployment, all microflows “reachable” from the client are analyzed, such as:
104-
105-
* Event handler of entities
106-
* Microflows called from a nanoflows
103+
* Event handlers of entities
104+
* Microflows called from a nanoflow
107105
* Microflows called from the page
108106

109-
This analysis is done based on the microflow parameters and their usages throughout the microflow. Any time an association is used in the microflow, the association is marked, and will also be sent along in the request if needed. In some cases, such as Java actions, the analysis is not done as it would be too performance heavy. In that case, all objects associated to the microflow parameters will be sent along.
107+
This analysis is done based on the microflow parameters and their usages throughout the microflow. Any time an association is used in the microflow, the association is marked, and will also be sent in the request if needed. In some cases, such as Java actions, the analysis is not done as it would be too performance heavy. In that case, all objects associated with the microflow parameters will be sent along.
110108

111-
For other (non-microflow) actions, such as committing or deleting objects, a more simple analysis is performed on the client-side to determine which associations should be sent along.
109+
Secondly, for other (non-microflow) actions such as committing or deleting objects, a simpler analysis is performed on the client side to determine which associations should be included in the request.
112110

113111
For more detailed information about state, see this blog: [https://www.mendix.com/blog/the-art-of-state-part-1-introduction-to-the-client-state/](https://www.mendix.com/blog/the-art-of-state-part-1-introduction-to-the-client-state/). This also includes a worked example where you can see, and duplicate for yourself, how state is passed to the Runtime Server.
114112

content/en/docs/refguide9/runtime/mendix-client.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -98,19 +98,17 @@ For more information about the communication between the Mendix Client and the R
9898

9999
This communicates the current state of the app (held in the object cache) to the Runtime Server. As the state is held in the Mendix Client, the Runtime Server can be stateless. This ensures that it is easier to scale your app horizontally by adding more instances as any instance can handle any request.
100100

101-
To avoid performance issues, the Mendix Client does not send the entire state to the runtime. State handling decides which parts of the state should be sent by analyzing the model during the deployment of the applications.
101+
To avoid performance issues, the Mendix Client does not send the entire state to the runtime. State handling decides which parts of the state should be sent by analyzing the model during the deployment of the applications. This analysis consists of two parts.
102102

103-
Determining which parts of the state should be send to the runtime consists of two parts.
103+
Firstly, during deployment, all microflows “reachable” from the client are analyzed. For example:
104104

105-
During deployment, all microflows “reachable” from the client are analyzed, such as:
106-
107-
* Event handler of entities
108-
* Microflows called from a nanoflows
105+
* Event handlers of entities
106+
* Microflows called from a nanoflow
109107
* Microflows called from the page
110108

111-
This analysis is done based on the microflow parameters and their usages throughout the microflow. Any time an association is used in the microflow, the association is marked, and will also be sent along in the request if needed. In some cases, such as Java actions, the analysis is not done as it would be too performance heavy. In that case, all objects associated to the microflow parameters will be sent along.
109+
This analysis is done based on the microflow parameters and their usages throughout the microflow. Any time an association is used in the microflow, the association is marked, and will also be sent in the request if needed. In some cases, such as Java actions, the analysis is not done as it would be too performance heavy. In that case, all objects associated with the microflow parameters will be sent along.
112110

113-
For other (non-microflow) actions, such as committing or deleting objects, a more simple analysis is performed on the client-side to determine which associations should be sent along.
111+
Secondly, for other (non-microflow) actions such as committing or deleting objects, a simpler analysis is performed on the client side to determine which associations should be included in the request.
114112

115113
For more detailed information about state, see this blog: [https://www.mendix.com/blog/the-art-of-state-part-1-introduction-to-the-client-state/](https://www.mendix.com/blog/the-art-of-state-part-1-introduction-to-the-client-state/). This also includes a worked example where you can see, and duplicate for yourself, how state is passed to the Runtime Server.
116114

0 commit comments

Comments
 (0)