Flask is a web application framework written in Python. Often referred to as a micro framework, it aims to keep the core of an application simple yet extensible. Flask is based on the Werkzeug WSGI toolkit (Web Server Gateway Interface toolkit which implements requests, response objects, and other utility functions) and Jinja2 template engine (a web templating system which combines a template with a certain data source to render dynamic web pages), both of which are Pocco projects.
The core competencies include hands-on experience on HTML and Python, Rule Parameters, ability to use the url_for() function, familiarity with Flask HTTP methods, among others.
- Hands-on experience on HTML and Python - Experience with HTML and Python is a prerequisite for Flask.
- Routing - Understanding of how modern web frameworks use the routing technique to help a user remember application URLs. Ability to work with the route() decorator in Flask.
- Variable Rules and Rule Parameters - Ability to build a URL dynamically, by adding variable parts to the rule parameter, and passing the variable name as a keyword argument to the function with which the rule is associated. Ability to construct rules using int, float and path converters.
- Flask – URL Building - Ability to use the url_for() function, which is very useful for dynamically building a URL for a specific function.
- HTTP methods - Familiarity with Flask HTTP methods and their functionality, including, POST, GET, HEAD, PUT, DELETE, and so on.