-
Notifications
You must be signed in to change notification settings - Fork 8
2. Introduction to Web World
Massive networks of millions of computers all over the world that use to share and transmit information trough following protocols/mediums
- Sms messaging
- Application data
- World Wide Web
- Runs over the Internet
- Transfer data using HTTP (Hyper Text Transfer Protocol)
Communication/series of interaction between Clients & Servers
Devices which requests and renders web contents. Some of the popular clients are Browsers, Mobile Apps, Screen Reader Devices etc
Applications which deliver Web Contents, Services to Clients
- The browser is Software/application helps to visit, view, accessing information and take the best use of websites/web pages
- Popular browsers are Google Chrome, Mozilla Firefox, Internet Explorer, Safari etc.
1. User Type in URL (Uniform Resource Locator) like http://www.yahoo.com ->
2. passed to DNS (Domain Name Server) ->
3. DNS translates URL into IP (Internet Protocol) address (172.16.0.0) ->
4. Browser use DNS to locate host server and send request of content (in the form of HTML page, Images, CSS, JavaScript).
Simply shows content requested by the client without any additional processing (Static sites pages usually consists of Front end technologies like HTML, CSS, JavaScript)
First Business Logic execute by Web Applications like ASP, PHP, Ruby on Rails etc. than browser shows content requested by the client (Dynamic sites pages usually consists of Front end technologies like HTML, CSS, JavaScript, in combination with some Back end technology like ASP, PHP, Ruby on Rails etc.)
- Every site have unique IP (Internet Protocol) address used to identify location (http://www.google.com = 169.20.127.243)
- DNS (Domain Name Server) is like Internets phone book which stores unique website and its IP (Internet Protocol) address for each and every website
- IP Address == Domain Name Server (172.16.0.0 == domain name http://www.yahoo.com or so)
- Protocols are simple languages/standards/set of rules through which computers share information which each other
- Internet wouldn't work at all without Protocols
- Different/multiple layers of protocols
- Application Layer (creation & sharing of data over the web)
- HTTP (Hyper Text Transfer Protocol)
- FTP (File Transfer Protocol)
- SMTP (Simple Mail Transfer Protocol)
- DNS (Domain Name Server)
- RIP (Routing Information Protocol)
- SNMP (Simple Network Management Protocol)
- Transport Layer (communication)
- TCP (Transmission Control Protocol and Internet Protocol created in 1973)
- UDP (User Datagram Protocol)
- Internet Layer (address and routing structure of data)
- IPv4 (Internet Protocol Version 4)
- IPv6 (Internet Protocol Version 6)
- Application Layer (creation & sharing of data over the web)
- Standard protocol for transferring data/resources over the Web
- In case of HTTP, Browsers are HTTP Clients, send HTTP request and Servers are HTTP Servers, send the HTTP response to transfer data with a standardized format
- HTTP is one-way stateless protocols, it simply means that once the REQUEST sent & RECEIVED than that state is forgotten ie discarded by the browser and web server, which makes HTTP very much simple and efficient
- Due to one way stateless nature its difficult to send and receive OR upload and download large files with HTTP.
Typically used to transfer large files and its ideal for uploading or downloading files to your site
The Standard web protocol for sending email across the web. Most email clients use SMTP for sending and receiving emails
POP typically used to receive emails.
Standard protocol for delivering/serving audio or video over the web. Its commonly used in voice over and chat applications.
Developed by Macromedia (Adobe Corp.) for streaming audio video and data over the Internet, between a Flash player and a server.
HTTP layered with a security protocol. Usually used for e-commerce or other secure transactions, payment gateways.
URL Uniform Resource Locator OR (Universal Resource Locator) specifies its location on a computer network (web address, web path, web site name).
URL = http://www.yahoo.com
http = protocol
//www.yahoo.com:8080 = resource name
www = sub-domain (Most of cases sub-domain is not required ie you can type http://yahoo.com)
yahoo = domain name
com = top-level domain
URL path/port http://www.yahoo.com/products/product1.html http://www.yahoo.com`:80` (80 = port number (80 is default port))
- .com
- .net
- .org
- .info
The browser uses HTTP to communicate with Web Server and request pages, content. Browsers rendering engine translates/renders pages and displays the contents as per support.
- Browsers developed independently of each other
- Multiple rendering engines drive page layout
- DOM (Document Object Model) support varies
- Browsers use independent JavaScript engines
Engine | Browser |
---|---|
Trident | Internet Explorer, (AOL - America Online), Windows Mobile |
Presto | Opera |
Gecko | Mozilla FF, Camino |
Webkit | Safari, Google Chrome, WebOS |
Blink | Google Chrome, Opera 14+ |
- W3C (World Wide Web Consortium) is main International Standards Organization for the World Wide Web help in Developing protocols and guidelines that ensure long-term growth for the Web
- W3C (World Wide Web Consortium) started in the year 1994 to issue recommendations for web technologies
- Check web standards for consistent design (The Web Standard Project): www.webstandards.org
- W3C website: https://www.w3.org/
Websites are hosted/uploaded on Web Server. Web Server is nothing more than normal computer installed with specialized software and components for a specific use. Web stacks are groups of software that work with each other to build and process websites (static & Dynamic websites).
- OS (Operating System)
- Web Server
- Database Server
- Programming Language
Web Stack | Full Form (Technologies) |
---|---|
LAMP | Linux Apache MySql Php / Linux Apache MySql Perl/Python |
MAMP | Macintosh Apache MySql Php |
WAMP | Windows Apache MySql Php |
WISA | Windows IIS MS SQL .NET |
MARS | MySql Apache Ruby Solaris |