1.3 Flashcards
(9 cards)
Inline css disadvantage
-Site is slower to access as formatting info needs to be reloaded for each page
-unlikely to have formatting specific to users devices (external file does)
-formatting code has to be written for every page
-changes have to be made to each page
-lot of work to keep the look of the site consistent
What is a key advantage of client side processing?
Client side processing doesn’t require data to be sent back and forth, making code more responsive.
What is a disadvantage of client side processing?
Code is visible, which means it can be copied, and the browser may not run the code if it lacks capability or if the user disables it.
What is a key advantage of server side processing?
Server side processing removes reliance on the browser having the correct interpreter and hides the code from the user.
What is a disadvantage of server side processing?
It puts extra load on the server, which can be costly for the company hosting the website.
When is client side processing best used?
Client side processing is best used when the code is not critical and a quick response is needed, such as in games.
When is server side processing best used?
Server side processing is best used when it is integral to carry out processing, often for generating content or accessing secure data.
What is good practice for validation?
Good practice is to validate first on the client for a quick response, then on the server to check against circumvention.
Methods of improving accessibility
Using text alternatives for images
Changing styles using CSS
Avoiding combining colours that may be indistinguishable by those with colour blindness.
Using character sets and fonts that support different alphabets.
Using server side processing to amend the content shown.
Writing web pages to facilitate screen readers (such as giving hyperlinks meaningful names and not just “click here”).
Using tables for tabular data (as they are intended) and not layout (again to aid screen readers).
Ensuring that all content can be accessed with the keyboard alone in a logical way.
Avoiding CAPTCHA.