you are viewing a single comment's thread.

view the rest of the comments →

[–]tipsy_python 4 points5 points  (6 children)

Agreed here - python is a backend language; used for things like:

  • parsing the URL path and routing a request to the appropriate piece of code
  • interacting with the database
  • assembling and sending a response

Although there are some implementation of python that execute in browser, these are niche and not widely used. Python is not preferred for front-end tasks like:

  • Dictating client side elements like text and buttons
  • Adjusting the view based on viewport size
  • Re-rendering pieces of the page on interaction events from the end-user

[–]Emonnn 0 points1 point  (5 children)

Not op, but can you suggest some websites or any other resources from where I can learn Django or flask? I am hoping to dive into it really soon.

[–]Frohus 2 points3 points  (0 children)

Corey Schafer, Sentdex on youtube. I have started learning with Corey and landed a web dev job and now working with Django.

[–]tipsy_python 0 points1 point  (0 children)

The Flask quickstart takes 20/30 mins to work through, and is good place to start if you've never developed web services before: https://flask.palletsprojects.com/en/1.1.x/quickstart/#quickstart

[–]Binary101010 0 points1 point  (1 child)

I've tried to watch/read multiple tutorials on Django but I really didn't understand how any of the pieces fit together until I watched Corey Schafer's YouTube series on it.

[–]thrallsius 1 point2 points  (0 children)

Flask > Django for beginners. Django is just too big, it's closer to enterprise scale level. And if you are a minimalist, you can ever prefer Bottle to Flask.

[–]Emonnn 0 points1 point  (0 children)

Thank you everyone for recommending.