Client Side Scripting Vs Server Side Scripting

Client Side Scripting 

  1. Client-side scripting is used when the users’ browser already has all the code and the page is altered on the basis of the user's input.
  2. Client-side scripting cannot be used to connect to the databases on the web server.
  3. Client-side scripting is possible to be blocked by the user.
  4. The Web Server executes the server side scripting that produces the page to be sent to the browser. 
  5. The browser receives the page sent by the server and executes the client-side scripts.
  6. Client-side scripting can’t access the file system that resides at the web server.
  7. The files and settings that are local at the user’s computer can be accessed using Client-side scripting. 
  8. Response from a client-side script is faster as compared to a server-side script because the scripts are processed on the local computer.
  9. Examples of Client side scripting languages : JavaScript, VB script, etc.




Server Side Scripting 

  1. Server-side scripting is used to create dynamic pages based on a number of conditions when the user's browser makes a request to the server.
  2. Server-side scripting is used to connect to the databases that reside on the web server. 
  3. Server-side scripting can’t be blocked by the user.
  4. The Web Browser executes the client side scripting that resides at the user’s computer.
  5. The server executes server-side scripts to send out a page but it does not execute client-side scripts.
  6. Server-side scripting can access the file system residing at the web server. 
  7. The settings that belong to the Web server can be accessed using Server-side scripting. 
  8. Response from a server-side script is slower as compared to a client-side script because the scripts are processed on the remote computer. 
  9. Examples of Server-side scripting languages: PHP, JSP, ASP, ASP .NET, Ruby, Perl n many more.

Comments

Popular posts from this blog

The 5 Best WYSIWYG HTML Editors

About CSS