From administrivia to what really matters

Similar documents
Course Overview. Week 1

Host Computers 4 100,000 1,000,000 8,000, ,000, ,000, ,600, ,000,000

Local area network (LAN) Wide area networks (WANs) Circuit. Circuit switching. Packets. Based on Chapter 2 of Gary Schneider.

Chapter 2: Technology Infrastructure: The Internet and the World Wide Web

Background of HTML and the Internet

Full file at Chapter 2: Technology Infrastructure: The Internet and the World Wide Web

Collection of (1) Meta-network. Uses a standard set of protocols Also uses standards for structuring the information transferred

6 Computer Networks 6.1. Foundations of Computer Science Cengage Learning

Objectives. Connecting with Computer Science 2

(1) I (2) S (3) P allow subscribers to connect to the (4) often provide basic services such as (5) (6)

Full file at

Chapter 1 Introduction to HTML, XHTML, and CSS

The Internet Advanced Research Projects Agency Network (ARPANET) How the Internet Works Transport Control Protocol (TCP)

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

The Internet and How It Works 12 11/21/2016. Define what a computer network is, and how networks are conceptually structured.

History of the Internet. The Internet - A Huge Virtual Network. Global Information Infrastructure. Client Server Network Connectivity

CSSE280: Introduction to Web Programming

Chapter 3. E-commerce The Evolution of the Internet 1961 Present. The Internet: Technology Background. The Internet: Key Technology Concepts

Developing a Basic Web Page

Chapter 02 Technology Infrastructure The Internet and the World Wide Web

5/19/2015. Objectives. JavaScript, Sixth Edition. Introduction to the World Wide Web (cont d.) Introduction to the World Wide Web

Overview of the Internet

The World Wide Web. Internet

Outline. Internet and World Wide Web. History of the Internet. What is the Internet? How Does Data Travel Through the Internet?

Tutorial 1: HTML Tutorial (Windows Version) HTML (Hypertext Markup Language) Basics Objectives

Objectives. Introduction to HTML. Objectives. Objectives

Internet Client-Server Systems 4020 A

Chapter 10: Web Application Development. Informatics Practices Class XII. By- Rajesh Kumar Mishra. KV No.1, AFS, Suratgarh

TEST BANK FOR ELECTRONIC COMMERCE 11TH EDITION BY GARY SCHNEIDER

CS/MAS 115: COMPUTING FOR THE SOCIO-TECHNO WEB HISTORY OF THE WEB

Background to Internet and the web. Simon Mahony.

The Internet and the Web. recall: the Internet is a vast, international network of computers

Web Information System Design. Tatsuya Hagino

Web Engineering (CC 552)

Web Development. Lab. Bases de Dados e Aplicações Web MIEIC, FEUP 10/11. Sérgio Nunes

Web Development IB PRECISION EXAMS

Web Design E M I R R A H A M A N WEB DESIGN SIDES 2017 EMIR RAHAMAN 1

HTML Overview. With an emphasis on XHTML

Announcements Fawzi Emad, Computer Science Department, UMCP

The Internet and the World Wide Web

MR AZIZUL ZAMRI BIN MUHAMED AMIN WEB : Your Logo

Introduction to Bioinformatics

Introduction to Bioinformatics

A Balanced Introduction to Computer Science, 3/E David Reed, Creighton University 2011 Pearson Prentice Hall ISBN

Chapter 18: The Internet. The Internet Evolution and basic services on Internet World Wide Web (WWW) WWW browsers Uses of the Internet

= a hypertext system which is accessible via internet

Announcements Fawzi Emad, Computer Science Department, UMCP

The Internet and the World Wide Web. CIT 230 Web Design

A network is a group of two or more computers that are connected to share resources and information.

CS WEB TECHNOLOGY

Chapter Ten. From Internet to Information Superhighway

World Wide Web History, Architecture, Protocols Web Information Systems. CS/INFO 431 January 29, 2007 Carl Lagoze Spring 2007

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

Jianhui Zhang, Ph.D., Associate Prof. College of Computer Science and Technology, Hangzhou Dianzi Univ.

Adaptable and Adaptive Web Information Systems. Lecture 1: Introduction

Outline. E-business infrastructure. E-business infrastructure. Outline. E-Business Lecture 3: Chapter 3

M2-R4: INTERNET TECHNOLOGY AND WEB DESIGN

Chapter 4: Networking and the Internet. Figure 4.1 Network topologies. Network Classifications. Protocols. (continued)

Chapter 4: Networking and the Internet

This document is downloaded from DR-NTU, Nanyang Technological University Library, Singapore.

What is XHTML? XHTML is the language used to create and organize a web page:

CSC 551: Web Programming. Spring 2004

Tutorial 1 Getting Started with HTML5. HTML, CSS, and Dynamic HTML 5 TH EDITION

Networking. INFO/CSE 100, Spring 2006 Fluency in Information Technology.

Web Design and Development ACS-1809

INFS 321 Information Sources

1.1 A Brief Intro to the Internet

Midterm 1 Review Sheet CSS 305 Sp 06

DOCUMENTS ON WEB. Learning Units. V. Rajaraman The internet and the world wide web Documents and the world wide web MODULE 11

Impact. Course Content. Objectives of Lecture 2 Internet and WWW. CMPUT 499: Internet and WWW Dr. Osmar R. Zaïane. University of Alberta 4

Internet. Class-In charge: S.Sasirekha

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal

Introduction to Internet, Web, and TCP/IP Protocols SEEM

MRK260. Week Two. Graphic and Web Design

Connecting with Computer Science Chapter 5 Review: Chapter Summary:

CPET 499/ITC 250 Web Systems. Topics

Chapter 7. Telecommunications, the Internet, and Wireless Technology

Business Data Communications and Networking

Contents. Topics. 01. WWW 02. WWW Documents 03. Web Service 04. Web Technologies. Management of Technology. C01-1. Documents

E-Business Tenth Edition. Chapter 2 E-Business Technology Basics

HTML: Introduction CISC 282. September 11, What is HTML?

Introduction to Computer Networking II. Abdusy Syarif Informatics Department Faculty of Computer Science Universitas Mercu Buana

How the Web Works. Chapter 1. Modified by Marissa Schmidt Pearson

CSc 450/550 Computer Networks Network Architectures & Client-Server Model

HTML is a mark-up language, in that it specifies the roles the different parts of the document are to play.

1.1 A Brief Intro to the Internet

HTML, XHTML, and CSS. Sixth Edition. Chapter 1. Introduction to HTML, XHTML, and

Chapter 4: Networking and the Internet

Introduction: History of HTML & XHTML

Acknowledgment and Disclaimer:

Notes beforehand... For more details: See the (online) presentation program.

3 The Internet and the electronic mail

Introduction to Computer Science. William Hsu Department of Computer Science and Engineering National Taiwan Ocean University

Semantic Web Lecture Part 1. Prof. Do van Thanh

Fundamentals of Information Systems, Seventh Edition

The internet What is it??

HTML. Hypertext Markup Language. Code used to create web pages

PIC 40A. Lecture 1: The Internet. Copyright 2011 Jukka Virtanen UCLA 1 03/31/14

User Interaction: XML and JSON

Transcription:

From administrivia to what really matters Questions about the syllabus? Logistics Daily lectures, quizzes and labs Two exams and one long project My teaching philosophy...... is informed by my passion for learning What s your approach to learning? My expectations Are they too high? Some of my students disagree with me on this point... In any case, by signing up for this course, you have made a full-time commitment: 14 weeks worth of fun in 14 days!!! What about your expectations? You ll share those with me as part of today s lab 1-1

Introduction to the Internet and the WWW Internet: What is it? How did it get started? How did it evolve? How does it work? Server/client model Communication protocols Domain names, URLs Who governs it? World Wide Web What is it? How did it get started? How does it work? Web servers and web browsers Markup languages 1-2

The Internet Internet = Interconnected network of computer networks 1960s: ARPAnet (Advanced Research Project Agency now DARPA) 1969: four computers connected NSFnet (National Science Foundation) Use of the Internet is limited to government, research and academic use 1991: Commercial ban is lifted Development of the World Wide Web by Tim Berners-Lee at CERN Development of Mosaic, the first graphics-based web browser at NCSA Internet versus... WWW (starting on slide 1-9) Internet versus... intranet: private network accessible only within an organization or business Internet versus... extranet: private network used securely by an organization and its external partners 1-3

Networks A network is comprised of two or more computers connected together for the purpose of communicating and sharing resources. Types of networks: LAN or local area networks MAN or metropolitan area networks WAN or wide area networks Internet 1-4

Internet infrastructure 1-5

TCP/IP Since the Internet connects millions of computers in schools, libraries, universities, organizations, and homes around the world, it must allow computers with different hardware, software programs, operating systems, etc., to share information. In order for this diverse collection of computers to communicate, they need a common language or communication protocol. Most of the data transferred via the Internet is handled by TCP/IP or Transmission Control Protocol / Internet Protocol, protocols that allow software to send and receive information in small packets, which include addressing information (the IP part): Each computer connected to the Internet is given a unique numeric address called an IP address. Example: 129.237.33.3 TCP allows packets to be sent to a specific computer via different routes; the packets are re-assembled into a coherent whole at the destination. What the coherent whole is depends upon the software that is interpreting it. Any computer on the Internet can put packets on the network; the Internet supports end-to-end (E2E) connectivity, like our highway system. This was an important design decision, keeping the network simple, with intelligence occurring after a packet gets off the network. 1-6

The client/server model This model describes a relationship between two computer programs, namely the client and the server. The client program requests some type of service (such as a file or database access) from the server. The server fulfills the request and transmits the results to the client over the network. The client/server model applied to the Internet: Your computer connects to the Internet and runs a Web browser, which is the client program that requests web pages. Somewhere on the Internet is the Web server, which is always connected to the Internet, waiting for requests from clients; it delivers the requested web pages and other files to the client. 1-7

Higher-level protocols Many different applications and services move their data over the Internet using protocols that are built on top of TCP/IP: Email: Sending: SMTP Receiving: POP (POP3) IMAP File copy: FTP Remote logins: TELNET World Wide Web: HTTP 1-8

The World Wide Web (or the acronym zoo ) The WWW or Web is a system of linked documents built on top of the Internet that can be navigated by following hyperlinks contained in web pages. Internet standards and coordination: ISOC: Internet Society - A non-profit organization that provides leadership in Internetrelated standards, education and policy. It is the home of groups responsible for Internet infrastructure standards: http://www.internetsociety.org/ IETF: Internet Engineering Task Force http://www.ietf.org/ The mission of the IETF is to make the Internet work better by producing high quality, relevant technical documents that influence the way people design, use, and manage the Internet. IAB: Internet Architecture Board http://www.iab.org/ Provides oversight of the architecture for the protocols and procedures used by the Internet. 1-9

Internet standards and coordination (continued): ICANN: The Internet Corporation for Assigned Numbers and Names - A non-profit organization whose main function is to coordinate the assignment of: Internet domain names IP address numbers Protocol parameters and port numbers http://www.icann.org/ W3C: World Wide Web Consortium - Develops recommendations and prototype technologies related to the Web in an effort to standardize web technologies. http://www.w3.org/ WAI: Web Accessibility Initiative Develops strategies, guidelines, and resources to help make the Web accessible to as many people as possible. http://www.w3.org/wai/ 1-10

HTTP The Hypertext Transfer Protocol is a set of rules for exchanging files such as text files, image files, sound files, video files, and other multimedia files on the Web. Web browsers send HTTP requests for web pages and their associated files. Web servers send HTTP responses back to the web browsers. 1-11

URLs and domain names When you request a web page, you do not type in an IP address into your browser; instead you type in a Uniform Resource Locator (or URL), which represents the network location of the resource (web page, image, mp3 file, etc.) you want to access. A URL is a symbolic, human-readable alias for the IP address. The domain name system (DNS) divides the Internet into named domains and subdomains. A top-level domain (TLD) identifies the largest possible domain (such as.com,.org,.net,.mil,.gov,.edu and country codes such as.fr,.cn,.au). Within each top-level domain, each organization has a unique symbolic name (such as google, uwosh). Within each organization, there may be more than one web server (or host). Each web server has access to a hierarchically-organized collection of documents. Actual URL: http://www.webdevfoundations.net/7e/chapter1.html 1-12

URL examples http://www.google.com/ http://www.google.fr/ http://www.google.com.au/ http://www.google.com/index.html http://www.google.com/about.html A.html file is a plain text (not a word-processed document) that has been formatted (or marked up) for display by a Web browser. 1-13

Markup languages Not discussed in this course: SGML: Standard Generalized Markup Language XML: extensible Markup Language HTML 4.01 XHTML 1.0 In this course, we focus on: HTML5 HTML is the HyperText Markup Language. This language defines the set of markup symbols or codes that can be placed in a file intended for display by a web browser. This language was originally developed by Tim Berners-Lee to share scientific documents. Fortunately, he convinced CERN to put HTML in the public domain. HTML markup gives the content of the Web page (plain text, images, etc.) a structure, which is used by the Web browser to arrange and display the page on the screen. Be aware that not all browsers display Web pages the same way. 1-14

HTML elements An HTML document is a plain text file that contains elements. The root element is called html. Most elements are comprised of an opening tag and a closing tag with the contents of the element placed between these tags. So the file example.html contains the text shown on the right (top). All HTML documents contain two sections called the head and the body of the document. Hence, the HTML file contains two new elements that are nested in the root element, as shown on the right (middle). The parts of the document that are displayed in the browser s main window go inside the body. So what is the head for? This header section is for describing the document. It should contain the title of the document, and other meta-level descriptors. <html>... </html> <html> <head>... </head> <body>... </body> </html> <html> <head> <title>cs125</title> </head> <body> This course is fun!... </body> </html> 1-15

Creating and testing your web pages 1. Type your HTML code in your favorite text editor (e.g., Notepad). 2. Save your code as a text file with a.html extension. 3. Load your web page in your favorite browser. For instance, in Firefox, select File > Open File... to select your HTML file. Repeat these three steps each time you make changes to your HTML file. It is also a good idea to validate your HTML code by running your file through a markup validator, such as the one at: http://validator.w3.org/ Here is the (partial) output of the validator for our sample file: Validation Output: 3 Errors 1. Line 1, Column 1: no document type declaration; implying "<!DOCTYPE HTML SYSTEM>"... What gives? 1-16

HTML syntax Since there are several dialects of HTML, you must use a Document Type Definition (or DTD) to identify the type of markup language used in a web page, among: XHTML 1.0 Transitional (this is the least strict specification for XHTML 1.0) XHTML 1.0 Strict XHTML 1.0 Frameset XHTML 1.1 HTML5 (experimental) Since we will use the last DTD in this course (with a DTD name of html, NOT html5 ), the first line of each web page you create must be: <!DOCTYPE html> <!DOCTYPE html> <html lang="en">... </html> 1-17

HTML5 template I have posted on the course web site, as part of the Lab 1 handout, an HTML5 template for you to copy. It is a valid (well-formed) empty HTML5 file that you should use as a starting point for each web page that you create in this course: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title></title> </head> <body>... </body> </html> You do not need to worry about the details of the <meta> element. 1-18

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>cs125</title> </head> <body> This course is fun! </body> </html> Let s fix our example page 1-19

Your first lab, that is, Lab 0 All you have to do (for part 1 of the lab) is modify the parts in red: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>home page of [type your first and last name here]</title> </head> <body> <h3>sir Timothy John "Tim" Berners-Lee</h3> <img src="me.jpg" alt="a picture of Tim Berners-Lee"> </body> </html> Note that meta and img are void elements. 1-20