1 / 29

IT 210

IT 210 . The Internet & World Wide Web introduction. What is the Internet?. The Internet is a network of networks, that is an Inter-Network, that connects different networks from all over the world that use the same communication protocols (e.g., IP/TCP).

Télécharger la présentation

IT 210

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. IT 210 The Internet & World Wide Web introduction

  2. What is the Internet? • The Internet is a network of networks, that is an Inter-Network, that connects different networks from all over the world that use the same communication protocols (e.g., IP/TCP). • The Internet is spelled with uppercase “I”. There’s only one! • It is the infrastructure upon which the World Wide Web (and other things like e-mail) resides.

  3. What is the World Wide Web? • It is not the Internet. • It is not any computer network • It is a set of documents and other resources (e.g., images) linked together by hyperlinks, made available by web servers, and “read” by client web browsers • WWW documents are requested and sent using the HTTP protocol.

  4. Network and the OSI Model

  5. Key Internet/Web Challenge • Problem: How can we get so many different devices to interact well together on the Internet? How can we request so many different types of content on the Web? • Answer: Get hardware/software creators to use standard protocols & languages • E.g., IP/TCP for Internet communication • E.g., HTTP for Web communication • E.g., HTML, CSS, Javascript, PHP for web content

  6. Your Key Challenge • The Protocols and Languages are constantly changing!

  7. A day in the life of a webpage BIRTH: A website is born when a creator opens a text editor and adds some content using HTML (or other web standard-based language) Let’s give it a try… • Open a text editor & create main.html

  8. HTML • Markup language (NOT programming language) • Defines structure and content • HTML 4, XHTML 1 & 2, HTML 5 (different related standards). Know your audience and what browsers they’re using and use appropriate one.

  9. Viewing a Webpage • Browsers are applications designed to render HTML and other web content • Browsers do many other things such as cache data locally, run Javascript code in webpages, help avert malicious code… (See 20thingsilearned) • Browsers render differently & have different features and bugs!

  10. Posting to the Web • You’ll need… • A Web Server (software that accepts HTTP requests from browsers and “serves up” the requested files stored on the server) • A registered domain name and its associated IP address (e.g., byu.edu) • A live connection to the Internet for your server

  11. Accessing a Webpage • Use your browser to specify a web resource’s URL • Your Browser contacts a DNS Server to translate the domain name of the URL into an IP address of the Web Server • The IP address is used to route messages from the browser (on the client) to the Web Server by using the IP protocol • Your browser will use the TCP & HTTP protocols to request and send the resource from the server (assuming it has it)

  12. Simple Universal Resource Locator (URL) Example

  13. Detailed URL Example

  14. More on URLs • Other Protocols: • HTTPS: secure HTTP • FTP: File Transfer Protocol • Also: Gopher:, mailto:, telnet:, news: etc. • Many companies allow you to register domain names (e.g., http://www.register.com/). ICANN is ultimately responsible.

  15. What’s a resource? • HTML document • XML document • Anything a server can present as either of the above. • Anything a browser can present using the services of the client (MS Word doc, PDF doc, etc.)

  16. Domain Name Service (DNS) • Goal of DNS Server: “domain name resolution” – map a domain name (e.g., www.byu.edu) to an IP address (128.187.16.242) • No single DNS Server includes all of the billions of IP addresses. Instead, they store what they need (and cache recently used pairs for a limited time – TimeToLive) and request from other DNS servers what they need.

  17. DNS Server Network

  18. How http works Play demo

  19. Server Computer Server Computer Network Cloud- The Internet Web Server DNS Server User computer Network Stack Network Stack Browser Network Stack URL Reference Scenario File Data File Read Name Resolution IP Address TCP Open on port 80 HTTP file request TCP Session ACK TCP Terminate Session HTTP file data TCP Terminate ACK URL Request

  20. Server Computer Server Computer Network Cloud- The Internet Web Server DNS Server User computer Network Stack Network Stack Browser Network Stack URL Reference Scenario with Query File Data File Read Name Resolution IP Address Web server calculates and does actions, manufactures dynamic HTML page TCP Open on port 80 HTTP file request ? Other data TCP Session ACK TCP Terminate Session Dynamic HTML TCP Terminate ACK URL Request

  21. Virtual Machines Setup for 210

  22. Lab server accounts: • Remote Server • Inside the lab address 192.168.201.XXX • Outside the lab addresses • SSH access – it.et.byu.edu:51XXX • HTML access – it.et.byu.edu:41XXX • Network Attached Storage (NAS) • IP address is 192.168.0.83 • Inside lab only • You will use it to backup your data • More Details in Labs 1 & 2

  23. WEB Architecture: • How one links together documents. • How one presents document relationships. • How one interfaces to dynamic content. • How one keeps context in the network of documents.

  24. WEB SYSTEM Architecture • How one organizes the network of services to present the WEB architecture. • How one allocates tasks between the browser, the web server, and other support servers to implement the network of services of the WEB Architecture.

  25. Course: WEB SYSTEM Development • Overview of WEB Architectures and Design Principles • Study of WEB SYSTEM Architectures to implement various WEB Architectures. • Design and Implementation of WEB based systems.

  26. Questions: • What is a protocol and why is it important to web systems? • How are the Internet and WWW different? How are they related? • Describe the process through which a website is accessed. • What are HTTP, DNS servers, IP/TCP, IP addresses, URLs? • Name the parts of a URL.

More Related