Client side processing is the use of scripting language to create code that
provides interactivity on web pages. The important point is that the
interaction takes place within the web page and the code is downloaded to the
user’s computer when the web page is opened by the user’s browser.
A good example of client-side interaction is a roll over
(often called a mouse over) , where some code is triggered when you move the
mouse over a particular part of the webpage. This might be something simple
like the display of a advertisement, or it could be a demand for some data
entry (e.g. filling in your details on a social networking website).
|
Advantages
|
Disadvantages
|
|
Speed: the
interaction may be faster once the code has been downloaded with the page.
|
It is browser specific: Not all scripts work the same
way on all browsers, so you may have to create different versions depending
on the browser used.
|
|
Security: It is more
secure ( than server-side processing) as all the action takes place in the
downloaded page as noting comes for the browser, which could cause problems
like security or corruption.
|
Computer
speed: it can be affected by the speed of your own computer. As all of your activity is taking place on
a downloaded web page, the speed of the download and the speed of processing
will depend on your computer system. if the processing is complex or resource
hungry, it may run slowly or cause other programs to run slowly on your
system.
|
Server-side processing involves the use of scripts that
reside and are run on anoter computer on the internet. Information is submitted
to a server, which processes it to provide results in the form of a webpage.
A good example of server-side
processing is the submission of a search through a search engine. The search
engine matches the word or phrase against an index of websites content on the
web server using scripts.
Client-side
scripting generally refers to the class of computer programs
on the web that are executed client-side, by the user's web browser,
instead of server-side (on the web server).[1] This type of computer programming is an important part of the Dynamic HTML
(DHTML) concept, enabling web pages to be scripted; that is, to have different and changing content
depending on user input, environmental conditions (such as the time of day), or
other variables.
|
Benefit
|
Disadvantages
|
|
Efficiency: Complex code may run more efficiently.
|
Security: The
exchange of data over the network me present security risks.
|
|
Browser independent: The code is browser independent, so
it can be run on any web browser.
|
Overloading: A server need to be
able to cope with large volumes of users.
|
|
Speed: Performance is affected by only the speed of the
web server.
|
|
Why is it important to Mrs Bryant whether the
BTEC the Online World exam is client-side or server-side?
It is important because it might be running slow so mrs Bryant
would have to get us here early and start the exam early if it is not working
properly. We might need to take time to download the exam if it is client-side
processing. The server has to be up to date.
Source- wikipedia
No comments:
Post a Comment