For all web developpers and webpage layout makers, also for beginners who desire to learn! :-)

Post tutorial Report article RSS Feed Difference between server side and client side coding

Website based coding, not games or anything like that.

Posted by T.L.G on Jul 19th, 2012
Intermediate Website.

Server Side Code

Server side is the code that resides at web server.
For every client request code is executed at server side and result is send to the client in simple HTML format.
Performance is lower than client side code due to server round trips.
Client cannot see the business logic though it is stored on server.

Client Side Code

Client side code is reside at client's browser itself. It is executed at
client side only. User can easily see the code by View - > Source option.
It is generally used in validation form like text field is empty or not, email address validation etc. It is faster than server side code.

Server side code is responsible to execute and provide
the executed code to the browser at the client side. The executed code
may be either in XML or Plain HTML. The executed code only have the
values or the results that are executed on the server. The clients
browser executes the HTML code and displays the result.

Where as the client side code executes at client side and displays the result in
its browser. It's the client side core consist of certain functions that
are to be executed on server then it places request to the server and
the server responses as the result in form of HTML.

Post comment Comments
booman Jul 20 2012 says:

Most dynamic websites are using PHP and a database running in the server side code. This keeps a website fresh, always-changing and interactive.
Specially if the website is a service or selling a product.

Most client side code is going to be HTML, CSS, JQuery and Javascript to make the pages look pretty and compatible with all the stinking browsers.

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Dec 6, 2009
Open to all members
Send Message
Join this group
Group Watch
Track this group
Report Abuse
Report article
Related Groups
Web devs & web game devs
Web devs & web game devs Hobbies & Interests with 37 members