-
August 4th, 2013, 01:37 PM
#1
How to add LS to an existing website ?
I have an existing web site, using htlm pages, PHP pages, Javascript - and still Websockets implemented in Javascript.
Question is, how to add LS to the existing website - in an Iframe ?? - I mean, the existing website is on port 80, and the LS server is at port 8080, perhaps even at another IP ?
Next question is, how to make LS update a 2D array in the main form ?
Thanks a lot !
-
August 5th, 2013, 10:09 AM
#2
Question is, how to add LS to the existing website - in an Iframe ??
There is no need for an iframe, simply include the lightstreamer.js file in your page and start using it as shown in our examples.
- I mean, the existing website is on port 80, and the LS server is at port 8080, perhaps even at another IP ?
Lightstreamer can be configured to listen on any port. You can put it on the same machine listening on a different port or on another machine listening to the same port. The only thing to keep in mind is that, in some companies , ports other than 80 and 443 may be blocked, so it is better to have both servers listening on port 80.
Next question is, how to make LS update a 2D array in the main form ?
Lightstreamer data model is made of Items and Fields; you can see them as rows and columns.
I suggest to start checking out the general concepts document file for an overview of Lightstreamer
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 05:36 PM.
Bookmarks