Updating Properties

jsRO will keep each property synchronized in the browser and in the application. Each time a property is updated in the server side, this change triggers an event to the browser, where it can be handled by the corresponding on(“model:object.property”, “change”, …) event, if this event was declared. Similarly, when a property is updated in the browser, this change travels to the application and triggers the object.OnPropertyChange and property.OnSet events.

Sequence diagram for the assignation of a property value from the application and from the browser:

Read more:

· OnPropertyChange(), OnSet() and OnGet() Events

· jsRO Remote Calls

Last updated