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
15/08/2005 07:44:54
 
 
À
14/08/2005 21:17:47
Jet Eloriaga
JetSpeed Solutions, Inc.
San Juan, Philippines
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:
01040908
Vues:
23
Hi Jet,

I strongly recommend to you to keep away from code generators.
They will not do any good to you. Create set of classes that can handle your way of thinking and doing things.

I am using my class generators just to set properties to next generation of base business and gui objects because I am as lazy as one can be creating subclasses and setting properties manualy.

With good set of base classes you will have to write specific code only for certain type of transactions and nothing else. Your gui should be almost without code, just properties.
All data manipulation, validation and further processing should be in business objects.

Regarding IDE, to be honest I would like to have virtual class libraries (folders/subfolders) and one class shown in multiple places. Yet again, I have many classes that have same name... So it should be a good mix of current PrjMng and class browser... Then multiple subprojects/apps in one project. Maybe I will sit done one day and write one, but this is theme for other topic.

HTH,
T

PS

I see that you have started this thread under vfp6sp5.
I am recommending you to move to vfp9. It is brilliant.

>Hey Tomislav,
>
>Thanks a lot for the sharing!
>It kinda gives reassurance that what I ( we ) are
>attempting to do had in fact been done before
>which means it is quite possible. The reason I put
>this up is that I can hardly see any discussion on
>this issue - code generation in VFP, that is.
>
>I have been looking for an IDE ( or a way )
>by which I can work with my classes in the same way
>that I work with the Visual C++ IDE, wherein I can
>see all my classes in my project at the same time.
>This way it is a lot easier to maintain my sanity
>while coding and remembering which class is doing
>which stuff. To my desperation, I have already started
>creating my own IDE. I find it kind of strange why
>VFP's Visual Class Designer does not look anything
>like it. I mean, why am I constrained to work with
>only one class at a time if I use the Visual Class Designer?!
>Why can't I see all my classes at once, and then view
>all their members at will ( using a treeview ) by simply
>double-clicking on them?
>
>Thanks again! :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform