Newer Version Available
Queueing of Server-Side Actions
The framework queues up actions before sending them to
the server. This mechanism is largely transparent to you when you're writing code but it
enables the framework to minimize network traffic by batching multiple actions into one
request.
Event processing can generate a tree of events if an event handler fires more events. The framework processes the event tree and adds every action that needs to be executed on the server to a queue.
When the tree of events and all the client-side actions are processed, the framework batches actions from the queue into a message before sending it to the server. A message is essentially a wrapper around a list of actions.