Hi
I'd like to move a standalone application to the web.
Currenty it works fine like this :
- Input a genealogy filename (.ged), read the file and interpret it to a rather complex structure in memory (with trees and dynamic arrays of objets)
- Input search criteria and search data in some fields in the memory structure and display the corresponding persons
- Allow replacements in the dataSearch of some data in the structure
No database is used.
The 1st step can be long, and searches and replacements can use the results of the previous search, Thus, I allow users to run once the 1st step, and several times the others.
No problem with the standalone GUI application, but how can I achieve that on the web ?
I can make a cgi application (with fpweb), but the memory is initialized on each request, and I don't know how to share memory between the different requests .
I think I need a permanent application running on the web server, receiving data from a cgi-application, and sending it to it. The cgi application process inputs from a web page and display results.
What is the simpler way to achieve that ?
Thanks for your hints !