mr ng
mr ng

Reputation: 291

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?

Upvotes: 0

Views: 1309

Answers (2)

Andrii Rusanov
Andrii Rusanov

Reputation: 4606

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

Upvotes: 2

Julien Greard
Julien Greard

Reputation: 1049

you should use Django framework for your app. You can integrate your scripts into Django views. And you can also use the loaddata system in order to insert your yaml data into the database

Upvotes: 0

Related Questions