title: newbie: writing backend code for website
body: <p>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</p>