I am creating a web application and I need to use an architecture that allows me to run it on two servers. The application periodically dumps information from other sites and to the input from the end user. For this, I use Php + curl to clear the information, Php or python, to parse it and save the results in MySQLDB.
Then I will use Python to run some data algorithms, this will happen both periodically and at the input from the end user. I am going to cache some of the results in a MySQL database, and sometimes, if it is user-specific, skip data storage and send it to the user.
I am thinking about using php for a website on a separate web server, running php spider, MySQL DB and python on another server.
What framework work should be used for this kind of work? Is MVC and Cakephp a good solution? If so, can I control and control Python code using it?
thank
source
share