Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to process requests
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00037986
Message ID:
00037987
Views:
31
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform