Python Framework

        


                Python is a high-level programming language and now it is a hot topic in the market because of the booming technology called Artificial Intelligence and machine learning, python is not became limited here it has expanded its area in creating desktop GUI applications , web applications and also in the field of web development.

So, Now in this topic we are going to discuss about some of the great techniques which make python popular in the field of web development. That is called as Framework. 

Ok so let's dive into the topic FRAMEWORK.

        Contents: -

        What is Framework?

        Use/Operations of Frameworks: -

        Advantages of Framework: -

        Top 5 Framework in python: -

What is Framework ?

           A Framework is a collection of  modules or packages which helps developers to write web applications. While working with framework we don't need to worry about Sockets, protocols, and threads. it became so easy because using some package and some codes it will give you complete package / sort of codes and folders which is required for web development.

    It make our development and deployment so easy with some predefined and existing modules and packages.

    Frameworks automate the common folder structure and codes to make development easier and developer should give more focus on logic and hard coding.

Use/Operations of Frameworks : -

        If i am going to tell about the operations its not limited on the area of web development it has lot of functionalities which helps us to build a good and secure web application. so here are the list of some important operations that we should know.

  • Url Routing: - Routing is a mechanism that maps the url and redirect to the web page from framework. Ok so let's Describe into layman term that for example a user tries to visit google.com. User have no idea in the backend how it working but as we are developer we should know that when a user visiting a site it will hit to a particular code/program which is running in the backend. and how it will happen. It will happen through routing. That particular url will be redirected to a backend program using URL routing. and these frameworks will give simple routing mechanism to work on.
  • Input form handling and validation.: -  Suppose you have a form in your application and that takes input and then save it somewhere like in any database or in file. and then also the task to validate that. so basically it is the method of get and post. and because of framework it will automatically handle all those things by itself.
  • Output formats with template engine: - As we know web templates has different formats like HTML, CSS, JS and also other template engine formats like xml,json these all formats automatically be handled by these python framework.
  • Database Connection: - Frameworks also handle database connections using some syntax.
  • Web Security: - Frameworks also give secure forms like get post and data access from server it gives secure from like CSRF, Sql Injection, cross-site scripting.
  • Seesion Storage and retrival: - also it not store any user data in its cache or anywhere else so on that basis also it is secure.

Advantages of frameworks: -

1.      Open-source: - its free and open source that it can available easily
2.      Good documentation: - as python community is so big so documentations easily can be available.
3.      Efficient: - its own state it works really well and efficient.
4.      Secure: - As we have seen it has those functionalities that make application secure.
5.      Integration: - Integration also so easy that we can include packages and integrate with multiple applications.
6.      Re-usability: - we can reuse the codes in different platforms. And also other developers can easily maintain and build the application.
7.      Using framework instead of library it has flexibility. That it works like a tool so easy to perform operations.

TOP 5 Frameworks in python: -

In python there are lot of frameworks present but from them I just wanted to list out here only top 5 frameworks those are very popular.

1.      Django

2.      Flask

3.      Web2py

4.      Bottle

5.      CherryPy

So lets discuss about it in my next blog. Till then take care and be safe.

 


Comments

Popular posts from this blog

Python Built -In Functions

Feature Extraction From Audio| Audio feature extraction,| Feature matching,| speech recognition

Deploy django on ubuntu vps | Deploy python django on server | Make live your python app In ubuntu server | django on server

Setup a Ubuntu VPS | Setup a Server | Make ready a server for python deployment | deploy python using apache and wsgi |

Edge Computing Vs Artificial Intelligence

What is server | Types of server | Servers

Resume Parser Using Spacy