Results 1 to 2 of 2
  1. #1

    Question 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 !

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784

    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

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 08:59 PM.