In this chapter, we will look at how we can use our Raspberry Pi as a web server. A number of topics are covered in this chapter, including:
The Hypertext Transport Protocol
Third party web servers
Writing Python-based web applications
Connecting to a SQLite data
We will start by looking at how a web server works and then the third-party software on the market. Following this, we will write a simple web server in Python that displays some HTML content.
Next, we will integrate a small database and display the data. Finally, we will wrap up by looking at what we have learned.
Let's start by reviewing what a web server is and what the Hypertext Transport Protocol that drives traffic to it is.