Open egesuato opened 4 years ago
Hello @egesuato, it should be possible. But I suggest you to rewrite the entire application (also the wxWidgets part) and create one single application. What is the motivation to have separate applications?
First of all thanks for your information.
Why rewriting the whole application ?
The three different web application are used by different people to access different kind of information at the same time. Probably I can bind each application to a different port, so for instance I can do something similar to:
localhost:8091 -> app1 localhost:8092 -> app2 localhost:8093 -> app3
I am wondering if I can keep the same port and add a context like I am doing now with http://localhost:8090/app1 http://localhost:8090/app2 http://localhost:8090/app3
thanks
You are welcome. I suggest to rewrite the entire application in order to have a single consistent software, avoiding technology mixing. It should be simple to rewrite a wxWidgets GUI with Remi, but of course it depends on the complexity of the application. What's the purpose of this application?
If you plan to keep separate applications: The solution proposed by you should (have different instances on different port) should be the simplest. The other solution can be tricky.
An alternative could be to have a login page, and show a different root widget in relation to the logged user. In this case, the application must be started with the parameter "multiple_instances=True", this way the different users will access a different App instance.
Could you please show a template for this multiple App? @dddomodossola
Hello, I have a simple desktop application built using wxPython 2.8 and python 2.7. In this desktop application I have an integrated webserver (built on top of the webserver builtin in python) which exposes three webapplications (created in javascript).
So when server starts I have three address: http://localhost:8090/app1 http://localhost:8090/app2 http://localhost:8090/app3
to access to three different applications.
Now I would like to rewrite those js application by using remi. Can I add a context for each application ? Is it possible to use rest services in remi ?
Many thanks