
What is Flask?
Flask is a micro web framework written in Python. It is classified as a microframework because it does not require particular tools or libraries. It has no database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide common functions. However, Flask supports extensions that can add application features as if they were implemented in Flask itself. Extensions exist for object-relational mappers, form validation, upload handling, various open authentication technologies and several common framework related tools. Extensions are updated far more frequently than the core Flask program.
Applications that use the Flask framework include Pinterest, LinkedIn, and the community web page for Flask itself.
More topics covered:
- @app.route
- parameters
- template + static
- html from template
- redirect
- url_for
- render_template
- python code inside HTML
- form submitting
- input type number, text, date, etc.
Links:
- Class code: first Flask
- Class code: Flask advanced
- Flask documentation
- Free flask hosting – in cloud!
- Lesson Summary Video!
