The Power of Webservers

Until now, we have focused on JavaScript programs, which run in a web browser. These programs can save information on the local computer and rely on the local computer for their system resources. This chapter will focus on programs that run on webservers—programs that save information to a remote server and rely on that webserver for much of the heavy lifting.

We touched briefly on webserver-based programs in Chapter 7 when we discussed submitting forms to webservers. However, in that chapter, once the information was sent from the web browser to the webserver, we didn't worry about it. Now we do; it's time to dig into the details of webserver programs.

You can use programs that run on webservers to enhance your JavaScript ...

Get The Book of JavaScript, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.