0% found this document useful (0 votes)
14 views

PHP

Uploaded by

Tripti Sharma
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

PHP

Uploaded by

Tripti Sharma
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

SERVER SIDE AND CLIENT SIDE SCRIPTING A scripting language is a programming language designed for

integrating and communicating with other programming languages. Client-side scripting It is performed
to generate a code that can run on the client end (browser) without needing the server side processing.
Basically, these types of scripts are placed inside an HTML document. The client-side scripting can be
used to examine the user’s form for the errors before submitting it and for changing the content
according to the user input. The effective client-side scripting can significantly reduce the server load. It
is designed to run as a scripting language utilizing a web browser as a host program. For example, when
a user makes a request via browser for a webpage to the server, it just sent the HTML and CSS as plain
text, and the browser interprets and renders the web content in the client end. Server-side scripting It is
a technique of programming for producing the code which can run software on the server side, in simple
words any scripting or programming that can run on the web server is known as server-side scripting.
The operations like customization of a website, dynamic change in the website content, response
generation to the user’s queries, accessing the database, and so on are performed at the server. The
server-side scripting constructs a communication link between a server and a client (user). The server-
side involves three parts: server, database, API’s and back-end web software developed by the
serverside scripting language. When a browser sends a request to the server for a webpage consisting of
server-side scripting, the web server processes the script prior to serving the page to the browser. Here
the processing of a script could include extracting information from a database, making simple
calculations, or choosing the appropriate content that is to be displayed in the client end. The script is
being processed and the output is sent to the browser. The web server abstracts the scripts from the
end user until serving the content, which makes the data and source code more secure. Example - PHP,
Python, Ruby

You might also like