BITG - 2113lecture2 - EC Infrastructure
BITG - 2113lecture2 - EC Infrastructure
3
How does the internet work?
Characteristics of the Internet
A huge collection of
computers connected by
TCP/IP (Transmission Control
Protocol/Internet Protocol) in
a network
IP addresses
• Set of four integers
uniquely identifying each
node
• Example: 128.135.197.76
Since numbers are difficult to
remember, the Internet
evolved DNS addresses
Packet Switching
Packet switching
• A method of slicing digital messages into packets,
sending the packets along different communication paths
as they become available, and then reassembling the
packets once they arrive at their destination
• Packet – the parcels into which digital messages are
sliced for transmission over the Internet.
Routing Internet Messages:
TCP/IP and Packet Switching
Routers
• Special-purpose computers that interconnect the computer
networks that make up the Internet and route packets to their
ultimate destination as they travel the Internet.
• Routing algorithm – Computer program that ensures packets
take the best available path toward their destination.
Client/Server Computing
Client/server
• A model of computing in which very powerful personal
computers are connected together in a network with one or
more servers.
Client
• A very powerful personal computer that is part of a network.
They are capable of displaying rich graphics, storing large
files, and processing graphics and sound files.
Server
• Networked computer dedicated to common functions that
the client machines on the network need, such as storing
files, software applications, utility programs such as Web
connections, and printers.
Client/Server Model
of The Web
Client/Server model
• Client: information consumer
• Server: information provider
• Work together to provide services
Counterpart of C/S model: peer-to-peer (P2P) model
• Napster, Gnutella, Morpheus, KaZaA, etc
8
Domain Name System (DNS)
DNS translates domain names to network addresses. For
example:
• altavista.com is 192.136.112.39
Separate domain administrations:
• Defined types: COM, EDU, GOV, BIZ, TEL, NET, ORG,
INFO, NAME, MOBI
• Countries: US, JP, FR, MY, RU, CH, UK, etc.
Tree structured directory.
A DNS address (fptt.utem.edu.my) consists of:
• Domain name for organizations
(fptt.utem.edu.my)
• institutional site name (fptt.utem)
• top-level domain(tld) name (edu.my)
• host name for individual machines (fptt)
DOMAIN NAME RULES
Max 255 characters per name.
From 2 to 5 labels per domain name.
• faizal.uhost.co.tv has 4 labels
Labels of up to 63 characters.
Allowable characters are A-Z, 0-9, and ‘-’
Domain names are not case sensitive.
• Other parts of a URL
may be case sensitive
Trademark owners get
preference.
Uniform Resource Locator (URL)
All Web pages are addressed with URLs
Format: protocol:address
• protocol may be
• ftp, http, mailto, telnet, etc
• address specifies
• A server name
• A directory path (optional)
• A filename
Example:
• http://www.cs.uchicago.edu/courses/index.html
11
Web browsers
Client software for Web access.
• Mozilla Firefox, Internet Explorer, etc.
15
HTML (HyperText Markup Language)
Specifies document layout including text, images, and
other media
Creates interactive documents with hyperlinks to:
• Local documents or documents on the Web
• Other resources like FTP, e-mail, etc.
HTML document structure
• Are enclosed between <html> and </html> tags
• Contain a head section with the title definition and
optionally other information
• Contain a body with the actual contents
Methods of creating HTML
Manually coding with a text editor
• Notepad, TextEdit