Skip to Content
HTML5, JavaScript, and jQuery 24-Hour Trainer
book

HTML5, JavaScript, and jQuery 24-Hour Trainer

by Dane Cameron
February 2015
Intermediate to advanced
408 pages
9h 41m
English
Wrox
Content preview from HTML5, JavaScript, and jQuery 24-Hour Trainer

Lesson 29

Web Servers

Up until this point in the book, you have been opening web pages in the browser directly from the file system. Obviously, if you intend your web pages to be viewed by others, you need to make them available over a network. The software used for exposing web pages over a network is a web server.

The term “web server” can either denote the hardware of the underlying server or the software running on that server. For the purposes of this lesson, the term “web server” will be used to denote the software, whereas “server” will be used to denote the hardware this software runs on.

The primary purpose of a web server is to expose a set of resources from the file system of a network enabled server via protocols such as HTTP and HTTPS. Resources are typically files such as HTML pages, images, and CSS files, to video and audio files.

In this lesson, you will migrate the web application developed so far to a web server. You are doing this for two main reasons:

  • To give you an understanding of how a web server works: Any web page or web ­application you develop will be uploaded eventually to a web server, so it is useful to gain some understanding of how they work, and how to configure one.
  • Many of the APIs introduced in this section ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Realtime Web Apps: With HTML5 WebSocket, PHP, and jQuery

Realtime Web Apps: With HTML5 WebSocket, PHP, and jQuery

Jason Lengstorf, Phil Leggetter
jQuery in Action, Third Edition

jQuery in Action, Third Edition

Aurelio De Rosa, Yehuda Katz, Bear Bibeault

Publisher Resources

ISBN: 9781119001171Purchase book