Client-side Versus Server-side Coding - Part 1

Understanding the difference between client-side code and server-side code is critical in Web development. This installment of the "Term of the Week" column address client versus server-side.

provided by: 
Originally published at Internet.com


I receive an excessive number of questions asking for help and asking how to do certain coding tasks. One question this week caught me by surprise. In a prior article, I presented a method for separating the scripting code form your actual HTML file. This raised the question about running the javascript on the server rather than on the client so that the client could not see the code. This question raised a critical issue for understanding Web programs to understand the different types of Web applications that can be created, you should understand the difference between client-side and server-side code.

Web pages are displayed in your browser on your local machine. Just like a customer or client for a restaurant, you and your browser are a client using a Web site. The Web site is displayed by your browser, which interprets code that was sent to it. In general this code will be primarily HTML, but may also contain anything supported by your browser such as javascript, flash movies, and more.

The machine where the Web site actually resides is called a Web server. When you send a request for a Web page by entering a Web site address, this request is sent to a Web Server. The Web server then sends the Web page to your browser. The interesting thing about a Web server is that it can manipulate the code within a Web page before sending it to your browser. For most Web pages, no manipulation is done. Rather, the server simply sends a copy to the browser and the browser does the work of displaying the code...

Read article at Internet.com site
Related Articles
- Learning PHP: The What's and the Why's
Tired of being limited by client-side Web development? Liz Fulghum begins a series of articles to teach you PHP. In this first article in the series, learn what PHP is and why you'd want to use it.
- Term of the Week: CGI
- Excerpt: Introducing ColdFusion
- Programming Microsoft .NET : Web Forms
- ASP Example 2: Password Protection
- So, You Want ASP, Huh?
- Really Thin Client Programming in VB.NET
- Using Colored Text
- Silverlight Review
- On the Security of PHP, Part 1
Regional Articles
- Client-side Versus Server-side Coding - Part 1 Alabama
- Client-side Versus Server-side Coding - Part 1 Alaska
- Client-side Versus Server-side Coding - Part 1 Arizona
- Client-side Versus Server-side Coding - Part 1 Arkansas
- Client-side Versus Server-side Coding - Part 1 California
- Client-side Versus Server-side Coding - Part 1 Colorado
- Client-side Versus Server-side Coding - Part 1 Connecticut
- Client-side Versus Server-side Coding - Part 1 DC
- Client-side Versus Server-side Coding - Part 1 Delaware
- Client-side Versus Server-side Coding - Part 1 Florida
- Client-side Versus Server-side Coding - Part 1 Georgia
- Client-side Versus Server-side Coding - Part 1 Hawaii
- Client-side Versus Server-side Coding - Part 1 Idaho
- Client-side Versus Server-side Coding - Part 1 Illinois
- Client-side Versus Server-side Coding - Part 1 Indiana
- Client-side Versus Server-side Coding - Part 1 Iowa
- Client-side Versus Server-side Coding - Part 1 Kansas
- Client-side Versus Server-side Coding - Part 1 Kentucky
- Client-side Versus Server-side Coding - Part 1 Louisiana
- Client-side Versus Server-side Coding - Part 1 Maine
- Client-side Versus Server-side Coding - Part 1 Maryland
- Client-side Versus Server-side Coding - Part 1 Massachusetts
- Client-side Versus Server-side Coding - Part 1 Michigan
- Client-side Versus Server-side Coding - Part 1 Minnesota
- Client-side Versus Server-side Coding - Part 1 Mississippi
- Client-side Versus Server-side Coding - Part 1 Missouri
- Client-side Versus Server-side Coding - Part 1 Montana
- Client-side Versus Server-side Coding - Part 1 Nebraska
- Client-side Versus Server-side Coding - Part 1 Nevada
- Client-side Versus Server-side Coding - Part 1 New Hampshire
- Client-side Versus Server-side Coding - Part 1 New Jersey
- Client-side Versus Server-side Coding - Part 1 New Mexico
- Client-side Versus Server-side Coding - Part 1 New York
- Client-side Versus Server-side Coding - Part 1 North Carolina
- Client-side Versus Server-side Coding - Part 1 North Dakota
- Client-side Versus Server-side Coding - Part 1 Ohio
- Client-side Versus Server-side Coding - Part 1 Oklahoma
- Client-side Versus Server-side Coding - Part 1 Oregon
- Client-side Versus Server-side Coding - Part 1 Pennsylvania
- Client-side Versus Server-side Coding - Part 1 Rhode Island
- Client-side Versus Server-side Coding - Part 1 South Carolina
- Client-side Versus Server-side Coding - Part 1 South Dakota
- Client-side Versus Server-side Coding - Part 1 Tennessee
- Client-side Versus Server-side Coding - Part 1 Texas
- Client-side Versus Server-side Coding - Part 1 Utah
- Client-side Versus Server-side Coding - Part 1 Vermont
- Client-side Versus Server-side Coding - Part 1 Virginia
- Client-side Versus Server-side Coding - Part 1 Washington
- Client-side Versus Server-side Coding - Part 1 West Virginia
- Client-side Versus Server-side Coding - Part 1 Wisconsin
- Client-side Versus Server-side Coding - Part 1 Wyoming
Related Articles
- Learning PHP: The What's and the Why's
Tired of being limited by client-side Web development? Liz Fulghum begins a series of articles to teach you PHP. In this first article in the series, learn what PHP is and why you'd want to use it.
- Term of the Week: CGI
- Excerpt: Introducing ColdFusion
- Programming Microsoft .NET : Web Forms
- ASP Example 2: Password Protection
- So, You Want ASP, Huh?
- Really Thin Client Programming in VB.NET
- Using Colored Text
- Silverlight Review
- On the Security of PHP, Part 1

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML