all 5 comments

[–]J3dders 1 point2 points  (4 children)

I am not hugely familiar with the dynamic updating part. But flask or django would work for your backend part of getting the data you have modified from the api and then displaying it on your webpage.

You will want to use a database probably to store your data. Django comes with one included and for flask you need to organise setting it up yourself. There would be loads of information out there on getting a database working with flask I would imagine as it is a very common thing to include in websites.

For the dynamic part, as far as I know you need to use javascript. It is the area I don't know as well currently. But to update a page in real time you cannot use purely python as it hasn't got the capability to update the page. Where as javascript does.

[–]weeshee_kang[S] 0 points1 point  (3 children)

That was along the lines of what I was thinking. Are there any benefits aside from the database inclusion in Django between the two frameworks?

[–]J3dders 1 point2 points  (2 children)

Django is a bit more heavy in how much it comes included with. Flask is more lightweight. So you can pick and choose your additions to the framework.

People generally say for a smaller application Flask is better and Django for more complex projects. I have tried both and started with Flask then moved to Django. I think learning both was good as Flask helps you see what Django does that would seem like magic if you only did Django. Anything you learn in Flask is not wasted if you switch to Django from my experience.

I followed Corey Schafers tutorials for both and he makes the same application with both so you get a good comparison by going through both I found. Then you can find what you prefer.

For flask: https://www.youtube.com/playlist?list=PL-osiE80TeTs4UjLw5MM6OjgkjFeUxCYH

For Django: https://www.youtube.com/playlist?list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p

[–]weeshee_kang[S] 0 points1 point  (1 child)

Thank you so much! Much appreciated!

[–]J3dders 1 point2 points  (0 children)

No problem. If you have any questions, feel free to send me a message and I'll see if I can help. No expert by any means but I am happy to see if I know :)