Teacher Page 18 File

Download Report

Transcript Teacher Page 18 File

18 URLs & Web Protocols
18 URLs & Web Protocols
•
•
•
•
•
A URL is a web address
Uniform Resource Locator
You say it like ‘earl’
A resource can be a full website
But a resource could also be a
single document or a single video
• URLs have several components
• You need to know them...
18 URLs & Web Protocols
Let’s look at the different components of this URL...
http://www.toys.co.uk/prices/list.pdf
18 URLs & Web Protocols
Let’s look at the different components of this URL...
http://www.toys.co.uk/prices/list.pdf
Protocol
Hypertext transfer protocol controls the request/response process
18 URLs & Web Protocols
Let’s look at the different components of this URL...
http://www.toys.co.uk/prices/list.pdf
Domain
Think of a domain as the main name for a website eg adidas.com
You can buy a domain name to suit you or your business
18 URLs & Web Protocols
Let’s look at the different components of this URL...
http://www.toys.co.uk/prices/list.pdf
Path
This is like the address of an individual page or file on the website
18 URLs & Web Protocols
Can you name the highlighted parts of these URLs?
http://www.music.com/videos/aband.mp4
http://www.hola.es
http://www.dogscharity.org.uk
18 URLs & Web Protocols
Let’s explore paths on this website...
http://www.lmc.ac.uk/courses/full-time-courses
18 URLs & Web Protocols
18 URLs & Web Protocols
• Now, we’ll focus on the
protocols or rules used on the
World Wide Web
• There are several protocols for
handling all the data for
webpages.
• But you need to know the basics
about two: HTTP and FTP
18 URLs & Web Protocols
Hypertext Transfer Protocol (http)
• http is the set of rules that work
behind the scenes to handle the
loading of web pages
• When you enter a web address in your
browser, it handles that REQUEST to
get a page from a web server
• It also handle the RESPONSE to
download the web page and all its
files to your client device
18 URLs & Web Protocols
https
• You may have noticed more and more
web addresses that use https
• The ‘s’ in https means secure.
• That means the data in the webpage is
scrambled before it is transmitted
across the Internet
• So if data is intercepted, it can’t be
understood by hackers
• It protects your privacy
18 URLs & Web Protocols
File Transfer Protocol (ftp)
• ftp is an old protocol invented even
before the Web was born
• Some people still use it to moves files
from a server to their client device
• For example, you could have URLs that
start with ‘ftp’ we well as ‘http’
• The
link will
just
open the page
httphttp
= open
web
pages
• But
ftp linkfiles
will download a file
ftpthe
= move
18 URLs & Web Protocols
Using http and ftp…
Client Side
Internet Backbone
Server Side Web Coder
http
Handles getting &
loading web pages
It is more secure
It can also handle
multiple downloads
ftp
Used for
moving
files
18 URLs & Web Protocols
18 URLs & Web Protocols