Is Flask only used by beginners?

Asked

Viewed 530 times

1

Flask is only recommended for those who have no experience in web frameworks, i.e., for small projects (academic projects) or is recommended to develop large projects (industrial projects)?

  • 3

    In-house experience, I found it quite compact and simple, but with few resources and little written material on how to make large systems in it. Anyway, I find valid yes for both those who are starting and those who already have more experience.

  • 1

    I think flask even has a lot of resources and a large community.

  • 1

    In his case the "scalability" goes from knowledge and other frameworks that will accompany him, he does the important part, creates "routes" (custom urls and points them to the desired answers), supports templates, debug, session and more on: http://flask.pocoo.org/docs/0.10/ -- Yes it does what a basic web framework should do and the business rules part is very variant and this is actually something that is more dependent on you developer than framework and even front-end technologies, but all this is very based on opinions...

  • 1

    People place a lot of responsibility on the framework, when in fact much of the responsibility of the team they develop, such as collecting the "histories", until the UML (if use) among other design standards and in my view this yes will define the real quality of the product (and of course a "leading developer" who really knows the language and the tools).

  • Although this question is classified as a question of opinion, I do not think it is. I asked this question to the community because I currently use flask professionally and I am super satisfied, but I still see the growth of JS frameworks and the use of Django by industry. My doubt is present in the following aspect, why flask stay out of the industry? by ignorance? or is more a good technology that got left out because of the trend of js?

1 answer

7

Not at all. Flask is a leaner framework with fewer opinions, which makes it easier to extend (and understand!). It’s a good way to get into the world of web development with Python but it’s not just a toy.

Often you don’t need to develop a huge system on the server because most of the functionality runs on the browser, single-page type applications (SPA) using Angular, React, Backbone, etc. In many of these cases all you need is a framework that makes it possible to create a few simple pages and a REST API to power the calls that come from Javascript. In such cases I like very much to use Flask with Flask-Restful.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.