Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does a PRG class execute faster than a VCX based class?
Message
De
12/08/2005 09:38:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
12/08/2005 09:29:38
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:
01040525
Vues:
26
:) Why is there a scx file but not ccx file (single object)?
IMHO Library is not a misconception and serves grouping classes. For the simpliest example, do you keep your baseclasses one per a vcx - somethign like myLabel of myLabel.vcx?
Cetin

>I think Library is a misconception or at least abused. Granularity is far better than arbitrarily collecting stuff in a set of class libraries. Why is there a class library file, but no class file?
>
>
>
>>I don't agree. A vcx stands for a classLIBRARY. If I'd just keep my classes in a LIBRARY down to one then LIBRARY is a misconception??? prg is no different in that matter.
>>Cetin
>>
>>>Whichever way you go, keep the number of classes in each prg or vcx down to one. See http://fox.wikis.com/wc.dll?Wiki~PRGvsVCX~VFP and http://fox.wikis.com/wc.dll?Wiki~VFPSetProcedure~VFP
>>>
>>>>Hi All,
>>>>
>>>>I and a friend are having a discussion on how to best create and maintain classes. He suggested that we programmatically code our classes. I, however, am very comfortable designing/coding classes visually - that is, using the Visual Class Designer.
>>>>
>>>>Although one can very well convert a VCX based class (or a Form even) to a PRG class via Class Browser/View Code, the issue of performance and best practices comes to mind.
>>>>
>>>>Which executes faster? Is coding classes programatically more popular? Or better practice?
>>>>
>>>>Many thanks to anyone who shares his/her insights!
>>>>
>>>>Dennis
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform