Interviews - C# Corner

Krishna Rajput Singh
Explain the difference between client-side script and server-side script. ?
By Krishna Rajput Singh in ASP.NET onAug 07 2014
  • Yatendra Sharma
    Jun, 2015 23

    client side script perform on the browser and the server-side script performs on the web server

    • 2
  • Alok Gupta
    Dec, 2014 15

    Differences between Client-side and Server-side ScriptingClient-side EnvironmentThe client-side environment used to run scripts is usually a browser. The processing takes place on the end users computer. The source code is transferred from the web server to the users computer over the internet and run directly in the browser.The scripting language needs to be enabled on the client computer. Sometimes if a user is conscious of security risks they may switch the scripting facility off. When this is the case a message usually pops up to alert the user when script is attempting to run.Server-side EnvironmentThe server-side environment that runs a scripting language is a web server. A user's request is fulfilled by running a script directly on the web server to generate dynamic HTML pages. This HTML is then sent to the client browser. It is usually used to provide interactive web sites that interface to databases or other data stores on the server. This is different from client-side scripting where scripts are run by the viewing web browser, usually in JavaScript. The primary advantage to server-side scripting is the ability to highly customize the response based on the user's requirements, access rights, or queries into data stores.

    • 1
  • Ankur Jain
    Aug, 2014 18

    Client side development is done almost exclusively in JavaScript. This is, of course, in addition to basic HTML and CSS code. The reason JavaScript is called a client side language is because it runs scripts on your computer after you've loaded a web page. A server side language runs its scripts before the HTML is loaded, not after. There are a range of server side languages in use on the web today. PHP is one of the most popular, as well as Ruby on Rails, ASP.NET and many others. They are called server side languages because their scripts are run not on your computer, but on the server which hosts the website and sends down the HTML code.

    • 1
  • Nitin Dixit
    Aug, 2014 16

    Client-side script is taking action on the user's (the client's) computer. it is used to provide us functionality without needing access to a web server. Server-side script means that the action takes place on a web server. As to get data from Database and use in show information then need to Server side script.

    • 1
  • Mahalakshmi Meganathan
    Aug, 2015 27

    Client Side controls are only javascript and Jquery It does not go code behind *Control state *View State *Cookies *Hidden fields Server side controls are Application and Session

    • 0
  • Mahalakshmi Meganathan
    Aug, 2015 7

    Client Side Script does not goes to code behind but server side script going to code behind so client side script load fast compare to server side script

    • 0
  • Gaurav Jain
    Jun, 2015 25

    Client Side Environment The script runs on client browser. It is quick since there is no involvement of server. Examples of client side scripting are using javascript, jQuery etc. Server Side Environment The script is executed on server. Action /Execution is taking place on server. Languages like C# , VB.net and Java are executed on server.

    • 0
  • Kml Surani
    Apr, 2015 15

    This HTML is then sent to the client browser. It is usually used to provide interactive web sites that interface to databases or other data stores on the server. This is different from client-side scripting where scripts are run by the viewing web browser, usually in JavaScript.

    • 0
  • Roymon TP
    Oct, 2014 9

    Server Side Scripting uses high level languages like c#,vb.net,java,php etc.. where as in client side scripting using HTML,JavaScript, css etc

    • 0
  • Roymon TP
    Oct, 2014 9

    Server side script executed at server where as Client side script executed at browser.

    • 0
  • Munesh Sharma
    Oct, 2014 8

    http://programmers.stackexchange.com/questions/171203/what-are-the-difference-between-server-side-and-client-side-programming

    • 0
  • Krishna Rajput Singh
    Aug, 2014 7

    client-side script can be used to enhance the functionality and user experience. For example, it can be used to provide simple mouse over image effects, animations, and form field validations. server-side scripts can also be used to enhance the functionality of a site. Some examples of features that can be included in a site by using server-side scripts include forums, polls, guest books, and searches.

    • 0

Most Popular Companies

Most Popular Job Functions

MOST LIKED QUESTIONS