GeekInterview.com
Series: Subject: Topic:
Question: 340 of 348

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

Asked by: Interview Candidate | Asked on: Sep 6th, 2005
Showing Answers 1 - 15 of 15 Answers
Jatinder Singh Rana

Answered On : Aug 8th, 2005

Server side code get executed on the web server in the response of request for any aspx page 
where client-side code get executed on the client browser (e.g validation of controls, dynamically hidding and displaying some of controls or there values etc)

Yes  4 Users have rated as useful.
  
Login to rate this answer.
AMARESH

Answered On : Aug 8th, 2005

what is the disadvantages of interface?[

  
Login to rate this answer.
Anil

Answered On : Sep 1st, 2005

Client side code will be in javascipt or vb sciprt and will execute only in the clients machine and not on the web server. (validations client side is example for this) 
 
Sever side code will get executed on webserver. These will consume the servers memory.Code behind is example for this.

Yes  1 User has rated as useful.
  
Login to rate this answer.
roo

Answered On : Sep 6th, 2005

very good

  
Login to rate this answer.
Prashanthgajra

Answered On : Sep 12th, 2005

View all answers by Prashanthgajra

Server side code is executed at the server and written in VB Code whereas client side code is executed at the client side. Mostly client side coding is done in Javascrit.

The reason why we do client side validations is to save the to and fro time taken for the request to go to the server and the response to get back to the browser.

Yes  1 User has rated as useful.
  
Login to rate this answer.
Sudhakar Leo

Answered On : Oct 7th, 2005

Server Side Code : It is written in the .CS file for C# and .vb file for VB.Net and the Code is executed in the Server sideClient Side Code : it is a scripting language that can be included in the HTML Page or can contain in the Source File either .vb or .cs and it is executed in the Browser

  
Login to rate this answer.
Bhanu

Answered On : Oct 11th, 2005

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

  
Login to rate this answer.
priyanka

Answered On : Nov 17th, 2005

GTHR

  
Login to rate this answer.
Mukesh

Answered On : Apr 16th, 2007

Server side scripting(whatever the language it may be i.e. VB.NET,C#,ASP etc) will always run on server side and create roundtrip on server,but in case of client side scpripting,it will always run on client side(mainly used for information or control validation).As it runs on client's brower it does not create any roundtrip to the server.Javascript is a popular clientside scripting language.

  
Login to rate this answer.
vipul_shah2006

Answered On : Nov 29th, 2007

View all answers by vipul_shah2006

The difference between server side and client side code is that server side
code is always process by server whereas client side code is executed by client
side script or to be precise client side browser.

If we want to access server side database or files we will have to use server
side code and if we want to handle client side validation we will have to use
client side code.

The common script used for client side script is JavaScript. whereas for server
side code the common script is VBScript.

Client side code validate the data before sending it to server. Where as server
side code validate data to check whether sent data is correct or not.

Yes  1 User has rated as useful.
  
Login to rate this answer.
waytobala

Answered On : Apr 22nd, 2008

View all answers by waytobala

If you modify interface after implementation it affects all
other classes when they implemented.

  
Login to rate this answer.

Client side code is executed on the client side when the page is executed such as javascript validation. when a user enter a a password it can be validated at client side such as password should be not less than 6 character etc..In server side the code is processed over  server side..such as validation control..

  
Login to rate this answer.
dontnet

Answered On : Oct 18th, 2008

View all answers by dontnet

Server-side code run at the server. It is a seprated file from html page.
Client-side code is processd by browser and run at the client side

Yes  1 User has rated as useful.
  
Login to rate this answer.
apielma

Answered On : Nov 3rd, 2010

View all answers by apielma

Server side code is executed on the server. Examples asre ASP, ASP.NET, PHP, and JAVA

Client side code is execcuted on the client. An exanple is Javascript, Doing so will NOT require a trip top the server (Refresh of the browser)

  
Login to rate this answer.
Zalak Patel

Answered On : Sep 27th, 2011

=Server side code get executed on the web server in the response of request for any aspx page.
=client-side code get executed on the client browser.(e.g. validation of controls, dynamically hiding and displaying some of controls or there values etc)

=The common script used for client side script is JavaScript.
=Server side code the common script is VBScript.

=Client side code validate the data before sending it to server.
=Server side code validate data to check whether sent data is correct or not.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.