Building Data-Driven Web Apps with Flask and SQLAlchemy Transcripts
Chapter: Welcome to the course
Lecture: The technologies we will learn
0:00 Let's highlight just some of the key technologies
0:02 that you're going to learn as we go through this course.
0:05 No surprise, we're going to focus mainly on Flask.
0:08 So you're going to learn all about Flask
0:10 some of it's main features as well as some of the things
0:14 that you don't see too often in a lot of tutorials
0:16 and other places, but I think are super, super important.
0:20 Flask is great for serving up content
0:22 but it doesn't help to make it pretty.
0:24 So we're going to use Bootstrap to make a theme
0:27 for our site that looks quite a bit better than
0:31 what we just get out of the box with pure HTML.
0:34 We're going to need a data backend
0:35 and we're going to use a relational database
0:37 for most of our site, and we're going to use SQLAlchemy
0:40 to talk to that database.
0:42 So, we're going to take it easy and make set up
0:45 and whatnot easy on you and use SQLite
0:47 which is built in to Python
0:49 and then SQLAlchemy to talk to SQLite.
0:52 But all you got to do is change the connection string
0:53 to talk to something like Postgres.
0:56 Many many sites run on relational databases
0:59 but some don't, so we're also going to take all the code
1:02 in a specially designed patterns that we build up
1:05 throughout this course.
1:07 We're going to convert our data access layer
1:09 from SQLAlchemy over to MongoDB, using MongoEngine.
1:13 Why are we doing this?
1:14 Partly to offer up another alternative data backend.
1:17 If you want to use MongoDB, I love it.
1:19 It's a great database. You can use that.
1:22 But more importantly even to highlight the real power
1:26 some of these design patterns that are not specific
1:28 to Flask but I'm going to bring in to the course
1:31 things like view models and other certain abstractions
1:35 that will let us do that switch with almost no effort.
1:39 I mean we're talking minutes, maybe an hour
1:42 if you are doing this from scratch right.
1:44 A really really quick and easy and safe way
1:47 to switch from a relational database to a non-relational
1:50 database and I think you'll really appreciate
1:52 the design patterns after that.
1:55 Our editor of choice is going to be PyCharm so
1:58 PyCharm is really great at both being a Python editor
2:01 and web editor and we'll see that at work.
2:04 And finally when we talk about deployment
2:06 we're going to be using Ubuntu.
2:08 So you're going to learn a little bit about Linux
2:10 about uWSGI, about Nginx, how you deploy
2:12 all this stuff on the cloud and we're going to put
2:14 the web app that we build out there in the internet
2:17 for everyone to see and enjoy, at least temporarily.
2:21 Well this is just the highlights of what you're going to learn
2:23 but I think these are all pretty awesome things
2:25 to get good at.