Intro Lecture 2
Intro Lecture 2
Introduction
Introduction
● Internet
● World Wide Web
● Web Page
● Web Servers
● Server-Side Programming
● Web Browsers
● Client-Side Programming
● DNS – The Domain Name Service
● HTTP
Internet
● Late 1950s, U.S. government formed the Advanced Research Projects
Agency (ARPA)
● During the 1960s, the agency created a decentralized computer network
known as ARPAnet
⚪ Initially linked four computers located at
● The University of California at Los Angeles,
● Stanford Research Institute
● The University of California at Santa Barbara
● The University of Utah
● Email was implemented in 1972
● Telnet protocol for logging on to remote computers
● File Transfer Protocol (FTP), enabling file transfer between computers
● During 1989 Berners-Lee and his colleagues at the European particle
physics laboratory CERN (Conseil Europeen pour le Recherche Nucleaire)
proposed the concept of linking documents with hypertext that the now
familiar World Wide Web began to take shape
● The use of hypertext pages and hyperlinks helped to define the page-
based interface model that we still regard as the norm for web applications
today
What is internet?
• The Internet is a worldwide collection of computer networks
● connecting academic, governmental, commercial, and
● organizational sites.
• It provides access to communication services and
● information resources to millions of users around the globe.
• Internet services include:
• direct communication (e-mail, chat)
• online conferencing (Usenet News, e-mail discussion lists)
• remote login and file transfer (telnet, ftp)
• and many other valuable tools and resources
● Website
⚪ A collection of several related web pages written in HTML markup
language.
● Home Page
⚪ The first page of any website is called home page.
Web Fundamentals (Con’t)
Web Server
A machine that responds to client requests and sends the requested page
back to user.
popular web server software:
• Apache: www.apache.org
• Web Browser
• Web browser is a software tool used to access and search
information on web.
• Some of popular web browser software are:
• Mozilla Firefox: getfirefox.co
• Microsoft Internet Explorer (IE): part of Windows
• Apple Safari: part of Mac OS X
• Opera: opera.com
• Google Chrome
Web Server
● IP Address
⚪ 198.105.232.4
● Domain Name
⚪ www.somedomain.com
● DNS Server
⚪ Maps domain name to the corresponding IP
● DNS servers around the Internet are connected
together into a network that constantly updates
itself as changes are made
Introducing HTTP
● Personal websites
⚪ These websites are used by people for their personal use such as to
share information about themselves or their products, to enhance their
skills or post their curriculum vitae online to improve their chances of
getting a job.
⚪ Another most common use is to publish virtual journals called blogs
that describe events in people’s lives, their interests and their personal
opinions on different topics.
● Professional websites
⚪ These are created as portals that provide platform for businesses and
provide information on their products and services. Some of these
portals enable businesses to sell products online and act as virtual
storefronts for receiving orders and payment.
⚪ Such sites can directly generate revenue for businesses.
Websites Categories (Con’t)
● Database
⚪ Collection of related data stored on a
particular topic
⚪ Storage and retrieval is in an organized
and efficient way
⚪ Examples: Hospital database, Library
database, Student database etc.
● Examples:
⚪ News sites: CNN.com and
MSNBC.com
⚪ E-commerce companies:
Amazon.com, which is a Web
interface of a big-sized
database system containing
customer and transactional
information.
Database-driven Web site Architecture
SQL Web
query Server HTML
page
Database
Server SQL
result
How to Integrate Databases
and the Web?
⚪ Databases
● MS Access
● MySQL, mSQL
● Oracle, Sybase, MS SQL Server
⚪ Integration tools
● PHP or CGI, Servlets, JSP, ASP etc.
Common Gateway Interface (CGI) is a
standard way for web servers) is a
standard way for web servers to interface
with executable programs) is a standard
way for web servers to interface with
executable programs installed on a
server that generate web pages
dynamically.
Home tasks
● Describe the different type of the websites.
● Explore the various option of your favorite Browser
● Describe in detail for the Port.
● Describe the sitemap.
● Describe Storyboarding
● What do you mean by a page layout? What are
the technology available for preparing page
layout? List the design point to be considered
while preparing page layout.
● Discuss the XHTML.