3. The Online Environment Flashcards
(51 cards)
Define the internet
a network of computer systems and all the cables and other hardware that are used to
connect them
Define the world wide web:
the
collection of web pages
and websites that are
viewed using the internet
How a Web Page is Accessed via a URL
- User enters a URL (e.g., https://www.pearson.com) into a web browser.
- The domain name is extracted from the URL (e.g., pearson.com).
- The browser sends a request to a DNS (Domain Name System) server to find the IP address for that domain.
- If the DNS server has the IP address:
It returns it to the browser. - If it doesn’t:
It forwards the request up the DNS hierarchy, possibly to a top-level (root) DNS server.
This continues until the domain is found or it’s confirmed as not existing. - If no match is found:
The browser receives a message saying the web page could not be found. - If a match is found:
The browser uses the IP address to send a request to the web server where the page is stored. - The web server responds by sending back the web page data to the browser for display.
What unique identifier does each web server have?
A unique IP address.
What is a URL
uniform resource locator
(URL):
a text-based address for a website
Before accessing a web page, what must the web browser do?
Convert the URL into an IP address.
Which server helps in converting a URL to an IP address?
A Domain Name System (DNS) server.
Define domain name system
(DNS):
a type of server or service that stores a database of domain names and their matching IP addresses
Define Domain name
a part of a URL that has the name of the web page:
for example
the domain name for the URL https://www.pearson.com is
pearson.com
What does the web browser extract from the URL to send to a DNS server?
The domain name.
What happens if the DNS server finds the domain name in its database?
It sends the matching IP address back to the web browser.
if the DNS server cannot find the domain name then It passes the request to the next level DNS server.
What are the features of World Wide web
- Hypertext information system -
web pages are written in a language called hypertext markup language (HTML). The hypertext
information system feature of the world wide web makes it easier for users to navigate around it. - Cross platform
it is possible to use it on many different types of device, such as computers, laptops, - Distributed
it is spread across many different pieces of hardware in different locations, - Open standards
Standards are guidelines that technologies must follow so that they are able to communicate effectively with each other.
open standard is open to use by everyone - Dynamic
the content that makes up the web is regularly changed and updated. - Web 2.0
2 types of web pages
static web page
dynamic web page
define a static web page
a web page in which the content is the same for every user that views it (unless changed by the author)
What language is static web page written in
web authoring languages such as HTML, CSS and JavaScript.
benefits of a static web page
easy to build.
costs less to create.
can be faster to load
can be easier to cache.
Which web authoring languages are commonly used to create dynamic web pages?
PHP, ASP, and AJAX.
What is cache:
a type of storage that stores the most frequently requested web pages and data
define dynamic web page
a web page where the content is generated every time the page is requested, so it may change and display differently for each user
How can a dynamic web page be personalised for a user?
By changing content such as the language based on the user’s location.
Why are dynamic web pages used on websites with many pages?
Because they allow content to be easily updated and personalised without manually editing each page.
What are the benefits of dynamic web pages?
can be personalised to each user, which can improve user experience.
easier to make site-wide updates.
It is more scalable, as the server can create a web page when it is needed. The data is stored in a database, and the server can extract whichever data is needed to make the page.
For web pages to be displayed, a practice called scripting needs to be used.
What are the 2 types of scripting
client-side scripting
server-side scripting.
What is client-side scripting
processing for a web page that takes place on the
client’s computer