Book Image

BeagleBone By Example

By : Pei JIA, Jayakarthigeyan Prabakar, Alexander Hiam
Book Image

BeagleBone By Example

By: Pei JIA, Jayakarthigeyan Prabakar, Alexander Hiam

Overview of this book

BeagleBone is a low cost, community-supported development platform to develop a variety of electronic projects. This book will introduce you to BeagleBone and get you building fun, cool, and innovative projects with it. Start with the specifications of BeagleBone Black and its operating systems, then get to grips with the GPIOs available in BeagleBone Black. Work through four types of exciting projects: building real-time physical computing systems, home automation, image processing for a security system, and building your own tele-controlled robot and learn the fundamentals of a variety of projects in a single book. By the end of this book, you will be able to write code for BeagleBone in order to operate hardware and impart decision-making capabilities with the help of efficient coding in Python.
Table of Contents (17 chapters)
BeagleBone By Example
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Introduction to web servers


Web servers are computers that are connected to the Internet, or intranet, to serve the requests that comes from the web browser of client computers or mobile devices. To understand this better, look at the following picture:

So, as shown in the preceding picture, a webserver is basically the computer which hosts the webpages and does the processing based on the requests sent from the web browser on the client's device. The client's device can be either a PC, laptop, mobile phone, tablet, or anything else which has a web browser, or a Linux shell that can make HTTP requests.

Go ahead and look at the following picture to understand this better:

Now in this you can see that multiple clients are connected to multiple servers via the Internet, that is the World Wide Web (WWW), TCP/IP Network.

What is TCP/IP? What exactly happens when you type a URL into your browser and hit enter?

Look at the following picture to understand more:

Similarly, in our system we have a webserver...