Answer the question
In order to leave comments, you need to log in
Which Python framework to choose for linking with Vue?
From time to time I make small web applications for myself. I'm not a pro, this is a hobby, so the topic of making money on programming is not interesting for my uncle. I used to do it with PHP + Laravel. Yes, the framework is great for small projects, but the launch is fast, and I need this more than quality and speed.
Now I’m developing in Python and Vue (that’s how it should be!) And I’m looking for a convenient, simple and functional framework (yes, I’m one of those shit coders who, without really learning the language, immediately climb into frameworks, etc., but I don’t climb into the profession, I’m for myself) . I tried Django, but it didn’t work, it’s too complicated where it’s not necessary, for example, it’s quite complicated to start, but it doesn’t know how to do many seemingly simple things after Laravel.
I'm looking at flask, but can you dissuade me right away and offer alternatives? Preferably with more or less good documentation and community.
Since I want to do the front on Vue, I need an API and ORM from the framework basically.
Disclaimer. REST API theme . Which Python framework to choose for the backend? What do you use? was reading. But firstly, time has passed, secondly, slightly different requirements, thirdly, there are not so many answers, a few extra opinions are not superfluous.
Answer the question
In order to leave comments, you need to log in
Why did you decide to score on Django? MVC is a very convenient architecture for developing and separating the back from the front, and the framework has divided everything into modules for you. And what can Django "not be able to do"? :) Answer, I even became interested.
You can choose between Flask and Bottle. Both work on Werkzeug, on both you need to do everything yourself with pens, through force and through pain (but Django has already done everything for you).
There is also CherryPy, but somehow I did not use it. The demo on the site looks nice, clean, but I don’t know what the functionality is.
In such giants as Tornado you should not climb at all. This is for crazy projects/developers.
VERDICT: Django is a theme, don't trust anyone, not even your first impression :)
If you didn’t have enough functionality in django, then where is flask ... it’s generally empty =)
Django is perfect, and a couple of evenings is enough to figure it out.
If the result and the development process are important, then the flask. If shmyak-shmyak and ready, then dzhanga. Flask is handy in simple applications and easily extends to complex ones. Junga components lag behind those of the Flask. Template engine and ORM in the first place. Flask is explicit and transparent, i.e. python style. Janga gained popularity with the speed of development, as the cmsku installed, configured and ready. Unlike Flask, Junga is a framework in every sense of the word, which is convenient for employers - change developers like gloves and don't know any problems. Flask has a flexible architecture, which gives freedom and opportunities to the developer, and therefore it is more difficult to put it on the pipeline.
then the framework needs an API and an ORM
You don't need Django, but Django REST framework.
I'm not a pro either, but Django REST is very easy
yes, I'm one of those shitty coders who, without having really studied the language, immediately climb into frameworks, etc.
The easiest way to use Python is to use Django + Django REST framework. They are really very simple if you do something typical.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question