Difference Between Server & Client Side Script

The difference between a client side script and a server side script is on which computer the script is executed. Server side scripts are executed on the server and the results are sent to the client. Client side scripts are executed on the client computer by the Web browser.

  1. Use of Server Side Scripts

    • Server side scripts are used to perform tasks such as build Web pages and access databases.

    Use of Client Side Scripts

    • Client side scripts can be used to validate data, control page navigation and create special formatting on the Web page.

    Server Side Scripting Languages

    • Server side scripting languages include PHP, ASP (Active Server Pages) and C/C++.

    Client Side Scripting Languages

    • Client side scripting languages include JavaScript, Flash and ActiveX.

    Considerations

    • Server side scripts will run regardless what Web browser is used or what settings are enabled on the client machine. Client side scripts will only work if the correct software is installed on the client machine and the proper settings are enabled in the Web browser.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured