30 h

Duration

English

Language

Flask for Python

OBJECTIVEs:

Course features:

PRE-REQUISITES:

Learning Path

  • Overview of Flask
    – Introduction to web frameworks
    – Flask’s features and architecture
    – Flask vs. Django: Key differences
  • Setting Up the Environment
    – Installing Python and Flask
    – Understanding the Flask project structure
    – Creating your first Flask application
  • Routing in Flask
    – URL routing and dynamic URLs
    – Working with route parameters
  • Flask Views
    – Function-based views
    – Using request and response objects
    – Returning HTML, JSON, and other response types
  • Jinja2 Templating Engine
    – Introduction to Jinja2 syntax
    – Template inheritance and reusability
    – Rendering templates with context data
  • Working with Static Files
    – Serving CSS, JavaScript, and images
    – Creating and managing a static folder
  • Handling Forms
    – Creating and processing HTML forms
    – Flask-WTF for form validation
    – Handling GET and POST requests
  • Session Management
    – Working with cookies and sessions
    – Implementing CSRF protection
  • Connecting Flask to Databases
    – Using SQLite, PostgreSQL, and MySQL
    – Introduction to SQLAlchemy ORM
    – Creating and managing models
  • Database Migrations
    – Using Flask-Migrate for migrations
    – Performing CRUD operations
  • Understanding Flask Blueprints
    – Structuring large Flask applications
    – Creating and registering blueprints
    – Using blueprints for modular application design
  • User Authentication
    – Implementing user login, logout, and registration
    – Managing user sessions
    – Role-based access control and permissions
  • Using Flask-Login
    – Integrating Flask-Login for session management
    – Customizing user models and authentication flows
  • Deploying Flask Applications
    – Deployment on Heroku, AWS, and other platforms
    – Configuring the application for different environments
  • Flask Best Practices
    – Security best practices for Flask applications
    – Testing Flask applications using unittest and pytest
    – Performance optimization and scaling

LET'S SCHEDULE
A DEMO!