Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to put complex method code
Message
From
10/01/2001 10:06:02
 
 
To
09/01/2001 09:32:32
Mike Mattos
Nationwide Computers
Mississauga, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00461101
Message ID:
00461616
Views:
8
>I'm starting a new project and I'm trying to decide where to put complex method code (business rules?) as a standard for myself.
>
>Can somebody help me with some best practices - pro's and con's of what I should do, and the problems I will run into down the line if I do it any particular way?
>
>My concerns include embedded methods or external prg's, pathing of project components ( common (big )libraries or small local copies ) and benefits of loading a COM server once versus loading ( opening files ? ) once per transaction ( not for performance, but from a design point of view )

Hello, Mike.

If you don't have any prior scheme constructed by yourself, I think many of us can give you different approaches, but overall it will depend a lot of the type and complexity of the project.

I think that maybe you can take a look at some available frameworks and maybe pick one of them or at least see how they organize components and see for yourself what best fits your needs. I don't use any as I have my own, but you can do a little research on Mere Mortals, Codebook, Maxframe, ProMatrix, and others.

You can find their websites trough the links sections, and you can also get advise from many people here using them (James Weil can comment you about Mere Mortals for sure).

Actually, I think that if you can start basically from zero, using a framework would speed you up a lot.

Good luck!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform