What is the difference between client-side script and
server-side script?

Answer Posted / shivshambhu

IN A SERVER SIDE SCRIPTING LANGUAGE THE BROWSER WILL FIRsT PLACE THE REQUSET FOR THAT FILE(one.jsp or one.php) TO THE WEBSERVER. IF THE FILE FILE IS PRESENT IN THE SERVER(FOR EXAMPLE IN CASE OF APACHAE WEB SERVER IF THE FILE IS PRESENT
IN htdocs FOLDER)IT WILL SEND THAT FILE TO THE JSP OR PHP ENGINE DEPENDING ON THE FILE EXTENSION FOR PROCESSING.THE OUTPUT OF THIS PROCESSING IS IN BROWSER UNDERSTABLE FORM. APACHAE WILL PUT THIS IN A temp FILE AND PASS IT TO THE BROWSER.THE BROWSER WILL INTERPRET IT AND WE GET THE FINAL OUTPUT IN OUR SCREEN.

IN A CLIENT SIDE SCRIPTING LANGUAGE LIKE JAVASCRIPT MOST OF THE MORDERN BROWSERS COMES WITH BUILT IN JAVASCRIPT INTERPRETER WHICH PROCESSES THE CODE AND GIVES THE OUTPUT. DURING PROCESSING OF A CLIENT SIDE SCRIPTING LANGUAGE THE SERVER IS NOT INVOLVED.

Is This Answer Correct ?    5 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can any body send me Some Interview Questions of ASP.Net 2.0 or Later to my mail id that is gauravscott@gmail.com

1577


What are shared assemblies?

714


What is difference between asp and aspx?

677


What is the command to display characters to the html page in asp?

664


What is the difference between asp and aspx?

696


How to add? tree view control in datagrid in asp.net using c#?

1947


How do I add aspx page to visual studio?

664


Explain what are the attributes of the tags? What are their functions?

699


how to update text box value in c#.net project?

1853


What happens to asp pages?

703


Who is asp in police?

644


Explain the difference between asp and html? Or why asp is better than html?

758


how to create overlay on div ?

1768


What is a service application?

699


What is asp life cycle?

638