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

 Posted by Poster on 7/1/2008 | Category: ASP.NET Interview questions | Views: 7412

Server side scripting means that all the script will be executed by the server and interpreted as needed. ASP doesn't have some of the functionality like sockets, uploading, etc. For these you have to make a custom components usually in VB or VC++. Client side scripting means that the script will be executed immediately in the browser such as form field validation, clock, email validation, etc. Client side scripting is usually done in VBScript or JavaScript. Download time, browser compatibility, and visible code - since JavaScript and VBScript code is included in the HTML page, then anyone can see the code by viewing the page source. Also a possible security hazards for the client computer

Source: http://groups.msn.com/MumbaiUserGroup/aspnetfaqs2.msnw | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response