Any way to show progress while an ON-REV page is processing a script?
mikekann at yahoo.com
Sat Aug 6 13:58:10 EDT 2011
I'm working on something similar. When you write that you have a "list of patent numbers processed by a .lc or .irev page" do you mean that you are going out to fetch the patents each time, or will all the data be on your server? The reason I ask is if the data is on your server it might be better to attack the user delay in your code, rather than work on a progress bar.
For example, I'm presenting 993 titles of videos; all in a similar format, but the whole list is different each time. When I started out it took about 6 seconds from button click to the list appearing. After setting up a poor man's index and retooling a few loops I've gotten the return trip down to about 50 milliseconds -- good enough for government work.
--- On Sat, 8/6/11, Bruce Pokras <bruceap at comcast.net> wrote:
From: Bruce Pokras <bruceap at comcast.net>
Subject: Any way to show progress while an ON-REV page is processing a script?
To: "How to use LiveCode" <use-livecode at lists.runrev.com>
Date: Saturday, August 6, 2011, 11:46 AM
I have a form that uses POST to get a list of patent numbers processed by a .lc or .irev page. Right now, the whole list has to be processed before the user sees that anything has happened. In my case, once all the patent numbers have been processed, the user will see a page of tables with information about each patent. In my revlet version of this process, it was easy to have a field display the progress of the processing with 1 of 20, 2 of 20, 3 of 20, etc. being displayed in a field as the processing of each patent took place.
Is there any way to display a progress indicator while the .lc or .irev page is processing the patent numbers? I have tried a couple of things, such as having a separate "put" command for each patent, but nothing is displayed until all of the patents have been processed.
Blazing Dawn Software
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode