9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 16 – Part 2 The World Wide Web The New Yorker, Peter Steiner, July 5, 1993.

Slides:



Advertisements
Similar presentations
The World Wide Web. 2 The Web is an infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that.
Advertisements

XML: Extensible Markup Language
Chapter 16 The World Wide Web Nell Dale John Lewis.
Chapter 16 The World Wide Web.
4.01 How Web Pages Work.
DT228/3 Web Development WWW and Client server model.
Understand Web Page Development Software Development Fundamentals LESSON 4.1.
Kyung Hee University 1 1 Application Layer. 2 Kyung Hee University Position of Application Layer.
Project 1 Introduction to HTML.
The Application Layer Chapter 7. Electronic Mail Architecture and Services The User Agent Message Formats Message Transfer Final Delivery.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic.
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.
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
1 The World Wide Web. 2  Web Fundamentals  Pages are defined by the Hypertext Markup Language (HTML) and contain text, graphics, audio, video and software.
Chapter 16 The World Wide Web. 2 The World Wide Web (Web) is an infrastructure of distributed information combined with software that uses networks as.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
1st Project Introduction to HTML.
Chapter 16 The World Wide Web. 2 The World Wide Web (Web) is an infrastructure of distributed information combined with software that uses networks as.
CIS101 Introduction to Computing Week 06. Agenda Your questions Excel Exam during second hour Our status after the snow day Introduction to the Internet.
The Internet & The World Wide Web Notes
Application Layer. Applications A program or group of programs designed for end users. A program or group of programs designed for end users. Software.
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.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Chapter 16 The World Wide Web. 2 Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic HTML.
Chapter 1 Introduction to HTML, XHTML, and CSS
Chapter 16 The World Wide Web. 2 Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic HTML.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Chapter 16 The World Wide Web Chapter Goals ( ) Compare and contrast the Internet and the World Wide Web Describe general Web processing.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic.
Chapter 16 The World Wide Web. 2 The Web is an infrastructure of distributed information combined with software that uses networks as a vehicle to exchange.
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
Chapter 8 Introduction to HTML and Applets Fundamentals of Java.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic.
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
1 Welcome to CSC 301 Web Programming Charles Frank.
Nell Dale & John Lewis (adaptation by Michael Goldwasser) The World Wide Web.
Overview Web Session 3 Matakuliah: Web Database Tahun: 2008.
Web Programming Brian Toone 8/27/2014. Outline for today 1.Understanding the architecture of the web 2.Overview of programming languages – Client-side.
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Website design and structure. A Website is a collection of webpages that are linked together. Webpages contain text, graphics, sound and video clips.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Working with XML. Markup Languages Text-based languages based on SGML Text-based languages based on SGML SGML = Standard Generalized Markup Language SGML.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
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)
The Internet Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
4.01 How Web Pages Work.
Project 1 Introduction to HTML.
Objective % Select and utilize tools to design and develop websites.
WWW and HTTP King Fahd University of Petroleum & Minerals
Chapter 1 Introduction to HTML.
Project 1 Introduction to HTML.
Objective % Select and utilize tools to design and develop websites.
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Chapter 27 WWW and HTTP.
Secure Web Programming
Chapter 16 The World Wide Web.
Introduction to World Wide Web
4.01 How Web Pages Work.
Presentation transcript:

9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 16 – Part 2 The World Wide Web The New Yorker, Peter Steiner, July 5, 1993

9/19/06 Hofstra University – Overview of Computer Science, CSC005 2 Communication Application Operating System Programming Hardware Information Layers of a Computing System

9/19/06 Hofstra University – Overview of Computer Science, CSC005 3 Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic HTML documents Describe several specific HTML tags and their purposes

9/19/06 Hofstra University – Overview of Computer Science, CSC005 4 Chapter Goals Describe the processing of Java applets and Java server pages Compare and contrast HTML and XML Define basic XML documents and their corresponding DTDs Explain how XML documents are viewed Hands-On HTML Coding

9/19/06 Hofstra University – Overview of Computer Science, CSC005 5 Web Browser Figure 16.2 A browser retrieving a Web page

9/19/06 Hofstra University – Overview of Computer Science, CSC005 6 Structure of URIs URI has three parts: Naming schema (http) Name of the host computer ( Name of the resource (~dbbook/index.html) URLs are a subset of URIs

9/19/06 Hofstra University – Overview of Computer Science, CSC005 7 Hypertext Transfer Protocol What is a communication protocol? Set of standards that defines the structure of messages Examples: TCP, IP, HTTP What happens if you click on ?| Client (web browser) sends HTTP request to server Server receives request and replies Client receives reply; makes new requests

9/19/06 Hofstra University – Overview of Computer Science, CSC005 8 HTML Web pages are created (or built) using a language called the Hypertext Markup Language, or HTML The term markup language comes from the fact that the primary elements of the language take the form of tags that we insert into a document to annotate the information stored there

9/19/06 Hofstra University – Overview of Computer Science, CSC005 9 HTML Fundamentals An important heading A slightly less important heading This is the first paragraph. This is the second paragraph. This is a really interesting topic!

9/19/06 Hofstra University – Overview of Computer Science, CSC HTML Fundamentals

9/19/06 Hofstra University – Overview of Computer Science, CSC Trees (cont’d) Hierarchical structures are called trees Binary trees Each node has no more than two children The beginning of the tree is a unique starting node called the root The node to the left of a node, if it exists, is called its left child The node to the right of a node, if it exists, is its right child If a node in the tree has no children, it is called a leaf node Figure 9.16 A binary tree

9/19/06 Hofstra University – Overview of Computer Science, CSC Linked Implementation Linked implementation An implementation based on the concept of a node A node is made up of two pieces of information the item that the user wants in the list, and a pointer to the next node in the list

9/19/06 Hofstra University – Overview of Computer Science, CSC Linked Implementation Figure 9.4 Anatomy of a linked list

9/19/06 Hofstra University – Overview of Computer Science, CSC Linked Implementation Figure 9.5 An unsorted linked list

9/19/06 Hofstra University – Overview of Computer Science, CSC Images and Links Many tags can contain attributes that indicate additional details about the information or how the enclosed information should be displayed An image can be incorporated into a web page using the IMG element, which takes an attribute that identifies the image file to display

9/19/06 Hofstra University – Overview of Computer Science, CSC Images and Links (cont.) A link is specified using the element A, which stands for anchor The tag includes an attribute called HREF that specifies the URL of the destination document. For example Documentation Central!

9/19/06 Hofstra University – Overview of Computer Science, CSC Interactive Web Pages When HTML was first developed, there was no way to interact with the information and pictures presented in a web page As users have clamoured for a more dynamic web, new technologies were developed to accommodate these requests Many of the new ideas were offshoots of the newly developed Java programming language

9/19/06 Hofstra University – Overview of Computer Science, CSC Java Applets Java applet A program that is designed to be embedded into an HTML document and transferred over the Web to someone who wants to run the program An applet is embedded into an HTML document using the APPLET tag

9/19/06 Hofstra University – Overview of Computer Science, CSC Java Applets A browser has a built-in interpreter that executes the applet, allowing the user to interact with it. Consider the difficulties inherent in this situation How can we execute a program that was written on one type of computer on possibly many other types of computers?

9/19/06 Hofstra University – Overview of Computer Science, CSC Java Applets Java programs are compiled into Bytecode, a low-level representation of a program that is not the machine code for any particular type of CPU Java applets are restricted as to what they can do The Java language has a carefully constructed security model An applet, for instance, cannot access any local files or change any system settings

9/19/06 Hofstra University – Overview of Computer Science, CSC Java Server Pages A Java Server Page, or JSP, is a web page that has JSP scriptlets embedded in them Scriptlet A small piece of executable code intertwined among regular HTML content Also called a Servelet!

9/19/06 Hofstra University – Overview of Computer Science, CSC Java Server Pages A JSP scriptlet is encased in special tags beginning with Imagine JSP scriptlets as having the expressive power of a full programming language Page 488

9/19/06 Hofstra University – Overview of Computer Science, CSC Java Server Pages Note that JSPs are executed on the server side where the web page resides By the time it arrives at your computer, all active processing has taken place, producing a static (though dynamically created) web page JSPs are particularly good for coordinating the interaction between a web page and an underlying database

9/19/06 Hofstra University – Overview of Computer Science, CSC XML HTML has a predefined set of tags and each tag has its own meaning There is nothing about HTML tags that describes the true content of a document The Extensible Markup Language, or XML, allows the creator of a document to describe its contents by defining his or her own set of tags

9/19/06 Hofstra University – Overview of Computer Science, CSC XML Metalanguage A language for talking about, or defining, other languages XML is a metalanguage

9/19/06 Hofstra University – Overview of Computer Science, CSC XML Like HTML, an XML document is made up of tagged data Figure 16.5 An XLML document containing data about books

9/19/06 Hofstra University – Overview of Computer Science, CSC XML Document Type Definition (DTD) A specification of the organization of the document The structure of a particular XML document is described by its corresponding DTD document Figure 16.6 The DTD document corresponding to the XML books document

9/19/06 Hofstra University – Overview of Computer Science, CSC XML XML represents a standard format for organizing data without tying it to any particular type of output Extensible Stylesheet Language (or XSL) A language for defining transformations from XML documents to other output formats Figure 16.7 An XML document can be transformed into many output formats

9/19/06 Hofstra University – Overview of Computer Science, CSC AJAX Asynchronous JavaScript and XML The latest craze in interactive pages Gmail

9/19/06 Hofstra University – Overview of Computer Science, CSC The Basics of HTML - Getting started with HTML - More advanced features - Adding a touch of style - HTMLTidy - Ensures proper HTML code

9/19/06 Hofstra University – Overview of Computer Science, CSC Other Useful Websites - lots of helpful information and excellent books css Zen Garden - everything you ever wanted to know about XML - definitive source for XSL

9/19/06 Hofstra University – Overview of Computer Science, CSC

9/19/06 Hofstra University – Overview of Computer Science, CSC Previous Homework Get a gmail account......if you don't want to use your mobile (or you don't have one), send an to: When you get an account, send me a This becomes our 1 st Assignment!

9/19/06 Hofstra University – Overview of Computer Science, CSC Assignment One Create A Simple Home Page – 6/10 pts Create A Complex Home Page – 8/10 pts Links, images, color fonts, multi-column layouts Create A Multilevel Site – 10/10 pts Tree structure Multiple pages Due Next Wednesday No lateness

9/19/06 Hofstra University – Overview of Computer Science, CSC Homework Read Chapter Sixteeen (Again!)...be careful on the web!