Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does a PRG class execute faster than a VCX based class?
Message
 
 
À
10/09/2005 11:08:21
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01040117
Message ID:
01048420
Vues:
28
Mike

>Please give an example of a logical/virtual not physical package in VFP.

A logical package is just a collection of related things. You can have an OrderEntry package that is comprised of all the classlibs, forms, prgs, reports and menus that pertain to that subsystem of the app. You can have a package the aggregates all of the bizobjs. If your database is comprised of 200 tables you can put logical groups of tables into a package. Packages are sort of arbitrary, they can be whatever you want them to be to help someone design/understand/document/deploy/whateverelse a system.

>>>Similarly if there was a huge piece of code, it would be more efficient to have multiple smaller pieces of code for multiple developers to work on simultaneously, right?
>>
>>Huge pieces of code are no longer good design. Classes are supposed to be relatively small amounts of code.
>>
>
>OK, so then how is a large classlib a good thing?

Mike I'm not saying either huge or large is a good thing. Appropriately and convienently sized is what I call a good thing. There is no magic number for how many classes should be in a classlib.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform