Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 8

Networking and the Internet

Client Side and Server


Side

Dr. M. Tanvir Afzal


Client Side and Server Side

How your browser works?


 You type a URL
 Web browser will contact the server to
give back the latest page as source file.
 That source file will be understood and
rendered by your browser to display your
intended page.

2
Client Side and Server Side

When if?
 The page contained some animation.
 The feedback form need to be filled
by the user.
 Some additional activities need to be
performed.
 Client-side: such activities are
performed by client (browser)
 Server-side: such activities are
performed by servers.
3
Client Side and Server Side

Examples

 User making queries at search


engines.
 Email reading and writing

4
Client Side and Server Side
Controlling Client-side activities
 JavaScript developed by Netscape
Communications Inc. within HTML.
 Transfer webpage to browser and then
transfer additional units called Applets
as requested by HTML document,
developed by Sun Microsystems.
 Macromedia Flash, multimedia client
side presentations are managed.
5
Client Side and Server Side
Controlling server-side activities
 Early technology was CGI (Common
Gateway Interface), client could request
servers.
 A variation by Sun Microsystem is
Servlets, Java Server Pages (JSP)
 A similar approach by Microsoft is known
as Active Server Pages (ASP)
 Open source system: PHP Hypertext
6 Preprocessors.
Client Side and Server Side

Ethical and Security concerns

 Whatever sent by server may not be


executed by client blindly and vice
versa.
 This could leads to security and ethical
concerns.

7
Summary

Client-side and Server-side

 How browser renders the web pages.


 Examples
 Approaches to handle client-side
activities.
 Approaches to handle server-side
activities.
 Security and ethical issues.
8

You might also like