Module 1
Module 1
4 TH C O F F E E
Introduction to Web
Design
What is Internet??? • The Internet is a massive
network of networks.
• It connects millions of
computers together
4 TH C O F F E E
globally.
Web Site:
A Website is simply a collection of Webpages located on a same domain.
Web Browser :
Web browser is a program/application used to communicate with web
server on the Internet. i.e pages can be retrieved and viewed.
Hyper-Text :
Hypertext is text which contains links to other resource. The link is
usually an underlined word or sentence, points to another document. The
current document is replaced with the one indicated in the link.
URL URL :Uniform /Universal Resource Locator.
• A Uniform Resource Identifier (URI) is a strings of characters used to
identify names or resources on the Internet.
• A name of something (URN) without a way to locate it.
• A name of a something (URN) with a way to located it (URL)
4 TH C O F F E E
1 2 3 4 5
1.Scheme :
4 TH C O F F E E
2.Host:
• Host name identifies the host where resource is located.
• A hostname is a domain name assigned to a host computer.
• This is usually a combination of the host's local name with its parent
domain's name.
Example : http://www.google.com
http://www.walchandsangli.ac.in
3. Port Number :
• Service of server to be accessed(Specific request).
Example : 192.168.1.8:8090/httpclient.jsp
4.Path :
4 TH C O F F E E
• Path identifies the specific resource or web page within the host that the
user wants to access.
Example: http://www.walchandsangli.ac.in/result.asp
5.Query String:
• Query string contains data to be passed to server-side scripts, running
on the web server.
• Example: https://www.google.com/search?q=java
?user_name=John&password=12345
Web Vs Internet???
The internet is a massive network of networks, a networking infrastructure.
The World Wide Web, or web, is a way of accessing information over the medium
4 TH C O F F E E
of the internet.
Internet allow different computers around the World to talk to one another.
The Web (or World Wide Web) is the system of web pages and sites that uses
the Internet to pass the files across
The Web is just one of many services that use the Internet –services include e-
mail, internet telephony and peer-to-peer file transfers.
Client-Server Architecture
Client :
• A computer which is seeking any
resource from another computer.
• Active
4 TH C O F F E E
• Temporal
• Example: Downloading a file from
a File Server, Browsing
Intranet/Internet etc.
Server:
• A computer has a resource which is
served to another computer
The client establishes a connection to a • Passive
Server and accesses the services installed • Always Open
on the Server.
Types of Server :
File Server:
• File servers are used to store the user documents and files centrally.
Mail Server:
• Mail Servers are used to transmit emails using email protocols.
4 TH C O F F E E
Application Server:
• Common computer applications or programs run in a central server.
• Enables multiple network users to access common network applications from
the network.
Database Server:
• Allows authorized network clients to create, view, modify and/or delete an
organization's data, stored in a common database.
Directory Servers:
• Allows central administration and management of network users and network
Two Tier Architecture:
• Basic client-server model.
• The application at the client end directly Client System Server/ Data
communicates with the database at the Source
4 TH C O F F E E
server side.
Request :
HTML
Response :
HTML
Working??
1. The browser sends request for .html to the remote (web) server.
2. The web server sends the HTML file back without any more processing.
Server Side Scripting
• Dynamic Web Pages and interactive web sites.
• A dynamic page is one that changes or is created when it is requested.
• Dynamic pages are ideal for pages that change very frequently.
• Web Browser cannot handle request.
• Web Server process requests.
4 TH C O F F E E
• Example : PHP,ASP.NET,JSP
Request : Request
PHP/ASP.NET
Response :
Response
HTML
Working??
1. The browser sends request for .php/.asp to the remote server.
2. The web server recognizes the extension, and does a processing on the file in
order to generate a temporary file/request.
3. The web server sends the request file to server.
4. Server reply back with answer to web server.
5. Web Server sends response to client in .html.
Web Hosting
• Web hosting is a service.
• Allows organizations and individuals to post a website or web page onto the
4 TH C O F F E E
Internet.
• Web Hosting Service Provider :services needed for the website or webpage
to be viewed in the Internet
• Examples: GoDaddy, JustHost, HostGator, Bluehost, etc
• Domain
Domain
• Domain names are GATEWAY to the online/Internet world.
• Purchase a domain name for website.
accommodate.
• Pricing : pay-for-what-you-use.
How to host??
4 TH C O F F E E
1. Web Server
2. Data base Server
3. File Server
File Server
Client Server
Communication Link
Database
Server
Types of Web Sites
provide information about a particular subject or organization,
Informational
most common
• text-only list of all the pages on the website with links to each
Site map page.
• Helps for visitors and search engine