What Kind of Web Sites Can You Build with Flask?

Nick Janetakis
A free video tutorial from Nick Janetakis
Developer / Docker Captain / Teacher
4.6 instructor rating • 5 courses • 32,648 students

Learn more from the full course

The Build a SAAS App with Flask Course

Build a real world web app with Python, Flask and Docker. Learn to accept payments with Stripe and so much more.

09:47:55 of on-demand video • Updated September 2020

  • See how a large application gets built up in stages
  • Build complex web applications and websites
  • Bid for Flask / web development freelance work
  • Confidence to apply for Flask positions at software companies
  • Proficiency with server-side development and databases
  • An awesome Docker based development environment
English In this lecture you'll learn what type of web sites you can build with flask. But before we get into that we need to talk about how web sites differ. We'll do this by talking about real world web site ideas. For example let's say that you wanted to throw up a landing page for a new startup. It would be composed of a homepage with an email sign up form and a couple of other pages to talk about your product. There's nothing fancy going on here at all. In fact if you leveraged a third party email newsletter service you wouldn't even need to use a web framework to create a page like this. But for argument's sake let's say that you have plans to expand on this site in the future so you decide to use a web framework for it. Flask is a great fit here because you'll be able to leverage the power of ginger to your age to male templates and flask makes it easy to deal with form submissions. You could get something like this going in flasks with a single file that's about 75 lines long. That's not bad at all. You can whip something like this up in a few minutes and then concentrate your efforts on making the HMO templates look pretty. Now let's say that you want to create a more complex web site. Perhaps it handles user registrations and allows you to surf protected files to users who sign up. Well flask is a great fit here too. Python has one of the best database or M libraries around. And there are fasc extensions to hook it up with flask in a painless way. Oh and if you don't know what a database or M is don't worry we'll get into that later on in this course . Now let's say that your application has different needs and you want to create an API backend with a single page web application front end that uses whatever javascript framework that you want. Well flask is a perfect fit for that as well. There's a bunch of great API libraries to choose from. There's really no limit to what you can do with flask. It has all the pieces you need to write complex and scalable web applications. The best part about it is it tries to stay out of your way and give you as much control as possible while still offering a few sane opinions. You might be thinking well how does Flast compare to other web frameworks like Dangeau or Ruby on Rails . That's a good question and I'll see you in the next lecture where we go over that. I'll see you then