Documente Academic
Documente Profesional
Documente Cultură
11/16/2011
Web notse
Introduction
Internet is acknowledged as the source of a profound information revolution It has changed our lives, the way we communicate and conduct business Internet provide an instant mode of communication in form of electronic mail
11/16/2011
Web notse
11/16/2011
11/16/2011
Web notse
internet
The internet driving force is the World Wide Web The web began to take off after Mosaic, the first browser Which was introduced in 1994 Internet link a powerful servers in every part of the world. Server program is the program that resides on computer and provide services to other computer program known as clients.
11/16/2011
Web notse
11/16/2011
Client/Server Model
The client/server model is central to Internet communication, distributed network computing and services. The model uses two computer installed on two separate but networked computer at different location The client program installed on one computer communicates with the server program
11/16/2011
Web notse
Client/server model
Client computer Server computer
Client
Internet
Server
11/16/2011
Web notse
11/16/2011
Client/server model
Multiple clients can access a server concurrently This situation may increase the demand on the server and may slow down its response In such a case, the server computer must be upgraded or replaced with a faster computer to handle the increased demand.
11/16/2011
Web notse
Client/server model
Client/server database are used extensively on the Web A database is a set of data that is organized and stored in a file or many files A common architecture of client/server database
Two-tier model Three-tier model
11/16/2011
Web notse
11/16/2011
Two-Tier Model
Two-tier architecture is the most common model. The client sends request (queries) to the database, the database is accessed through a server, send the query results back to the client
11/16/2011
Web notse
Clients 1 Internet
Clients 2
11/16/2011
Web notse
11/16/2011
Three-Tier Model
A middle server is added between the database and client computer for security purposes
Client Middle server Database access program and rules DB server
Application
Database
11/16/2011
Web notse
11/16/2011
11/16/2011
Web notse
11/16/2011
TCP/IP
It uses communication protocol called TCP/IP Protocol is a set of telecommunication rules that allows two or more computer to communicate. TCP program residing on the sending computer breaks the data to be transmitted into one or more chunks, called packets
11/16/2011
Web notse
Packets transmission
It numbers the packets and add both the senders and receivers IP addresses to each packet. It then forwards the packet to an IP program that reside on the same sending computer. IP program delivers them to receiving computer by using IP address included in each packet.
11/16/2011 Web notse
11/16/2011
Packets Transmission
11/16/2011
Web notse
11/16/2011
Web notse
11/16/2011
11/16/2011
Web notse
Example
Names www.ifm.ac.tz www.udsm.ac.tz IP addresses 155.33.227.141 168.22.225.156
If client request www.ifm.ac.tz, the DNS converts this name into IP address and located the site to the client. This conversion is referred as DNS names resolution.
11/16/2011 Web notse
10
11/16/2011
DNS
If the site is down or the given address is incorrect, no communication takes place between the clients and the site. Communication error is reported.
11/16/2011
Web notse
DSN
The name version of IP address is common known as Uniform resource locator or URL URL is an address of ac accessible file Example A valid URL is http://www.ifm.ac.tz
11/16/2011
Web notse
11
11/16/2011
URL
URLs are also known as domain names Domain name consists of sub-domains (usually less than 5) The first sub-domain is host name The last sub-domain is top-level domain (TLD) Second level domain excludes the host name
11/16/2011 Web notse
URL
Domain name
www.ifm.ac.tz
Host name Second level domain name
11/16/2011 Web notse
TLD
12
11/16/2011
URL
When no file is specified in the URL, a default file name in a default directory is used. The webmaster sets up the default file name, usually as index.html or index.htm
11/16/2011
Web notse
URL
TLD can also be geographic i.e. country codes, such as au for Australia, uk for England, etc. The most common top-level domain names are .com: commercial organization .edu: educational institution .gov: government agency .org: nonprofit organization .net: network service provider .mil: U.S. military
11/16/2011
Web notse
13
11/16/2011
File Protocols
File protocols determine the formats and rules of exchanging files between the server and client The file protocols used on the web are http: Allows client to request a webpage from server https: Secure http for secure communication smtp/pop/imap: Sends an e-mail message to a specified address nntp: Allows client to read and post messages on newsgroups ftp: Allows downloads and uploads for files telnet: Allows access to a remote computer file: Displays a file existing on client local drive
11/16/2011 Web notse
14
11/16/2011
11/16/2011
Web notse
Maximum connection speed Type of connection(dial-up, broadband) Software provided Service charges Web services provided
Web notse
15
11/16/2011
END
11/16/2011 Web notse
16