Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics

Difference between client side scripting and server side scripting with example?

Server side scripting is when the users browser makes a request back to the server and the script creates the dynamic page based a number of conditions. Languages usually used are PHP or ASP.

Example: On a website and the user clicks on the show the products link. The server then runs the PHP/ASP code to create a page by finding all the products in the data base. The page is created and sent back to the users browser for viewing.

Client side scripting is when all the code is already on the users browser and the page alters based on the users input. Language is usually JavaScript.

Example: A JavaScript drop down menu. The JavasScript alters how the menu is displayed but all the code is run locally while it is doing it.

Improve Answer Discuss the question "Difference between client side scripting and server side scripting with example?" Click here to register and get updates when this answer is edited.

First answer by Ragnew. Last edit by Ragnew. Contributor trust: 2 [recommend contributor]. Question popularity: 1 [recommend question]

Answers.com > Wiki Answers > Categories > Technology > Computers > Internet > Web Design and Publishing > Difference between client side scripting and server side scripting with example?

Our contributors said this page should be displayed for the questions below. (Where do these come from)
If any of these are not a genuine rephrasing of the question, please help out and edit these alternates.
Examples for client side script languages?  Describe client side scripting vs server side scripting?  Difference between client side and server side scripting?  What is the difference client side and server side application?  What are the difference between client-side scripting and server-side scripting with example?  What is the difference between server side scripting and client side scripting of web designing?