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

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

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

July 15, 2009

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

Answer:
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.

About the Author
Rich Agnew is an author for The Computer Geek Custom Web Page Design. The Computer Geek is a web design company that prides itself in professional service at a fraction of the cost. The Computer Geek specializes in Custom Web Design, PHP & MySql and Ecommerce.

To Make a Request For Further Information

5K

Happy Clients

12,800+

Cups Of Coffee

5K

Finished Projects

72+

Awards
TESTIMONIALS

What Our Clients
Are Saying About Us

Get a
Free Consultation


LATEST ARTICLES

See Our Latest
Blog Posts

How 5G Will Transform Industries in the Coming Years
December 21, 2024

How 5G Will Transform Ind

The Importance of Brand Storytelling in Marketing
December 20, 2024

The Importance of Brand S

Intuit Mailchimp