Re: Refreshing question

2017-07-12 Thread Simon Smith via use-livecode
Hi Couple of ways you could look at doing it. Depending on the formatting of the page, you could use an iframe and just get the page that is getting loaded each time to refresh with something like - this would just reload the section of the page and not the entire page. You could also use a jqu

Re: Refreshing question

2017-07-12 Thread Jonathan Lynch via use-livecode
You can access the online data through LC, either synchronously or asynchronously, and process it as you need in LC. Then, you can send that data to the browser widget where you use Javascript to display it within the browser, by setting the innerHTML of a div or some other method. In this way

Re: Refreshing question

2017-07-12 Thread prothero--- via use-livecode
Whoops, I missed the earlier posts. My question was answered. Bill William Prothero http://es.earthednet.org > On Jul 12, 2017, at 9:31 AM, Mark Waddingham via use-livecode > wrote: > >> On 2017-07-12 18:28, Mark Waddingham via use-livecode wrote: >> Option (3) is probably the easiest (it has

Re: Refreshing question

2017-07-12 Thread prothero--- via use-livecode
I'm curious how you manage nearly simultaneous change requests from different users. I can see issues if your application is some kind of real time multi-user game, but if the changes are stored to a file or database, it makes sense. This idea seems interesting and I'm thinking how I might use

Re: Refreshing question

2017-07-12 Thread Mark Waddingham via use-livecode
On 2017-07-12 18:28, Mark Waddingham via use-livecode wrote: Option (3) is probably the easiest (it has less 'moving parts'), followed by (2) and then (3). I meant to say (2) is probably the easiest (it has less 'moving parts'), followed by (1) and then (3). Warmest Regards, Mark. -- Mark

Re: Refreshing question

2017-07-12 Thread Mark Waddingham via use-livecode
On 2017-07-12 18:23, jbv via use-livecode wrote: On Wed, July 12, 2017 5:34 pm, jonathandly...@gmail.com wrote: If the data is always the same, then I would update a page and have the browser read it. Are you looking to reload the whole page or just update a few data points? I really need t

Re: Refreshing question

2017-07-12 Thread jbv via use-livecode
On Wed, July 12, 2017 5:34 pm, jonathandly...@gmail.com wrote: > If the data is always the same, then I would update a page and have the > browser read it. > > Are you looking to reload the whole page or just update a few data > points? > I really need to reload the xml data only, as the user will

Re: Refreshing question

2017-07-12 Thread Warren Samples via use-livecode
On 07/12/2017 10:11 AM, jbv via use-livecode wrote: Hi guys I have a web page that displays various informations that need to be updated/refreshed every minute. What is the best way to achieve that ? 1- client side : a settimeout in a js script that triggers a LC script on a remote server via xm

Re: Refreshing question

2017-07-12 Thread Jonathan Lynch via use-livecode
If the data is always the same, then I would update a page and have the browser read it. Are you looking to reload the whole page or just update a few data points? Sent from my iPhone > On Jul 12, 2017, at 11:11 AM, jbv via use-livecode > wrote: > > Hi guys > I have a web page that displays

Refreshing question

2017-07-12 Thread jbv via use-livecode
Hi guys I have a web page that displays various informations that need to be updated/refreshed every minute. What is the best way to achieve that ? 1- client side : a settimeout in a js script that triggers a LC script on a remote server via xmlhttp, and returns xml data that is analyzed and displ