Comparison between client-side and server-side scripting
Server-side scripting
- Response from a server-side script is slower because the scripts are processed remotely.
- Examples for server side scripting languages: PHP, JSP, ASP, Asp. Net, Ruby, Perl etc.
- Server side scripting is used to connect to the databases that is on web server.
Client-side scripting
- Response from a client-side script is faster because the scripts are processed on the local computer.
- Client side scripting languages: Javascript, VB script, etc.
- Cannot connect to the databases on the web server.
Click here to enter advantages and disadvantages of client-side and server-side scripting.