Re: Don Cole's Niffty Progress Bar Uploaded Atten: RAD
- Posted by Rad <radhx at rediffmail.com> Nov 12, 2006
- 590 views
Pete Lomax wrote: > > Just a thought: would it not be an awful lot better to download a > 20-byte-ish version file from the server, if does not match grab new > copy of the 'config/menu' file (and progress-bar that download?). > > OK, 800-1000 menu items is, erm, outrageous or something, but you have > to be kidding me to claim it would take say 4 secs if done locally? > Out of interest, how long does it actually take if done locally (ie on > workstations own hd vs "server in a different city altogether")? > > Curious, > Pete > Hi Pete, I am trying to develop this application in Euphoria on the similar lines of the one which once I have worked on. Large number of menu items seems ridiculous to be precise, but such systems do exist. The one which I worked on was a 3 tier multi-user commercial application in Banking Sector, consisting of Delphie as front-end, COBOL as back-end and Tuxedo as middle ware, using Oracle Database and ODBC. It was a monster of an application to say it. In my 2 years of association with the organization, I myself designed and added around 75 new menu items including a new module. On a busy day, this application used to take at least 10-15 seconds to load the accessible menu for the specified user, with around 8 modules (menu bar items) and around 100 odd other sub-menus and menu items. They too had a progress bar running for the same reason. The distance between the server and work-stations was around 700km using lease lines. Of course, every user will have restricted access to the system options, but there is always one super-user who will have access to all the options to bail out in the time of crisis. My application, with local server and currently nowhere near it's big brother, has mere 82 options, which are mostly mandatory options to start/maintain the system. But still you can see the ProgressBar moving across the screen and make out % reaching 100, even if for a second or so. Also, depending on the logged in user, I am building this dynamic menu from the database where access rights to options for each user are defined. I am not sure how to use version file from the server. Never done it. Regards, Rad.