pythonajax

Python backend and html/ajax front end, need suggestions for my application


I have written a python script that extracts data from flickr site, and dump as a python class object and YAML file.

I was planning to turn this into a website:

Are there any suggestions for building this application? Any framework or technologies i should use? For example, i guess i should use ajax in the front end, how about the backend?


Solution

  • You can look on Django or Flask. As for me, Flask is much better for you, because it smallest and simplier. You can read about building Flask app here: http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world And about Django here: http://www.djangobook.com/en/2.0/index.html I used both for building applications with AJAX.

    Please note that Django has better Python 3 support.

    Also you can see on Bottle or something other. Try google if you'll dislike Django and Flask. For example, comparison of Python web frameworks: http://www.sixfeetup.com/blog/4-python-web-frameworks-compared