Network & Web Technologies ii - Protocols & Standards Flashcards
HTTP (Hypertext Transfer Protocol)
Application Layer
Facilitates clients requesting information from the servers.
Each HTTP request by a client expects a HTTP response from the server.
Get and Post requests
The two main types of HTTP request.
‘Get’ is harmless, repeatable and can be bookmarked.
‘Post’ is for when change is meant to occur (e.g. create/update/ destroy operations).
URL (Uniform Resource Locator)
Text string representing a destination for a protocol (e.g. HTTP) request.
Several parts to URLs; protocol, host, port, path and query.
API (Application Programmers Interface)
Series of functions or protocol endpoints allowing apps to access features of another system.
E.g. web APIs that use HTTP/ API libraries that provide custom functions.
Server Side Processing
Server generating on demand content (e.g. personalised HTML) to send to clients.
Web API
Modern approach to server side processing.
Sends unformatted data to the client on demand and the client decides how to render it.
Client Side processing
Client generating content based on a data requested from the server.
Javascript
Created to make web pages interactive.
Can execute HTTP requests without page reload; allowing dynamic web apps to be created (e.g. Google Docs) where the JS interacts with the web APIs.
LAN (Local Area Networking)
Geographically small area e.g. buildings or several buildings on the same site.
WAN (Wide Area Networking)
Geographically remote area e.g. across a country, between continents.
Connects LANs together.
Explain Bus Topology
All devices are connected to a central (backbone) cable.
All devices have equal rights via the backbone cable.
If 2(+) devices send data via the backbone a collision occurs
Random timer + request withdrawn in collision in order to resend the request.
Bus Topology (+ve & -ve)
+ve: Easy setup & maintenance
Cheap installation
For small networks
-ve: More devices = Less efficient Heavily dependent on central cable Low security - all devices can see the data Hard to isolate faults Collisions occur
Explain Ring topology
Singular direction data transfer direction using control signal called ‘token’.
Only the node with the ‘token’ can transmit data, avoiding collisions.
Message examined by each successive computer. (to check if they are the message’s destination.
When the message is received, the token is put back on the network for the next node that requires its use.
Ring Topology (+ve & -ve)
+ve: unidirectional data transmission.
Easily modular for devices.
Cheaper than star network
-ve: Less secure; data transmitted between 2 devices pass through all intermediate devices.
More devices = slower data transmission
1 node failure = whole network fail.