In programming language, a framework is a collection of packages that allows the developer to write applications without having to handle such low-level details as protocol as it's already handled by the framework. The framework is a platform for developers to develop software applications, providing generic features that can be selectively changed by an additional user.
It provides a foundation on which software developers can build programs for a specific platform.
Basically, the framework makes the work of a developer easier by serving as a support for the building of that particular software.
Importance of Framework: why do we use framework?
Framework comes with some functional modules that are already tested hence, are very reliable. A framework is a pact of quality, upgradability and maintainability. Most frameworks are open source software which makes the upgradability and maintainability more versatile. There is always a new version or an upgraded version of frameworks.
Our main focus in this article is web frameworks in Python.
Python is one of the simplest and powerful programming language among other programming language available. However, Python doesn’t have many built-in features. Therefore to speed up tasks and take care of the complexities of execution, developers use frameworks.
Types of Framework in Python
There are three main types of frameworks for Python, they are:
Full-Stack Frameworks: Using a Full-stack Framework you can build the entire web application, from front end user interface to back end services and databases.
Micro Frameworks: Micro-frameworks are small, easy to understand, and easy to use. Most suitable for developing small projects. This provides only the component set required for building an application.
Asynchronous Frameworks: Most recent type of Python framework. It’s the same as Micro Frameworks with the ability to handle a set of concurrent connections.
There are different examples of framework in Python, some of the example are listed below:
Django and Flask seem to be the most popular frameworks we use in python. I hope you now know other frameworks in Python. You can click on each to learn more about each framework.
I hope you find this article helpful. Feel free to drop your comment below