Blog to discuss Midnight Coders products features, ideas and trends in development of Rich Internet Applications

Friday, April 28, 2006

Object auto-update - new feature in WebORB 2.1

Just finished an implementation of a very cool feature for WebORB 2.1 Beta2. The feature works as follows:
  1. Your client application fetches an object (or an array) through a remote method invocation
  2. When the object arrives into the client app, you register it with a client-side script we provide.
  3. You change the data in the object's fields, add/change/remove array elements, etc. and then "commit" the changes to the server-side.
  4. The client script sends the deltas to WebORB which in turn retrieves the same object reference that was originally sent to the client and applies the updates to the object.
  5. Once the changes have been applied, WebORB invokes a function from your back-end application to inform it about the changes.
Currently this feature will be available only for Flex client applications working with WebORB.NET (the client-side script is AS3). We also plan to create an AS2 version of the client-side script, so any Flash Remoting application can take advantage of the feature.

0 Comments:

Post a Comment

<< Home