The need for talented developers is greater than ever before. A basic grounding in a framework as simple, powerful, and easy-to-learn as Flask—a Python micro framework—can help launch your programming career. Get a basic grounding in the fundamental concepts of web development, as well as the hands-on experience required to successfully build web apps with Flask, in this course with Packt trainer Lalith Polepeddi.
It starts with turning your computer into a modern development machine. Then learn everything you need to know about Flask: models, views, controllers, web templates, forms, validation, and API interactions. Lalith shows how to apply these concepts and develop a powerful database-backed Flask app, including a full authentication system. Finally, Lalith shows how to extend the app's functionality by integrating it with third-party APIs. When you finish this course, you will be fully equipped to build your very own custom web apps with Flash.
- Setting up your development environment
- Creating a homepage
- Building templates
- Routing with Flask
- Deploying to Heroku
- Storing data
- Creating and rendering forms
- Validating form data
- Creating a user authentication system for login and logout
- Implementing location-based app features
Skill Level Beginner
(chiming melody) - [Lalith] Hi, I'm Lalith Polepeddi, and welcome to Learning Flask by Packt Publishing. I've been doing web development for the past five years. I picked up Flask three years ago and I've really enjoyed how quick it is to learn, and how powerful it can be when building complex web apps. I've written articles about using Flask, and in addition to that I've done several side projects that use Flask as well.
The purpose of this course is to teach you how to develop custom web applications using the Flask web framework. To demonstrate Flask in action we'll build a location base service. We'll take what we learn in each section and keep adding more features to this app. And by the end of this course you'll have built a Flask app that lets users sign up, log in, and log out. As well as display places of interest around a particular location. There are seven sections in this course. In the first section we'll set up a development environment.
There are a few tools needed to build web apps like, a text editor, version control and a database. So we'll get all that set up here. In the second section, we'll begin building the location base service, starting with just the home page. In section three we'll add a database to the app and start storing data. In sections four, five, and six, we'll build an authentication system and authorization system from scratch. We'll let users sign up, log in, and log out of the app, as well as control access to certain pages, depending on whether a user is logged in.
Finally, in section seven, we'll add location based features to this app. We'll add a map and data from a Wikipedia API to do this. Before beginning, you should have done some work with Python, and be familiar with HTML and CSS. If you're already familiar with that, you're ready for this course.