Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ilya Rabyy
  Where is Ilya Rabyy?
 Fountain Valley
 California - United States
 Ilya Rabyy
 To: David Hall
  Where is David Hall?
 Birmingham
 United Kingdom
 David Hall
 Tags
Subject: RE: libraries in applications
Thread ID: 188928 Message ID: 188932 # Views: 1 # Ratings: 0
Version: Visual FoxPro 7 Category: General VFP Topics
Date: Tuesday, August 12, 2008 5:19:41 PM         
   


> I need to overhaul a large project which consists of several .app modules, linked by a startup .app module which acts as a login and top-level menu. Every .app has a procedure mainlib.prg bound into it, which contains many procs common to the whole system.
>
> One of those procedures needs to be changed. Must I plan to recompile the whole collection of .apps, or just the top-level .app, or just those .app's that happen to call the changed procedure?
>
> Thanks for any advice on this.

It depends on the overall design of the system, and what coding practice was applied during its development, Sir.

If it was a good design, and if every one (or at least majority) of the subs (procs and functions) are made as much generic as humanly possible, that would/should had made all the subs in those .APP modules, as well as modules themselves, independent from one another. (In part - if there are no implicit memvars declarations, with consecutive use of those memvars in the called subs.)

If this is the case - modifying one such sub in one such module should have no unpleasant consequences.

If this is not the case - my condolences, colleague! I once inherited an old system (in FPD) where not a single one memvar was declared explicitly - and what a headache it was even maintain this sytem, let alone modify and/or add its features!

Regards,

Ilya

ENTIRE THREAD

libraries in applications Posted by David Hall @ 8/12/2008 4:56:11 PM
RE: libraries in applications Posted by Ilya Rabyy @ 8/12/2008 5:19:41 PM
RE: libraries in applications Posted by David Hall @ 8/12/2008 8:47:21 PM
RE: libraries in applications Posted by Ilya Rabyy @ 8/12/2008 9:49:39 PM
RE: libraries in applications Posted by David Hall @ 8/13/2008 11:44:54 AM
RE: libraries in applications Posted by Mike Yearwood @ 8/13/2008 4:03:49 PM
RE: libraries in applications Posted by Ilya Rabyy @ 8/13/2008 5:22:57 PM
RE: libraries in applications Posted by David Hall @ 8/13/2008 6:17:10 PM
RE: libraries in applications Posted by Ilya Rabyy @ 8/14/2008 4:43:49 PM
RE: libraries in applications Posted by David Hall @ 8/14/2008 6:17:06 PM
RE: libraries in applications Posted by Ilya Rabyy @ 8/14/2008 6:22:07 PM
RE: libraries in applications Posted by Mike Yearwood @ 8/13/2008 4:24:31 AM
RE: libraries in applications Posted by David Hall @ 8/13/2008 11:59:28 AM
RE: libraries in applications Posted by Mike Yearwood @ 8/13/2008 4:00:00 PM
RE: libraries in applications Posted by tushar @ 8/13/2008 5:22:28 AM
RE: libraries in applications Posted by David Hall @ 8/13/2008 11:56:10 AM
RE: libraries in applications Posted by Tom Saddul @ 8/13/2008 12:52:40 PM
RE: libraries in applications Posted by Ilya Rabyy @ 8/13/2008 4:37:57 PM
RE: libraries in applications Posted by tushar @ 8/13/2008 2:59:19 PM