D
D
Dmitry Arkhipov2018-12-08 19:40:57
PHP
Dmitry Arkhipov, 2018-12-08 19:40:57

Which solution to choose for integrating the web interface (php) and the server (python)?

Good afternoon.
I ask you to suggest possible solutions in the implementation of the interaction between the server part and the web client.
So there were circumstances that it is no longer possible to change the choice of PL for both the server and the client.

  • Everything works on a linux machine and only one port can be opened from the client subnet to the server: 80 or 443
  • back-end: several python modules with a scheduler, etc., DB (MySQL)
  • WEB-interface is written in php+javascript
  • Communication is supposed to be two-way

Previously, in a similar project, I made a connection via websocket, but now this option is not suitable, because. there will be no access from the client machine to the python-server interface via an additional port (for ws).
I can’t implement all-in-one in python, the client is written separately and only in php.
While I see a variant in data transfer the client-server through a DB.
Adding another component to the project (I thought about rabbitmq) is too fat for the tasks solved by the server.
Thanks for any good advice.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2018-12-08
@vintello

rabbitmq mine is a good solution, and in vain you brush it aside

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question