Client‐Server Architecture - Dean-116/SYS-140-dean GitHub Wiki

  1. What is Client-Server architecture?

It is a system where the host delivers and manages most of the resources/services that clients request. It is known as a network computing model or client server network. All request are handled over a network.

  1. Where does PHP and ASP code gets executed? Can you access to code from these programming languages from your web browser?

The code is processed on a server and executed on the webserver. You can see ASP in your web browser but not PHP.

  1. Where does JavaScript code gets executed? Can you access to code from this programming language from your web browser?

In the execution context. You can access it in your browser.

  1. What is client-side storage? What is the difference between cookies and IndexedDB?

It allows user to store data on a client. Cookies are easy to and are widely used, they are also more prone to attacks. IndexedDB is more powerful and can store more structured data, but is harder to use.