Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Building a Module/Plugin-styled structure with Visual FoxPro
Message
De
09/11/1998 23:12:47
Phillip Jaenke
Ketyra Database Systems
Berea, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Building a Module/Plugin-styled structure with Visual FoxPro
Divers
Thread ID:
00156015
Message ID:
00156015
Vues:
71
Okay, I finally got a hold of someone who could give me a definite answer on unix ports. They are no more. *sob* Oh well, I suppose I'll live. Probably easier than trying to cross-compile with the runtimes. (What a headache-causer THAT was! Can't say I'll miss THAT too much!;)

Anyways, on to the subject at hand. I've got a *BIG* project I'm starting in on, and to have it work the way I'd like/need it to, I need to build something that I have NEVER done before in ANY version of FoxPro.

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! :)
-Phillip R. Jaenke (prj@nls.net)
Head Developer, Project 'CAP'
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform