It is a real-time stock portfolio display.
Server side is a CFMX program that retrieves real-time quotes from
another web site
The real-time data is combined with (relatively) static data from an
on-site database
The server and client exchange data using Flash remoting
1) At the start of each day (or when the client logs on), the clients
entire portfolio (static data) is transferred to the client and
displayed in a grid (Flash dataGrid)
2) When the Market opens (or when the client logs on), initial
real-time data for the client portfolio is sent to the client to
populate the grid
I have these 2 steps working -- a little slow, but they each only
happen once per day per portfolio.
3) The next step is to transmit only the changes to the client, and
update the grid, as quickly as tpossible.
Here's where I could use some help/ideas.
The way I see it, the Flash client will "request" changes from the
server as whenever it can receive them (immediately after receiving the
last changes)
the server will maintain state and a have a copy of the data on each
client so the CFMX program can determine what has changed since the
last changes were sent to the client -- so it can eliminate any
unnecessary data to reduce bandwidth.
I have implemented similar programs (including a version of this app)
using _javascript_ and/or meta tag refresh to trigger the client to make
repetitive requests to the server.
What is the best way to do this in a Flash client?
If anyone has an examples or can point me to a good reference it will
be greatly appreciated.
TIA
Dick
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

