CLIENT SIDE SCRIPTING Vs SERVER SIDE SCRIPTING
CLIENT SIDE SCRIPTING Vs SERVER SIDE SCRIPTING
Client-side scripting
Client-side scripting refers to the code that runs on the client (e.g. web browser) and
performs tasks directly on the user's device.
Web browsers execute client-side scripting. It is used when browsers have all code.
Source code is used to transfer from web server to the user’s computer over the
internet and run directly on browsers. It is also used for validations and functionality
for user events.
Source code is visible to the user.
It is a technique used in web development in which scripts run on the client’s browser.
HTML, CSS, and javascript are used.
Server-side scripting
Server-side scripting is a programming technique for creating code that may run
software on the server side. In other words, server-side scripting is any scripting
method that may operate on a web server. At the server end, actions such as website
customization, dynamic changes in website content, response creation to user
requests, database access, and many more are carried out.
Source code is not visible to the user because its output server-side is an HTML page.
It is a technique that uses scripts on the webserver to produce a response that is
customized for each client’s request.
PHP, Python, Java, Ruby are used.