Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application object
Message
From
05/12/1998 08:31:39
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00163769
Message ID:
00164434
Views:
23
>Despite shelfing it I made up my mind anyway :), and I really think that loading up oApp as the Keeper of all Stuff isn't good OOP because you end up with 1 object that knows all/does all, and other objects need to depend on oApp. I would much rather have better encapsulate in individual objects like your suggestion of using _Access and _Assign to down scale oApp. Plus I agree with John Henn, there is still a place for procedure files.

Anyway, why would we need to have one huge repository of the does-it-all type? I'd much rather stay on DavidF's side (or was it JimB) and use single .prg files. The project manager will find them anyway, and they will become a part of your .exe, and run as quick (or slightly quicker) than methods in goApp. The upside is (as I see it) that you can change them independently of the others. You take them out one by one and fix, and put them back in some libs directory. PManager loads only those you actually use, so you don't have a monster big .prg which is too long to find your procedure in, nor you get a monster goApp which has more methods than you can find your way through. No single component of your project gets bigger than you want (except the Code part of your project tree, but even there you see their names right on without having to drill down to find them).

> IMHO OOP is merely a programming methodology that is not exclusive and is not a complete 100% replacement for procedural handling. Why should I instantiate an oApp heavy with methods I *might* need when I can use a standard procedure file for all my different apps and only tap (or instantiate with Feltman's Command Class tip) what I need when needed?

With the addition of my above statement, I'll sign under this one.

> search starts all ove again. Days like that I was stomping my feet b***ing endlessly that we didn't have a common procedure file for generic all purpose stuff.

Name it a common procedures directory in my case and you've never seen me having asterisks in my comments :)

>yeahyeah... my highly inflated $.02US worth =D)

Don't call the devil. I'll tell you about inflation someday.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform