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

Client Side Vs Server Side

Client-side scripting runs code on the user's browser without server processing, and is used to validate forms and change content based on user input using HTML, CSS, and JavaScript. Server-side scripting runs code on the web server using languages like PHP, Python, and Ruby to customize websites, access databases, and generate dynamic content. The key differences are that client-side scripting is visible to users but does not require server interaction, while server-side scripting occurs in the backend and is not visible to users but allows for server-side processing and more secure websites.

Uploaded by

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

Client Side Vs Server Side

Client-side scripting runs code on the user's browser without server processing, and is used to validate forms and change content based on user input using HTML, CSS, and JavaScript. Server-side scripting runs code on the web server using languages like PHP, Python, and Ruby to customize websites, access databases, and generate dynamic content. The key differences are that client-side scripting is visible to users but does not require server interaction, while server-side scripting occurs in the backend and is not visible to users but allows for server-side processing and more secure websites.

Uploaded by

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

Client Side vs Server

Side Scripting
► A script is generally a series of program or instruction, which has to be
executed on other program or application.
► The web works in a client-server environment. The client-side script executes
the code to the client side which is visible to the users while a server-side
script is executed in the server end which users cannot see.
The scripts can be written in two forms, at
the server end (back end) or at the client
end (server end).
Server-side scripting 

► Server-side scripting 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 end.
► Multiple programming languages were evolved such as PHP, Python, Ruby,
ColdFusion, C#, Java.
Client-side scripting 

► Client-side scripting is performed to generate a code that can run on the


client end (browser) without needing the server side processing. 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.
► Client-side scripting languages are HTML, CSS, JavaScript.
Basic Differences
BASIS FOR COMPARISON SERVER-SIDE SCRIPTING CLIENT-SIDE SCRIPTING
Basic Works in the back end which Works at the front end and
could not be visible at the script are visible among the
client end. users.

Processing Requires server interaction. Does not need interaction


with the server.
Languages involved PHP, ASP.net, Ruby on Rails, HTML, CSS, JavaScript, etc.
ColdFusion, Python, etcetera.

Affect Could effectively customize Can reduce the load to the


the web pages and provide server.
dynamic websites.

Security Relatively secure. Insecure


Web Servers
► A Web server is a program that uses HTTP (Hypertext Transfer Protocol) to
serve the files that form Web pages to users, in response to their requests,
which are forwarded by their computers' HTTP clients. Dedicated computers
and appliances may be referred to as Web servers as well.
► They are classified as:
► Local Servers
► Remote Servers
LOCAL SERVER

► If you are referring to a Local Server, this means that you have a server setup
on your current machine. When you are running a local server, your computer
contacts itself since it is running a local server and returns the data back to
the browser.
REMOTE SERVER

► When the server is Remote, this just means that it is on another computer.
"Working Remotely" means that the person will not be working in the office,
instead they could be working at home or from their favorite corner coffee
shop. So since that person is away from the office, they are considered
"Remote."
► In the same case if a server hosting your files is not in-house or on your
computer, it is considered to be a Remote Server.
► When you visit a web page in your browser, your computer needs to contact a
(remote) server on the web and then send the data back to your computer:
THANK YOU
Presentation By :
Animesh Ghosh
Ankit Pandey
Anubhuti Singh

You might also like