What is Flask?

Flask is a python micro web framework used by developers to develop websites. The framework is best utilized to tackle one task, perform it well, and be integrated into larger projects. Flask includes various built-in properties such as the templating language Jinja2, along with URL routing and web site security. The built-in properties allow users to quickly begin developing with Flask. Even though Flask has many out of the box features, the preferences can be changed to make the framework more flexible to the developer’s needs. The major weakness to Flask’s framework is the inability to scale beyond small programs. Flask cannot support large websites with high-level traffic like some of its competitors Django and Pyramid. But, high functionality and scalability has never been the goal of Flask. Overall Flask is a framework for small web projects that are fast, reliable, and quick to develop. If you are looking for a framework on which to develop the next big social media web site, Flask is not for you.

Helpful Resources for Flask

Alternatives to Flask

There are alternatives available if Flask does not fit your requirements exactly. Some of the more commonly used alternatives are:

Django: a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Django can be scaled far beyond the limits of Flask. Django comes with everything pre-set, which is great for a developer the quickly start designing a basic website.

Pyramid: The Start Small, Finish Big, and Stay Finished Framework. Better for a more experienced programmer with specific requirements. The flexible framework allows developers to make decisions for what best suits their needs.

Bottle: a fast, simple and lightweight WSGI micro web-framework for Python.

courses/cs397/winter2017/flask.txt · Last modified: 2017/05/05 12:07 by admin
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0