Advertisements
Advertisements
प्रश्न
Explain client side and server side scripting language.
दीर्घउत्तर
उत्तर
Web scripting languages are classified into two types, client-side and server-side scripting language.
-
Client-side Environment:
- The client-side environment used to run scripts is usually a browser.
- The processing takes place on the end-users computer.
- The source code is transferred from the webserver to the user’s computer over the internet and run directly in the browser,
- The scripting language needs to be enabled on the client computer. Sometimes if a user is conscious of security risks they may switch the scripting facility off. .
- When this is the case a message usually pops up to alert the user when the script Is attempting to run.
-
Server-side Environment:
- A server is a computer system that serves as a central repository of data and programs and is shared by clients
- The server-side environment that runs a scripting language is a web server.
- A user’s request is fulfilled by running a script directly on the webserver to generate dynamic HTML pages.
- This HTML is then sent to the client browser.
- It is usually used to provide interactive websites that interface to databases or other data stores on the server.
- This is different from client-side scripting where scripts are run by the viewing web browser, usually in JavaScript.
- The primary advantage to server-side scripting is the ability to highly customize the response based on the user’s requirements, access rights, or queries into data stores.
shaalaa.com
Client Server Architecture
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?