Learn-Write-Repeat / Open-contributions

This Repository is for Learning purpose, and open contributions under DevIncept program.
https://dcp.devincept.com/
MIT License
49 stars 445 forks source link

Application in Flask #236

Open rojatv5 opened 3 years ago

rojatv5 commented 3 years ago

What is Flask Python

Flask is a web framework, it’s a Python module that lets you develop web applications easily. It’s has a small and easy-to-extend core: it’s a microframework that doesn’t include an ORM (Object Relational Manager) or such features.

It does have many cool features like routing, template engine. It is a WSGI web app framework.

Related course: Python Flask: Create Web Apps with Flask

What is a Web Framework? A Web Application Framework or a simply a Web Framework represents a collection of libraries and modules that enable web application developers to write applications without worrying about low-level details such as protocol, thread management, and so on.

What is Flask? Flask is a web application framework written in Python. It was developed by Armin Ronacher, who led a team of international Python enthusiasts called Poocco. Flask is based on the Werkzeg WSGI toolkit and the Jinja2 template engine. Both are Pocco projects.

WSGI The Web Server Gateway Interface (Web Server Gateway Interface, WSGI) has been used as a standard for Python web application development. WSGI is the specification of a common interface between web servers and web applications.

Werkzeug Werkzeug is a WSGI toolkit that implements requests, response objects, and utility functions. This enables a web frame to be built on it. The Flask framework uses Werkzeg as one of its bases.

jinja2 jinja2 is a popular template engine for Python. A web template system combines a template with a specific data source to render a dynamic web page.

Flask 1 .docx http://127.0.0.1:5000/ shows the output "Hello World"