Answers.
What is client-side processing? correct answers Client side processing is where data is processed
on the user's computer. Small programmes written in a client-side language, like JavaScript, are
downloaded to the users computer, compiled and run.
What is client-side processing commonly used for? correct answers Client-side processing is
commonly used for:
- Rollover effects
- Validating forms
- Cookies
What are rollover effects? correct answers Rollover effects is where you move your mouse over
a section of a web page, such as an image, and this causes something to happen, such as making
some text appear that describes the image.
What are examples of validating forms? correct answers - Contact forms
- Login forms
Why is client-side processing used in validating forms? correct answers Client-side processing is
used in validating forms because it is used to check that what has been entered is sensible and
reasonable.
What are cookies? correct answers Cookies are small text files that are stored on your computer.
What can cookies be used for? correct answers - Keeping you logged into a website, even after
you've closed the browser.
What benefits does client-side processing have over server-side processing? correct answers -
Faster response time: As the code is run on the users computer it can respond quickly to user
events, like hovering over an image. Server-side scripts would have to go all the way across the
internet to the server and then back to the users computer with a response.
- More secure: Data does not need to be transferred over a network constantly to the server. All
the processing is on the users computer and therefore cannot be intercepted while being
transmitted.
What are the disadvantages of client-side processing? correct answers - It's browser specific:
Much of client-side processing requires specific software to be installed on the user's computer
like a certain browser or a plugin like Flash.