Web Programming Chapter 1
Web Programming Chapter 1
CSEB 294
4
Created by Sufyian <powered by HTML 5.0>
Introduction to the Internet
A network is a collection of
computers and devices
connected together, often
wirelessly, via
communications devices and
transmission media
5
Created by Sufyian <powered by HTML 5.0>
Introduction to the Internet
The Internet is a worldwide collection of networks that
connects millions of businesses, government agencies,
educational institutions, and individuals
6
Created by Sufyian <powered by HTML 5.0>
Evolution of the Internet
The Internet originated as ARPANET in September
1969 and had two main goals:
Allow scientists
Function even if
at different
part of the
physical
network were
locations to
disabled or
share
destroyed by a
information and
disaster
work together
7
Created by Sufyian <powered by HTML 5.0>
Evolution of the Internet
1986 NSF
connects
NSFnet to
ARPANET
and
1969 becomes
ARPANET known as 1996
becomes the Internet2
functional Internet is founded
9
Created by Sufyian <powered by HTML 5.0>
Evolution of the Internet
10
Created by Sufyian <powered by HTML 5.0>
Evolution of the Internet
• An IP address is a number that uniquely identifies each
computer or device connected to the Internet
• Form: 32-bit binary number.
• Usually written as four 8-bit numbers, separated by periods.
• A domain name is the text version of an IP address
• Top-level domain (TLD)
• A DNS server translates the domain name into its associated
IP address
11
Created by Sufyian <powered by HTML 5.0>
Evolution of the Internet
• New standard, IPv6, has 128 bits (1998)
• Example: 2001:cdba:0000:0000:0000:0000:3257:9652
• Organizations are assigned groups of IPs for their computers.
• Example: A small organization may be assigned 256 IP
addresses, such as 191.57.126.0 to 191.57.126.255.
12
Created by Sufyian <powered by HTML 5.0>
Evolution of the Internet
Internet
Domain
13
Created by Sufyian <powered by HTML 5.0>
The World Wide Web & Browser
• The World Wide Web, or Web, consists of a worldwide collection of
electronic documents (Web pages)
• A Web site is a collection of related Web pages and associated items
• A Web server is a computer that delivers requested Web pages to
your computer
• Web 2.0 refers to Web sites that provide a means for users to
interact
14
Created by Sufyian <powered by HTML 5.0>
The World Wide Web & Browser
• A Web browser, or browser, allows users to access
Web pages and Web 2.0 programs
Interne
t
Firefox Opera
Explor
er Google
Safari Chrom
e
15
Created by Sufyian <powered by HTML 5.0>
The World Wide Web & Browser
• Mosaic is the FIRST browser - NCSA
(Univ. of Illinois), in early 1993.
First to use a GUI, led to explosion of
Web use initially for X-Windows, under
UNIX, but was ported to other platforms
by late 1993.
• Netscape Navigator was later
developed by Netscape
Employed many of the original Mosaic
authors. Netscape Navigator's code
descendant is Mozilla Firefox
• Web browser mostly requests are for
existing documents, using HyperText
Transfer Protocol (HTTP).
Created by Sufyian <powered by HTML 5.0>
The World Wide Web & Browser
17
Created by Sufyian <powered by HTML 5.0>
The World Wide Web
• A home page is the • Some Web pages are
first page that a Web designed specifically
site displays for microbrowsers
• Web pages provide
links to other related
Web pages
• Surfing the Web
• Downloading is the
process of receiving
information
18
Created by Sufyian <powered by HTML 5.0>
The World Wide Web
• A Web page has a unique address called a URL or Web address
19
Created by Sufyian <powered by HTML 5.0>
Web Server
21
Created by Sufyian <powered by HTML 5.0>
The World Wide Web
22
Created by Sufyian <powered by HTML 5.0>
The World Wide Web
A search engine is helpful in locating items such as:
23
Created by Sufyian <powered by HTML 5.0>
The World Wide Web
24
Created by Sufyian <powered by HTML 5.0>
Uniform Resource Locator (URL)
Common Internet Protocols
• There are several protocols used commonly on
the Internet to get to a variety of sites which
support them.
• The protocol which supports the World Wide Web
- just one component of the Internet - is http -
hypertext transfer protocol.
Domain Description
.com Commercial or corporate sites.
.edu Educational institutions.
.gov Government sites.
.mil Military sites.
Sites of associations, organizations,
.org
etc.
.net Network sites.
.fm Frequency Modulation
Paths in URLs
• The tilde (~) generally precedes the name of a
directory assigned to a person.
• In the URL http://metalab.uniten.edu.my/~mia,
for example, the mia part indicates an account
name associated with the author mia.
•Site markup: HTML, CSS, and XML organize, style, and house the content of your site.
Scripts and CSS files are embedded into the HTML file, and interact with the HTML
elements to create an interactive site.
•Client-side scripting: This code runs in a web browser and determines what your
customers or clients will see when they land on your website. It gives a site
functionality—anything from drop-down menus to animation.
•Server-side scripting: This code executes on a web server and powers the behind-the-
scenes mechanics of how a website works. It’s builds a site’s architecture and serves as
a go-between with the database.
•Database technology: It stores all the site data that’s requested, retrieved, and edited
via scripts. It helps keep a website running smoothly and requires management and
maintenance as a site evolves.
Basic languages like HTML and cascading style sheets (CSS) are the building blocks of
most sites—the structure, organization, and the look and feel. HTML5 is the latest
version, with advantages like more cross-platform compatibility and fewer errors. XML
and JavaScript Object Notation (JSON) are data exchange formats.
•HTML (HTML5)
•CSS
•XHTML
•XML
•JSON
and •
•
Ember
Knockout.js
libraries •
•
Mercury.js
Meteor.js
include:
Created by Sufyian <powered by HTML 5.0>
To keep pace with these
Popular CSS pre-
more advanced dynamic processors and front-
websites, there are also end frameworks
CSS preprocessors and include:
LESS
front-end frameworks Sass
which make it easier to Bootstrap
style your websites and Foundation
Side
• C#
• C, C++ languages
• Java language
Scriptin •
•
Scala language
ColdFusion language
g
• Ruby programming language
• Perl & Perl 5
• Python
Langua •
•
JavaScript via Node.js
Erlang
ges:
• SQL, a language for database queries
Popular server-side frameworks and
libraries include
• ASP.NET framework
• Node.js
• The Ruby on Rails framework
• The Django framework (Python)
• Laravel, CakePHP
Dreamwea
Pictaculous
ver
Wamp/Xam
Sketch
pp