Is there any way to integrate PHP and Python so that I can maintain only one core library, preferably writen in Python?
This is my problem:
I'm developing a database application using. PostgreSQL.
This database should be accessible to Python.
I also need to give it a web interface, which I would like to write in PHP.
That implies code duplication as most of the transactions could be performed either by Python applications or manually via the web.
Any suggestions?
Thanks.