what is difference between client side scripting and server
side scripting?
Answer Posted / prabhkirat kaur
Client-side scripts are often embedded within an HTML
document (hence known as an "embedded script"), but they
may also be contained in a separate file, which is
referenced by the document (or documents) that use it
(hence known as an "external script"). Upon request, the
necessary files are sent to the user's computer by the web
server (or servers) on which they reside. The user's web
browser executes the script, then displays the document,
including any visible output from the script. Client-side
scripts may also contain instructions for the browser to
follow if the user interacts with the document in a certain
way, e.g., clicks a certain button. These instructions can
be followed without further communication with the server,
though they may require such communication.
erver-side scripting is a web server technology in which a
user's request is fulfilled by running a script directly on
the web server to generate dynamic web pages. It is usually
used to provide interactive web sites that interface to
databases or other data stores. 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
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Why is var better than let?
How do you check if a string is a number javascript?
Can we create session in javascript?
What are the advantages of using external javascript?
How to write html code dynamically using JavaScript?
What is the difference between innerHTML and innerText?
Which built-in method calls a function for each element in the array?
Can you use javascript to hack?
What are two-way data binding and one-way data flow, and how are they different?
Consider the following code: 1 2 3 4 5 (function() { var a = b = 5; })(); console.log(b); what will be printed on the console?
What is purpose of onerror event handler in javascript?
Does javascript care about whitespace?
What is the disadvantage of javascript?
what will happen and why if i will acess the methods of superclass which is declared as private by a object of same subclass.
How to create an array in javascript?