Re: text box control
From: Larry Serflaten (serflaten_at_usinternet.com)
Date: 07/17/04
- Next message: anon: "RE: Arranging Child Forms"
- Previous message: Mark Durrenberger: "Re: would anyone help a rank beginner...??"
- In reply to: AustinMN: "Re: text box control"
- Next in thread: Gale Green: "Re: text box control"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 16 Jul 2004 22:06:07 -0500
"AustinMN" <tacooperX@Xatt.net> wrote
>
> > The point is, you could have designed the application to be more
> > modular,
> Although there were similar themes, there was often no comparison between
> form or function. Searching for airline flights isn't at all like searching
> for concert tickets or hotel conference rooms.
I simply meant you'd have to group them on functionality. Those that use
the same types of controls belong together in a group....
> See my reply to Larry. It was the client's requirements that forced the
> issue. .025 extra seconds to display times 2500 users times 200 displays
> per user times 365 days = 53 man-days per year for that one form.
If a user is displaying a form 200 times a day, and if you assume each
time it has to be reloaded and populated, and that alone costs .025 seconds,
then that user wastes 5 seconds out of his day for the loading that form.
To load and unload that form 200 times in one day, the user would have
to constantly load an unload that form for 7 hours of an 8 hour shift (1 hr
lunch), and could not spend more than about 2 minutes filling it out. That
seems a bit high for one form. It sounds more like a total count for all forms.
>We couldn't take the time to dynamically re-lay out the forms. Since many
> users were on Win95 machines, it was often more like .25 extra seconds.
And that would be less than a minute out of the day.
I'm all for doing what the client wants, but at some point you just gotta
ask, 'When was the last time you went to the doctor and told him what
disease you had and what medicines were needed to fix it' ???
A client certainly might know what they want, but how often are they
knowledgable enough to tell you how to do it?
Each form you add is going to increase the size of your app, causing it
to take longer to load. Then since Windows will load modules on demand,
but not release them unless required, when you properly unload your
forms, you are still going to cause Windows to do more work managing
memory than if you just had a few forms that could stay in memory.
Remember you'd be using the same form for different functions, so the
module does not need to be moved out of memory if it is re-purposed
on the fly. What would be moving in and out of memory would be
the class modules (from the Dlls) which are smaller than the forms, so
you could have more of them in memory.
You do what you gotta do, but I think it would be interesting to do some
timed trials on the over-all efficiency of a verbose design over a more
modular approach....
LFS
- Next message: anon: "RE: Arranging Child Forms"
- Previous message: Mark Durrenberger: "Re: would anyone help a rank beginner...??"
- In reply to: AustinMN: "Re: text box control"
- Next in thread: Gale Green: "Re: text box control"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|