-
August 21st, 2009, 08:56 AM
#1
In a normal scenario, we assume that any back-end information is available to the Web Server, if needed.
Hence, the Web Server is still responsible for knowing what the supplied page is supposed to display.
In this case, if the page has to show all the available stocks,
the Web Server should ask to your feed for the list of available stocks,
so that the Web Server can compose the page
and make it show the stocks and ask Lightstreamer for the real time updates for those stocks.
However, if you find it easier to ask for the list of available stocks through Lightstreamer
(for instance, if you are using a simple feed simulator which is difficult to connect to your Web Server)
then your page could get the list by subscribing to a COMMAND mode item.
Obviously, your Data Adapter has to be extended, in order to supply this new item, according to the information it can get from the feed.
Your page, in order to handle the received list and subscribe to all the received stocks,
can take advantage of a MultiDynaMetapushTable,
as demonstrated in the predeployed Portfolio Demo example provided with the distribution package.
-
August 26th, 2009, 10:15 AM
#2
Similar Threads
-
By sfs123 in forum Client SDKs
Replies: 1
Last Post: July 13th, 2011, 09:13 AM
-
By Pradeep Chahal in forum Adapter SDKs
Replies: 1
Last Post: November 6th, 2009, 08:28 AM
-
By lethanhclub in forum Adapter SDKs
Replies: 1
Last Post: September 11th, 2009, 09:39 AM
-
By lethanhclub in forum Client SDKs
Replies: 0
Last Post: September 11th, 2009, 03:49 AM
-
By Sinead in forum Client SDKs
Replies: 3
Last Post: February 8th, 2007, 09:11 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 01:23 PM.
Bookmarks