Misconception: Students may not realize that websites need and use servers to store, process, and deliver content to users’ browsers, causing struggles with the distinction between Server side vs. Client side.

  • Simply, Server side is code run on the server and client side is code run on the client’s machine, namely in the browser.
  • If you’re teaching with PHP, it is easier to explain this distinction because Server side vs. Client side is structurally important in this programming language.
    • PHP is a Server side language, however the Client side (the browser) makes requests a PHP file that the server run. Then the Client side is able to display the server-executed PHP.
    • Client side code and languages (like Javascript) is executed on the Client side, in the browser.

More about this tip

External Source

Interview with Cyndi Rader.