COMPUTER NETWORKING

APPLICATION LAYER

CLIENT SERVER PARADIGM

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is the main difference between client-side and server-side scripting?
A
Execution on the client
B
Execution on the server
C
Language used
D
Execution on both client and server
Explanation: 

Detailed explanation-1: -Client-side means that the processing takes place on the user’s computer. It requires browsers to run the scripts on the client machine without involving any processing on the server. Server-side means that the processing takes place on a web server.

Detailed explanation-2: -The primary function of server-side scripting is to manipulate and give access to the required database as per request. The client-side is used as the front end, where the user gets to see what we have browsed. The server-side is used as a back-end where data is processed and is not visible to the client user.

Detailed explanation-3: -Client-side development gathers input from users. For example, developers can use JavaScript to create forms that collect user input. Meanwhile, server-side development processes this input. For example, developers can use PHP to connect a database to a website and send user-inputted data to the database.

Detailed explanation-4: -A client-side event usually comes in the form of a tag and is sent directly from the client to Indicative or a tag manager (like Google Tag Manager). These tags are sent when an event like page view or button click is fired. A server-side event is an event that goes from a web server to Indicative.

There is 1 question to complete.