I'm having a hard time understanding the difference between these two concepts. Any pointers?
Server-side script builds the page to be sent to the client. Client-side script runs in the browser.
Many of the effects of clientside script can be accomplished on the server
Many of the effects of serverside script can be accomplished on the client
the best design choices choose horses for courses
Server side, the page is smaller when sent to the browser = faster
client side, essentially trivial things dont tie up the server
anything to do with security, is generally better on the server(1), client side validation is a joke
but clientside scripts to point the user to irrational input data, something completely out of the park, is faster than submitting the page and getting the server response back.
(1) like any axiom it is not always true
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.