Computer Science
What is the difference between client-side scripting and server-side scripting ?
Answer
Client-side scripting | Server-side scripting |
---|---|
Script code is downloaded and executed at client. | The script is executed at the server-end and the result is sent to the client-end. |
Response to interaction is more immediate once the program code has been downloaded. | Complex processes are more efficient as the program and associated resources are not downloaded to the browser. |
Services are secure as they do not have access to files and databases. | Have access to files and data bases but have security considerations when sending sensitive information. |
Browser dependent | Does not depend on browsers. |
Affected by the processing speed of user's computer. | Affected by the processing speed of the host server. |