codeburst

Bursts of code to power through your day. Web Development articles, tutorials, and news.

Follow publication

Flask for Dummies-a beginners’ guide to Flask(Part Uno!)

If you ever wondered what developers were using a liquid container for. . .

Revannth V
codeburst
Published in
5 min readFeb 3, 2018

--

Who is this for?

If you ever wished to develop a web application using python but didnt know how, then this is exactly for you! If you ever wondered why developers are increasingly migrating to flask, then this is for you! If you are bored and want to learn something exciting, then this is definitely for you! I would recommend going through this python crash course to help you revise your concepts. But if you are a seasoned programmer, then read on.

What is Flask?

Before telling you what flask is, let me tell you what flask isn’t,:

  1. It isn’t a backend service.
  2. It doesn’t have batteries included(For new developers: Flask doesn’t do anything for you, but expects you to write code from scratch).
  3. It isn’t a 1.0 versioned tool(Any library with a version higher than 1.0 is generally considered deployable for production).

Don’t leave the article just yet! These aren’t the disadvantages of flask, but in-fact, things that make it even more attractive. Read on to understand why!

Flask is a micro framework for python which is based on Werkzeug(dont try pronouncing if you cant read German) and Jinja 2.

The routing, debugging, and Web Server Gateway Interface (WSGI) subsystems come from Werkzeug while the templating comes from Jinja. Both of these were created by the author of Flask and hence they are licensed for.

To completely understand what a flask framework is, have a look at:

Picture owned by them.

In simple words, a framework is anything that helps you complete your work faster. For example, if I were to tell you to create a python server that could host a website; you would be able to do it in just under 120 lines of python code using several libraries for tasks such as, mapping a function to a route(url), writing socket functions for protocols and finally displaying…

--

--

Published in codeburst

Bursts of code to power through your day. Web Development articles, tutorials, and news.

Responses (4)

Write a response