Introduction to Flask
Flask is a lightweight, micro web development framework for Python. Compared to the higher-level frameworks, it’s much more flexible and, best of all, it doesn’t get in your way as you’re building out you’re web site. You can add complexity as your application grows. It’s great for beginners who want to better understand the shortcuts that larger, high-level web frameworks employ.
What’s more, for those learning Python web development, Flask provides a perfect transition as you move from the basics of CGI-programming to modern web development. You can learn on the go by adding more complicated components as you gain the skills. You can even start out by writing everything in a single .py file, which is great for simple static sites - but once you start scaling you’ll want to split the scripts up and employ more of a MVC-style of development.
- Part 1 - Setting Up a Static Site: Tutorial / Video
- Part 2 - Creating a Login Page: Tutorial / Video
- Part 3 - Sessions, Login_required Decorator, Debugging: Tutorial / Video
- Part 4 - Databases: Tutorial / Video
- Part 5 - Deploying to PythonAnywhere Tutorial / Video
- Part 6 - Task Management Application (FlaskTaskr): Tutorial / Video
- Better organize code
- Add new tutorials