Answer the question
In order to leave comments, you need to log in
Python web framework
I’m slowly getting to grips with python and I wanted to write a small project for the web, I didn’t have to work with frameworks for python before, advise what to look in the direction of. Does it make sense to start tinkering with django right away or look at something smaller first?
Answer the question
In order to leave comments, you need to log in
You can easily create a website with Django. This is a good framework.
But I think it's worth trying different solutions. Just to broaden my horizons. I personally liked Flask / Werkzeug more than Django.
I recommend flask - flask
Excellent documentation, no magic, support for different databases, about 30 additions.
Watch the presentation
The young man asked the old man whether to marry or not to marry? To which the elder replied, marry or don’t marry, but you’ll regret it later anyway ...
If there was an ideal framework, then everyone would use only it ...
If you need to quickly create useful functionality, then Django. If you want "deep diving" and with great creative abilities - then Flask, CorePost, Twisted + Flask.
Why not django? I don’t do it myself, but all the Pythonists I know started with it. Everyone is happy.
The first framework I learned is django. In parallel with him, he studied the python himself. If you are not very strong in python, I would advise you to start with django, because. he does a lot for you.
Subsequently, I switched to flask and now I'm "playing around" with bottle. Both are microframeworks and are similar in many ways. If you have knowledge of python, then start with them.
I started with small frameworks myself, but I advise you to start with Django.
Try different ones. Unlike Ruby, Python has a bunch of different frameworks. It is not necessary to read with Django. You can try "smaller" frameworks. Create a mini-project on each, I promise it will be much more enjoyable than several weeks of fiddling with Django :)
cherrypy.org/
webpy.org/
flask.pocoo.org/
bottlepy.org/
I would recommend django, it has great documentation, tons of batteries, huge community, tons of stuff all over the internet. purely for scale comparison:
$ pip search django | wc -l
2373
$ pip search pyramid | wc -l
90
$ pip search flask | wc -l
119
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question