The Object-Oriented Thought Process Chapter 11

Slides:



Advertisements
Similar presentations
3.02B Authoring Languages 3.02 Develop webpages..
Advertisements

DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
XHTML Week Two Web Design. 2 What is XHTML? XHTML is the current standard for HTML Newest generation of HTML (post-HTML 4) but has many new features which.
Web Development & Design Foundations with XHTML
XML and Enterprise Computing. What is XML? Stands for “Extensible Markup Language” –similar to SGML and HTML –document “tags” are used to define content.
Standards and Increasing Maintainability on Web- based Systems James Eaton SE4112/16/2006.
 Fundamentals of Web Design.  Describe the history and theory of XHTML  Understand the rules for creating valid XHTML documents  Apply a DTD to an.
Authoring Languages and Web Authoring Software 4.01 Examine web page development and design.
Tutorial 9 Working with XHTML
XHTML1 Building Document Structure. XHTML2 Objectives In this chapter, you will: Learn how to create Extensible Hypertext Markup Language (XHTML) documents.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
WML/HTML and XML Multiplatform Applications. Agenda XML – History and purpose What have HTML, WML and XML got to do with each other Why useful for multiplatform.
Sistemi basati su conoscenza XML Prof. M.T. PAZIENZA a.a
Tutorial 11 Creating XML Document
Introduction to XML: Yong Choi CSU Bakersfield.
Chapter 1 Understanding the Web Design Environment
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes, Harvard University Extension School — Cambridge, MA The Web Wizard’s Guide.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Chapter 1 Variables in the Web Design Environment
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Week 1 Understanding the Web Design Environment. 1-2 HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
1 HTML XHTML. 2 Understand the Doctype tag Know the html tags which are now classed as depreciated Understand how Dreamweaver adds styles Add styles to.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
XHTML,XML M.Abdullah Mrian. What is the XHTML Why XHTML ?
HTML and XML Behind Web Authoring Tools. 2 Objectives Introduce HTML Learn HTML Step by step Introduce XML.
HTML CSS JAVASCRIPT. HTML - Stands for Hyper Text Markup Language HTML is a ‘language’ that describes web pages. This language is a collection of codes.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
Softsmith Infotech XML. Softsmith Infotech XML EXtensible Markup Language XML is a markup language much like HTML Designed to carry data, not to display.
XML 2nd EDITION Tutorial 1 Creating An Xml Document.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
Introduction to XML This presentation covers introductory features of XML. What XML is and what it is not? What does it do? Put different related technologies.
The eXtensible Markup Language (XML). Presentation Outline Part 1: The basics of creating an XML document Part 2: Developing constraints for a well formed.
XML Design Goals 1.XML must be easily usable over the Internet 2.XML must support a wide variety of applications 3.XML must be compatible with SGML 4.It.
Introduction to Markup Languages January 31, 2002.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes The Web Wizard’s Guide to XHTML by Cheryl M. Hughes.
Representing data with XML SE-2030 Dr. Mark L. Hornick 1.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Overview of XML Ellen Pearlman Eileen Mullin Programming the Web Using.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
XML The Extensible Markup Language (XML ), which is comparable to SGML and modeled on it, describes how to describe a collection of data. A standard way.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 2: Markup Language and Site Development Essentials © 2007 Prosoft Learning Corporation All.
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
Objective: To describe the evolution of the Internet and the Web. Explain the need for web standards. Describe universal design. Identify benefits of accessible.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
XP 1 HTML Tutorial 1: Developing a Basic Web Page.
Group 9: Through examples, explain how to build a css navigation bar. Presented by: Daniel Ku, Matt Iannacci & Iphia Henry.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 13 A & B Programming Languages and the.
XML Notes taken from w3schools. What is XML? XML stands for EXtensible Markup Language. XML was designed to store and transport data. XML was designed.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
XML intro. What is XML? XML stands for EXtensible Markup Language XML is a markup language much like HTML XML was designed to carry data, not to display.
XML BASICS and more…. What is XML? In common:  XML is a standard, simple, self-describing way of encoding both text and data so that content can be processed.
Web Basics: HTML/CSS/JavaScript What are they?
XML Introduction Bill Jerome.
Project 1 Introduction to HTML.
Tutorial 9 Working with XHTML
Concepts of HTML, CSS and Javascript
XML QUESTIONS AND ANSWERS
Web Programming– UFCFB Lecture 9
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Introducing HTML & XHTML:
XML Data Introduction, Well-formed XML.
Exercise 9 Skills You create and use styles to create formatting rules that can easily by applied to other pages in the Web site. You can create internal.
Web Programming– UFCFB Lecture 9
Separating activities
Presentation transcript:

The Object-Oriented Thought Process Chapter 11 Objects and Portable Data: XML and JSON

Portability Although portable languages are powerful tools, they are really only half of the application development equation. The programs that are written using these languages must process data, and this data must be turned into information. Information is the other half of the portability equation.

Portable Data XML provides standards to move data in a variety of ways. Often we can think of data as moving vertically and horizontally. The term vertical means that data is meant to move through multiple industry groups. Horizontal applications are specific to a particular industry, such as retail or transportation.

The Extensible Markup Language (XML) The primary function of HTML is to present data in a browser. XML, on the other hand, does concern itself with data verification issues. XML is much more strict with its format than HTML and was designed to represent data.

XML Versus HTML HTML tags are all predefined. Tags such as <HTML>, <HEAD>, <BODY>, and so on are all defined in the HTML specification. You cannot add your own tags. Because HTML is intended for formatting purposes, this is not a problem. XML, however, is meant to define data. To define data, you need to create your own tag names.

XML and Object-Oriented Languages XML works hand-in-hand with object-oriented languages to provide what I have termed “portable information.” Often, an application written in an object-oriented language is developed to interact with XML. The goal is to share data in a pre-determined, portable manner.

Parsers A parser is an application that reads a document and extracts specific information. The parser reads each line of a program and uses specific grammar rules to determine how to produce code. A parser would verify that a print statement was written with the appropriate syntax.

Validating the Document (DTD) To define data, you need to create your own tag names. This is where a document called the Document Type Definition (DTD) comes into play. The DTD is where you define the tags that describe your data. You are not required to use a DTD. However, using a DTD provides a great benefit to validating XML documents.

Integrating the DTD into the XML Document

XML Validation Many applications will validate XML code. The XML validator at the w3schools site is one that is easily accessible. http://www.w3schools.com/xml/xml_validator.asp

Using Cascading Style Sheets Although XML is not generally used for presentation purposes, there are ways to format XML. One of these is to use CSS. CSS are used heavily in the HTML world to format content. To a certain degree, CSS can be used to format XML.

JavaScript Object Notation (JSON) Although XML is much more structured, especially when using a DTD, technologies such as the JavaScript Object Notation, or JSON, fall into the category of “more flexible.” The w3schools site provides the following bullet item description of JSON as: lightweight text-data interchange format language independent “self-describing” and easy to understand