1. Home >
  2. Apps >
  3. Groups >

Explain what is Flask & its benefits?

Question asked by Durgesh Srivastava in #Python on Feb 21, 2020
Durgesh Srivastava
Durgesh Srivastava · Feb 21, 2020
Rank C1 - EXPERT

in python what is flask,what is use of it?

Posted in: #Python
Noothan Kumar
Noothan Kumar · Feb 21, 2020
Rank C1 - EXPERT

Flask is a web framework. Flask allows you to build a web application by providing tools, libraries, and technologies. This web application will be a web page, a wiki, or a big web-based calendar application or commercial website. Flask is classified into a micro-framework that means it has little to no dependencies on external libraries. There are some pros and cons. Pros mean there are little dependencies to upgrade and to watch security bugs and cons means by adding the plugin you will increase the dependencies. Flask has two dependencies, they are-

Werkzeug a WSGI utility library

Jinja2 is a template engine

Flask for Python based on Werkzeug, jinja2, and good intention.

Venkat Sai Nakkina
Venkat Sai Nakkina · Apr 5, 2020
Rank C3 - EXPERT

Flask is an API of Python that allows to build up web-applications. Python has a number of web frameworks that can be used to create web apps and APIs. The most well-known is Django, a framework that has a set project structure and which includes many built-in tools. This can save time and effort for experienced programmers, but can be overwhelming. Flask applications tend to be written on a blank canvas, so to speak, and so are more suited to a contained application such as our prototype API.  

        Flask’s framework is more explicit than Django’s framework and is also easier to learn because it have less base code to implement a simple web-Application. Flask is based on WSGI(Web Server Gateway Interface) toolkit and Jinja2 template engine. 

You must log-in or sign-up to reply to this post.

Click to Log-In or Sign-Up