Skip to content

Mastering Flash [Video], by Packt Publishing

License

Notifications You must be signed in to change notification settings

PacktPublishing/Mastering-Flask-v

Repository files navigation

Mastering Flask [Video]

This is the code repository for Mastering Flask [Video], published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.

About the Video Course

Flask is a small and powerful web development framework for Python. It is called a micro-framework as it aims to keep the core simple but extensible. Even though it’s called a micro-framework, it is no way lacking in functionality, and allows you to develop applications very quickly, primarily through the development of a small codebase.

This course will take you deep into the world of using Flask and its ecosystem of extensions to create web applications. We’ll walk through creating a simple IMDB clone from scratch. We’ll start by creating the boilerplate code and use Virtualenv to create an isolated development environment. You’ll then learn to work with the database using SQLAlchemy. After that, we’ll display our data to the end user using WTForms.

We’ll restructure and modularize our code using Blueprints. Our site will be secured using the extensions Flask-Login and Flask-Principal. After that, we’ll create a RESTful API of our app. We’ll then give admin functionality and extend our app using various flask extensions. We’ll incorporate Celery to make our tasks asynchronous. We’ll walk you through performing unit test of our app, and then test our SQLAlchemy models. We’ll also test the URLs and finally, we’ll test how much of our code isn’t being tested. All these tests will make our app secure. Finally, we’ll deploy our Flask app to various options that are available.

This course will give you an in-depth understanding of how to use Flask and its strong extensibility for more complex web applications.

What You Will Learn

  • Build a real-world application that adheres to best practices using Flask
  • Use Virtualenv to incorporate dependency isolation
  • Work with SQLAlchemy while learning database concepts
  • See how to customize Jinja templates to work with dynamic pages
  • Create secure forms using WTForms
  • Modularize your code with Blueprints
  • Work with Flask Login and Flask Principal to secure our app
  • Add a REST API to our app to allow programmers to easily build off the platform the app is building
  • Create an administrator interface using Flask Admin
  • Speed up the working of the app with Flask Debug Toolbar, Flask Cache, and Flask Assets
  • Implement asynchronous programming using Celery
  • Make the app robust by performing various tests on it
  • Deploy the app to platforms such as AWS, Heroku, and simple VPS with Nginx and Gunicorn

Instructions and Navigation

Assumed Knowledge

To fully benefit from the coverage included in this course, you will need:
This fast-paced, example-based video course starts with an advanced overview of Flask core concepts, moves on to advanced functionality, and finishes up with a running application that can serve as a blueprint for further studying or production development.

Technical Requirements

This course has the following software requirements:
Minimum Hardware Requirements For successful completion of this course, students will require the computer systems with at least the following:

OS: Windows 10,8 or 7, Ubuntu, OSX

Processor: any process will do

Memory: enough to run your machine will be fine

Storage: just under 5gb free

Software Requirements

Operating system: Windows 10,8 or 7, Ubuntu, OSX

Browser: Chrome, Firefox

Atom IDE, VSCode, Sublime text, PyCharm

Python 2.7 and Python 3.6

Useful links

VSCode: https://code.visualstudio.com/

Atom: https://atom.io/

Sublime Text: https://www.sublimetext.com/

Python: https://www.python.org/

Related Products

About

Mastering Flash [Video], by Packt Publishing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •