I am usually working in fields of machine learning and hence my background is mostly in stats/ML and no formal web background. Usually for my project, I work on python which is connected to my local mysql db... to fetch data adn everything. Now, my work is mostly complete.. everything is console based.. (like traditional programs). How do I integrate it on the front end. I understand that this is more like a server side scripting. So, lets take an example of google. In the front end.. someone enters a search query.. and in the backend lets say there is a program in C++ which executes that query. How did this interaction takes place.. if front end is written in lets say php.. I assume shell execution of program is a bad bad way to run programs.. ?? Any suggestion will be greatly appreciated. Thanks
As suggested by Ignacio, you will first need to design API for your project. This is basically clearly laying out what (and how) queries will be supported for your project.
You don't need shell execution and neither need to learn PHP. Since your project is in Python, you can use Python Web-frameworks like Django, Web2Py.
The first thing to do is to develop an API for your library. From there you can develop multiple frontends that use the same API in order to present it multiple ways.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With