How Does Server-Side Differ from Client-Side?

Server-side JavaScript is not only different from client-side because of the environment in which it is interpreted, it also has different concepts that are applied. These differences can be placed into two major categories, each of which will be further broken down in this chapter. The initial levels are

  • Actual programming differences from client-side

  • Compiling your scripts into .web byte code files before they are deployed

As a developer, you should be aware of these two items before you begin writing server-side applications. Server-side is conceptually different from client-side, even though much of the language semantics and syntax are shared.

Programming Differences

The first item to analyze ...

Get Pure JavaScript 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.