GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  DotNet
Go To First  |  Previous Question  |  Next Question 
 DotNet  |  Question 2 of 165    Print  
Explain the differences between Server-side and Client-side code?

  
Total Answers and Comments: 6 Last Update: June 15, 2009   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
June 10, 2005 04:31:20   #1  
VinodKumar Kakde        

RE: Explain the differences between Server-side and Client-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 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.

 
Is this answer useful? Yes | No
July 10, 2005 17:58:04   #2  
Pritpal singh        

RE: Explain the differences between Server-side and Client-side code?
server side code is generated script for client side that display client browser in format HTML or XML becuse browser is understand only XML and HTML format.
server side is ecxecute in server and display output in client server side code do the round trip in server while client execute in without any trip.

 
Is this answer useful? Yes | No
July 21, 2005 00:39:00   #3  
Pritam Baldota        

RE: Explain the differences between Server-side and Client-side code?
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.

 
Is this answer useful? Yes | No
August 13, 2005 14:18:51   #4  
Jitendra Kumar        

RE: Explain the differences between Server-side and Client-side code?
Serverside Code: Serverside Code is the Code which resides and executes on the server. After execution it give Client Side Code or Do some Action.

Clidentside Code: Clientside Code is the code which is generated by Server and executes on Client Machine. It could be in form of HTML JavaScript or XML or any Scripting Langaguate which is supported by relevant browser.

 
Is this answer useful? Yes | No
July 03, 2006 13:42:56   #5  
satyambabu53 Member Since: July 2006   Contribution: 8    

RE: Explain the differences between Server-side and Cl...

serverside:-

the server side code is run in web server this is server side

client side:-

the clientside code in the client browser


 
Is this answer useful? Yes | No
June 13, 2009 09:10:31   #6  
noriel_nj Member Since: June 2009   Contribution: 1    

RE: Explain the differences between Server-side and Client-side code?

Server-side code:

1. Code is written in VB C# or other compiled languages.

2. Code is executed by the server during a roundtrip in response to a user
request or action.

3. The server executes server side code and returns HTML code to the client
browser for display.

4. Code is either compiled dynamically or precompiled into assemblies.


Client-side code:

1. Code is written in a scripting language such as JavaScript and HTML.

2. The browser itself executes the code in response to a user action and no
server round trip is involved.

3. Client browser executes code to dynamically modify the HTML. This is called
Dynamic HTML.

4. Code is script and therefore it is interpreted.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape