HOW THE WEB WORKS Reference: Learning Web Design (4 th edition) by Robbins 2012 – Chapter 2 (pp. 21 – 32)

Slides:



Advertisements
Similar presentations
4.01 How Web Pages Work.
Advertisements

Project 1 Introduction to HTML.
Layer 7- Application Layer
1 Software Testing and Quality Assurance Lecture 32 – SWE 205 Course Objective: Basics of Programming Languages & Software Construction Techniques.
Internet – Part II. What is the World Wide Web? The World Wide Web is a collection of host machines, which deliver documents, graphics and multi-media.
Topics in this presentation: The Web and how it works Difference between Web pages and web sites Web browsers and Web servers HTML purpose and structure.
Introduction 2: Internet, Intranet, and Extranet J394 – Perancangan Situs Web Program Sudi Manajemen Universitas Bina Nusantara.
© 2004, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet.
1st Project Introduction to HTML.
COMPUTER TERMS PART 1. COOKIE A cookie is a small amount of data generated by a website and saved by your web browser. Its purpose is to remember information.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Chapter 14 Introduction to HTML
The Internet & The World Wide Web Notes
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
UNDERSTANDING WEB AND WEB PROJECT PLANNING AND DESIGNING AND EFFECTIVE WEBSITE Garni Dadaian.
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
INTRO TO GRAPHIC DESIGN IN THE NEW MEDIA ART468. What is a Web Designer?  A web designer creates websites.  When working as a designer, your clients.
Intro to MIS – MGS351 Building a Webpage. Chapter Overview m The World Wide Web – Web servers, Web browsers and Web pages m HTML Introduction m Using.
CSCI 323 – Web Development Chapter 1 - Setting the Scene We’re going to move through the first few chapters pretty quick since they are a review for most.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Chapter 1 Introduction to HTML, XHTML, and CSS
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Chapter 1: Introduction to Web
DATA COMMUNICATION DONE BY: ALVIN SAMPATH CARLVIN SAMPATH.
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
Web Page Design I Retest Terms Review. 1. Web pages are created using a language known as ___________. The coding of this language must follow specific.
XHTML Introductory1 Linking and Publishing Basic Web Pages Chapter 3.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
Web Engineering we define Web Engineering as follows: 1) Web Engineering is the application of systematic and proven approaches (concepts, methods, techniques,
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
1 Welcome to CSC 301 Web Programming Charles Frank.
NETWORK HARDWARE AND SOFTWARE MR ROSS UNIT 3 IT APPLICATIONS.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
How the Web Works Building a Website – Lesson 1. How People Access the Web Browsers People access websites using software called a web browser. To view.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
01 - Introduction Informatics Department Parahyangan Catholic University.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Website Design, Development and Maintenance ONLY TAKE DOWN NOTES ON INDICATED SLIDES.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Introduction to the World Wide Web & Internet CIS 101.
The Internet What is the Internet? The Internet is a lot of computers over the whole world connected together so that they can share information. It.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
Web Page Design The Basics. The Web Page A document (file) created using the HTML scripting language. A document (file) created using the HTML scripting.
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
Finally getting to html and CSS… Tim Berners-Lee, the writer of the software program that makes him the inventor of the WWW, defines the Internet as a.
4.01 How Web Pages Work.
4.01 How Web Pages Work.
Introduction to HTML.
4.01 How Web Pages Work.
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
CISC103 Web Development Basics: Web site:
Chapter 1 Introduction to HTML.
Introduction to HTML.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
E-commerce | WWW World Wide Web - Concepts
Project 1 Introduction to HTML.
E-commerce | WWW World Wide Web - Concepts
CISC103 Web Development Basics: Web site:
Web Page Concept and Design :
Introduction to World Wide Web
4.01 How Web Pages Work.
4.01 How Web Pages Work.
Presentation transcript:

HOW THE WEB WORKS Reference: Learning Web Design (4 th edition) by Robbins 2012 – Chapter 2 (pp. 21 – 32)

OBJECTIVES o An explanation of the Web, as it relates to the Internet o The role of the server o The role of the browser o Introduction to URLs and their components o The anatomy of a web page

THE INTERNET VERSUS THE WEB o The Internet is a network of connected computers to share information. No company owns the Internet; it is a cooperative effort governed by a system of standards and rules. Ways information is passed between computers includes: – –File transfer (FTP) –Many more specialized modes upon which the Internet is built e. g. WWW o Protocols are standardized methods for transferring data or documents over a network. They include FTP, , and HTTP (Hypertext Transfer Protocol). o The Web (or World Wide Web, WWW), A subset of the Internet, allows documents to be linked to one another using hypertext links—thus forming a huge “web” of connected information. The web uses HTTP to request and transfer web documents and resources.

SERVING UP INFORMATION o Server is software that “serve up” documents upon request, might be referred to as computer as well is software that “serve up” documents upon request, might be referred to as computer as well o Open source software is developed as a collaborative effort with the intent to make its source code available to other programmers for use and modification. Open source programs are usually available for free

ROLE OF SERVER SOFTWARE o Wait for a request for information, then retrieve and send that information back as quickly as possible o It must be running special web server software that allows it to handle Hypertext Transfer Protocol transactions. Web servers are also called “HTTP servers.” o Apache (open source software) Unix-based computers and Microsoft Internet Information Services (IIS) Windows-based computers are the most popular web servers o Every computer and device (modem, router, smartphone, cars, etc.) connected to the Internet is assigned a unique numeric IP (Internet Protocol) address o Domain Name System (DNS) refer to a server oreilly,com has the IP address o DNS server matches text domain name to their respective numeric IP addresses o Web server can be configured so that more than one domain name is mapped to a single IP Address, allowing several sites to share a single server.

SERVING UP INFORMATION o All connected devices are assigned a unique numeric IP address (Internet Protocol) Example: The IP Address for the University of Bahrain is IP address format IP address format (called IPv4) uses ###.###.###.###-style IP format (IPv6) allows for trillions and trillions of unique IP numbers, incompatible with current IPv4-based network, so IPv6 will operate as a sort of parallel Internet to the current IP address format (IPv4) o Domain Name System (DNS) was developed to allow users to refer to that server by its domain name. instead of A DNS server matches the text domain name to their respective numeric IP addresses.

SERVER-SIDE AND CLIENT- SIDE o Terms used to indicate which machine is doing the processing. o Client-side applications run on the user’s machine Request to access documents on the Web o Server-side, referred to as the user agent, applications and functions use the processing power of the server computer Response returns the documents for the browser

BROWSERS o The requests and responses are handled via the HTTP protocol o HTTP can be used to transfer images, movies, audio files, data, scripts, and all the other web resources that commonly make up web sites and applications. o A browser acts as a window on a computer monitor with a web page displayed in it o Popular browsers are include Internet Explorer for Windows, Chrome, Firefox, and Safari, and Opera bringing up o Browsing clients include built into mobile phones or tablets. o Sites built must be accessible and usable for all users, regardless of their browsing experiences o Pages may look and perform differently from browser to browser.

INTRANETS AND EXTRANETS o Intranets are special web-based networks, created and function like ordinary websites, but they use special security devices (firewalls) that prevent the outside world from seeing them. Intranets have lots of uses, such as sharing human resource information or providing access to inventory databases. o An extranet is like an intranet; only it allows access to select users (passwords) outside of the company. The passwords determine which slice of the information is accessible.

WEB PAGE ADDRESSES (URLS) o Every page and resource on the Web has its own special address called a URL, which stands for Uniform Resource Locator (pronounced “U-R-L,” not “erl”). o A complete URL is generally made up of three components: the protocol, the site name, and the absolute path to the document or resource: o URL uses HTTP protocol to connect to a web server on the Internet ( and request the document first.html located in the path shown.

THE PARTS OF A URL 1.The Protocol: HTTP mostly. 2.The Domain name: The next portion of the URL identifies the website by its domain name. The “ part at the beginning is the particular host name at that domain. The host name “www” has become a convention, but is not a rule. 3.The Absolute Path: Identifies the directory structure of the resource’s path. Default files are used to identify the first page the browser displays per directory. is a secure server transaction. Secure servers have special encryption devices that hide delicate content, such as credit card numbers, while they are transferred to and from the browser.

DEFAULT FILES o Typing When the slash is omitted, the server simply adds one / and the server looks for the default document index.html or default.htm. If your site uses server-side programming to generate pages, the index file might be named index.php or index.asp. o The index file is also useful for security. Some servers (depending on their configuration) display the contents of the directory if the default file is not found.

DEFAULT FILES (2) o Ensure to include an index file in every directory.

THE ANATOMY OF A WEB PAGE o Adding descriptive tags to a text document is known as “marking up” the document. Web pages use a markup language called HyperText Markup Language, or HTML for short, which was created especially for documents with hypertext links. o Pictures and Images and other multimedia elements are placed in the flow of the text with the HTML elements (e.g. img, in the case of an image) that tells the browser where to find the graphic (its URL). o View source - You can see the HTML file for any web page by choosing View ➝ Page Source or (View ➝ Source) in your browser’s menu.

HTML DOCUMENTS o “index.html”, the source document shows special tags (indicated with angle brackets, ). Descriptive tags “mark up” the document o Web pages use a markup language Hyper Text Markup Language HTML created especially for documents with hypertext links o HTML includes dozens of text elements that make up documents (headings, paragraphs, emphasized text, and of course, links) o There are also elements that add information about the document (such as its title), media such as images and videos, and widgets for form inputs, just to name a few. o The most firmly established are HTML version 4.01 and its stricter cousin, XHTML 1.0 o HTML5 specification is designed to better handle web applications and is gradually gaining browser support

THE ANATOMY OF A WEB PAGE o Cascading Style Sheets (CSS) allows designers to add visual style instructions (known as the document’s presentation) to the marked-up text (the document’s structure, in web design terminology). Currently CSS2 and CSS3 are used in modern webpages CSS rules can be located within HTML tags (inline), embedded in the header of an HTML file (internal), or linked as an external style sheet. CSS will be enforced and displayed in a cascading order: inline, internal, external.

EXAMPLE

PUTTING IT ALL TOGETHER 1.You request a web page by either typing its URL or by clicking on a link. 2.Your browser sends an HTTP Request to the server named in the URL and asks for the specific file. If the URL specifies a directory (not a file), it is the same as requesting the default file in that directory. 3.The server looks for the requested file and issues an HTTP response. a.If the page cannot be found, the server returns an error message. The message typically says “404 Not Found”. b.b. If the document is found, the server retrieves the requested file and returns it to the browser. 4.The browser parses the HTML document. the browser contacts the server again to request each resource specified in the markup. 5.The browser inserts each image in the document flow where indicated.