Client server processing Flashcards
define server
powerful computer with a specific purpose
define client
any device connected to a a server
what is client side processing
proccessing done before data is sent to the server takes place in the browser
When is client side processing needed
when an instant response is needed i.e dropdown table
validate data before it’s sent
Pros to client-side processing
more interactivity
quicker execution
no unessarcary processing from the server
cannot be intercepted
cons to client-side processing
Not all browsers support all scripts
rely on client machine
If java is disabled
scouce code is visible
why is server side processing needed
client doesnt always have the capability to process a request
when is server side processing used
display pages
process user input
structre web applications
languages server side is done in
PHP
Python
ASP
Why would server side processing re validate data
Javascript can be easily circumvented
can be modified
prevent malware and SQL injections