-
May 12th, 2008, 08:45 AM
#2
Lightstreamer requires that data is split into distinct fields, so that the Server can easily distinguish changing fields, to be transmitted, from unchanged fields, not to be transmitted.
If your objects have a complex structure and you can't represent them as a collection of fields, then you can sacrifice transmission efficiency and serialize your objects in whichever way into a single String field. However, deserialization must be performed by custom code on the client side (JSON helps this very much).
This can be done by using a NonVisualTable and implementing the "onItemUpdate" event handler so as to get the data, deserialize it and manage any display actions (and indeed I suppose that, with complex objects, our support for VisualTables made up of push cells would also not be useful).
Similar Threads
-
By Alessandro in forum Adapter SDKs
Replies: 4
Last Post: October 24th, 2011, 09:33 AM
-
By LS_Developer in forum Adapter SDKs
Replies: 1
Last Post: June 23rd, 2011, 10:10 AM
-
By leonardodar in forum Adapter SDKs
Replies: 3
Last Post: March 16th, 2011, 09:45 AM
-
By sachinpatel2 in forum Client SDKs
Replies: 1
Last Post: September 10th, 2010, 10:01 AM
-
By k.mcc2009 in forum Adapter SDKs
Replies: 1
Last Post: May 21st, 2009, 09:41 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 04:44 PM.
Bookmarks