Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Naming classlibs
Message
De
27/11/2001 11:43:01
 
 
À
27/11/2001 11:32:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00586389
Message ID:
00586403
Vues:
16
There is no right or wrong way. Stonefield starts all their classes with sf. However, if you look at Codebook and COMCodebook, they use c for the company layer, then i for an intermediate layer and a for each application layer.


>To All,
>
>Every now and then I have a 'holy war' with new colleagues (I hop a lot) about the naming of classlibs. E.g., should the highest/base classlib be named after the 'owning' company and should we only use a subclass of that classlib in a specific application, and name the subclassed lib after the application? Like:
>
>
>   abcBase.vcx       Your company ABC?
>   abcReporting.vcx  Based on base classes in abcBase.vcx?
>   *
>   defBase.vcx       Subclass of abcBase.vcx for your customer 'company DEF'?
>   defReporting.vcx  Subclass of abcReporting.vcx for your customer 'company DEF'?
>   *
>   ghiBase.vcx       Subclass of defBase.vcx for your customer's application GHI?
>   ghiReporting.vcx  Subclass of defReporting.vcx for your customer's application GHI?
>
>I don't want to start a holy war, but I'm quite interested in your naming conventions!
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform