First of all, I'm not experienced with servers. I just want to know what I have to study to make this happen. But better explanation is well received.
Like said in the Title, how can I do that?
What I want:
Swift iOS app(client-side) JSON -> server -> execute python with provided data
and a return:
Swift iOS app(client-side) JSON <- server <- return of executed python with provided data
I've read about Apache but it involves php(my nightmare) and a lot of more things (like php running python by commands on terminal). Is this the way?
Can I make a server that receives JSON and directly use python to decode, process the data, create a new JSON (an answer) and send back to client?
Can I get away from php?
What technologies (like server, languages, frameworks) do I have to use on this project?
Plus: What's the best choice for database(and the framwork to access it) for small projects? (like a simple app)
Thanks in advance!