LAMP Flashcards
What does the server do?
Accept a request from the client and respond to it
What does the client do?
Web browser and the computer, send requests and
receive returned data
What are between protocols and devices?
Switches, routers, proxies, gateways, TCP/IP
What do Switches, routers, proxies, gateways, TCP/IP do between protocols and devices?
ensure that the requests and responses are correctly
transferred
What does TCP stand for?
Transmission Control Protocol
What does IP stand for?
Internet Protocol
What does TCP do?
error detection, flow control, and
overall reliability
• ensures the data gets delivered
to the server without getting
lost or duplicated
• resend information that might
get lost in transit
What does an internet protocol do?
Deliver data through devices
from one network to the next
and all around the world
– IP address
What is a ‘data link layer’?
travel over a piece of wire, a
fiber optic cable, a wireless
network, or a satellite link.
What does URL stand for and what do they do?
Uniform Resource Locators
– a type of uniform resource indicators (URIs)
– Identify the resources
What does HTTP stand for and what does it do?
HTTP: Hyper Text Transfer Protocol
– used to transfer Hyper Text representation of a resource
from the server to client
– helps clients request/receive information from servers
What does HTML stand for and what is it?
HTML: Hyper Text Markup Language
– The programming language
– helps render the information appropriately on the client
What are the seven steps in requesting from a static website?
Web pages are delivered to the user exactly as stored
1. Enter http://server.com into browser
2. Browser looks up the IP address for server.com
3. Browser issues a request for the home page
4. Request crosses the internet and arrives at the web
server
5. Web server looks for the web pages on its disk
6. Web page is retrieved by the server and returned to the
browser
7. Browser displays the web page
Why use a dynamic website instead of static?
Provide a “live”, “dynamic”, or “interactive” user
experience.
Content (text, images, form fields, etc.) can change
• In response to different contexts or conditions
What are the six main components of a dynamic website?
– PHP
• PHP handles all the main work on the web server
– MySQL
• MySQL manages all the data
– JavaScript
• JavaScript can also talk with your PHP code on the web server
whenever it needs to update something
– CSS
• the combination of CSS and JavaScript looks after web page
presentation
– HTML 5
• A new standard HTML
– Webserver