Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Building a Module/Plugin-styled structure with Visual Fo
Message
 
 
À
09/11/1998 23:12:47
Phillip Jaenke
Ketyra Database Systems
Berea, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00156015
Message ID:
00156260
Vues:
34
Phillip,

You should take a look at the Design Patterns book by Gamma et. al.

>A module/plugin-styled system. Sorta like Netscape plugins, but nowhere near it at the same time. These plugins will be semi-proprietary compiled databases and such that are downloaded off the net or something like that. Controlling a browser is easy, so I'm not worried about that. What I'm worried about is how to actually do this module thing. Can it even be done the way I've worked out below?
>
>coreInterpreter-> moduleInterpreter->Module
>moduleInterpreter-> moduleIdentifier-> ModuleIdentification
>moduleInterpreter-> moduleIndex-> ModuleIdentification
>
>My ascii-art flowcharting skills aren't the best, as you can see. ;) Basically, there's a core interpretation module, and the module interpreter. The module interpreter, which is just a glorified set of PGM's and such, is what actually reads the modules, and feeds them to the core interpreter, a happy visfoxpro application. :) But first, the module identifier identifies that it is indeed a compatible module, and the module index adds the module to it. This way the modules are kept track of and correctly indexed.
>
>Can it be done? Or am I better of doing a whole engine and such from scratch in c? ;) Any ideas, suggestions, pointers to examples of such implementations, etc greatly appreciated! Thanks! :)
df (was a 10 time MVP)

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

Click here to load this message in the networking platform