From the course: Introduction to Python: Learn How to Program Today with Python by Pearson

Unlock this course with a free trial

Join today to access over 25,400 courses taught by industry experts.

Look at the anatomy of a web app

Look at the anatomy of a web app

Before we get started actually building our web app, I wanted to talk a bit about what the different pieces are, because I remember when I was building it one for the first time, I was confused by just how much stuff was going on and what fit in where. Some of the components of a web app are going to be the front end, and this is what the user sees, and that is what is going to be displayed in your browser. The contents of a web page are written in HTML, the styling of it is done in CSS, and then any in-page interactions that don't get sent to the server, that's all in JavaScript. Then you've got the back-end. This is the part that processes the logic on the server. That's where we're going to be using Python and the Flask framework to build our web application. That's in the backend. So the backend has the server, which is like a computer that controls the logic. And then the backend also contains a database potentially, which is where you can store data on the server so that the…

Contents