GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Microsoft  >  DotNet

 Print  |  
Question:  Explain the differences between Server-side and Client-side code?



June 06, 2009 09:10:31 #6
 noriel_nj   Member Since: June 2009    Total Comments: 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.

     

 

Back To Question