Clent-server




What is Client Side Scripting?


Code of computer programming on the web which is executed client-side, by the User's web browser, instead of server-side. Or
A code which is executed on user’s browser.

What is Server Side Scripting?


Programs interpreted by the web server when a web page is requested and the request may be any form like PHP, Asp and Jsp. Or
A code which is executed on Server on the Basis of Client requested.


Client side
Server side
The client-side environment used to run scripts is usually on a browser.
Example:-CSS,HTML,JAVAscript
The server-side environment that runs a scripting language is a web server.
Example:PHP,JSP,ASP.net
The scripting language needs to be enabled on the client computer.
This is different from client-side scripting
where scripts are run by the viewing web browser, usually in JavaScript.
Client side programming has mostly to do with the user interface, which the user interacts.
Server side programming has to do with
generating dynamic content. It runs on servers.
Client side scripting is possible to be blocked
by the user.
Server side scripting can’t be blocked by the
user.
Response from a client-side script is faster as compared to a server-side script because the scripts are processed on the local computer.
Response from a server-side script is slower as compared to a client-side script because the
scripts are processed on the remote computer.
The files and settings that are local at the
user’s computer can be accessed using Client side scripting.
The settings that belong to Web server can be accessed using Server side scripting.
Client side scripting can’t access the file system that resides at the web server.
Server side scripting can access the file system residing at the web server.
Client side scripting cannot be used to connect to the databases on the web server.
Server side scripting is used to connect to the databases that reside on the web server.



No comments:

Post a Comment

=>Advanced Java Programming (J2EE)

1.  Syllabus 2. Unit Wise Question/Material 3. Paper 4. Previous Paper