Micro-Framework: Presented By-Khirod Kumar Behera
Micro-Framework: Presented By-Khirod Kumar Behera
• Introduction on flask
• Some other frameworks
• Components in flask
• Some of the keywords we use in flask
• Features in flask
• Example of a simple hello-world flask application
• Pros and cons
• Conclusion
INTRODUCTION
Django. – (Web-Framework)
Flask. –(Micro-Framework)
Falcon. – (Restful API)
Tornado. –(Web Framework)
Pyramid. –(Flexible Framework)
COMPONENTS
• Werkzeug: -
• A toolkit for Web Server Gateway Interface (WSGI) applications
• Jinja: -
• It is a template engine for the Python programming language . it handles templates in a
sandbox.
KEYWORD USING IN FLASK
• WSGI: -It is a specification that describes how a web server communicates with web
applications
• UWSGI: -is a software application that "aims at developing a full stack for building
hosting services
• NGINX: - is open source software for web serving, reverse proxying, caching, load
balancing, media streaming, and more.
• APACHE: - is a free and open-source cross-platform web server software
• Gunicorn: -'Green Unicorn' is a Python WSGI HTTP Server for UNIX
FEATURES
Pros Cons
• Extremely limited in features
• Easy to get started • No database
• Not async-friendly
• Very customizable
• Limited support/documentation
• WSGI compatible
• Small core and easily extensible
• Routing URLs is easy
CONCLUSION
• Flask is a microframework very easy to use and mostly flexible and easy to understandable
but its really not supporting to complex programs.
• It can make crash the app as well as server as it cant handle the complex programs.
• From best of my knowledge flask is not for production purpose.
• But we can use it for development only.
Thank you