Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to process requests
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00037986
Message ID:
00037987
Vues:
29
>In the code that comes with X-Works, each form has a hidden field to indicate the PRG to execute when the POST method is used. Is this the best way to go? Using this method, I can see many PRG files being created. Also, this method is not a very object oriented approach, but it does seem to provide an easy way to add and modify forms.
>I was thinking of creating a class and storing each PRG as a method. I could then use CREATEOBJECT() to create the object and process the request. This might make it hard to add and modify forms without bring down the server. All comments are welcome!

I would suggest you need to build a framework which will be responsible to dispatch to the appropriate EXE.

You will find some information on my article as well about this implementation.

I will send you something by email which might interest you.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform