Difference between Client side scripting and Server side scripting

Difference between Client side scripting and Server side scripting

Client side scripting:

  1. It runs/interprets/executes the scripts in end-users browsers.
  2. Script source code transfered to browser and run and render the output.
  3. Browser can be enabled to stop the scripting execution in their end.
  4. Slow, as it runs on end-user/client side.
  5. Source code can be viewed.
    Eg: Javascript, AngularJS

 

Server side scripting:

  1. It runs/interprets/executes scripts in web server itself.
  2. Everything done in server only the final html output will be transfered and rendered in client side.
  3. As it runs in server side enable/disable of script execution can not be done.
  4. Fast, as it runs in server.
  5. Source code can not be viewed.
    Eg: PHP, Node JS, Perl , Java, Python, JSP

 

Feel free to write your comments.

Leave a Reply