Sheet 1XML Technology in E-Commerce 2001Lecture 1 XML Technology in E-Commerce Lecture 1 WWW, HTML, CSS, XML, Meta-modeling.

Slides:



Advertisements
Similar presentations
4. Internet Programming ENG224 INFORMATION TECHNOLOGY – Part I
Advertisements

Getting a Taste of Cascading Stylesheets Steve Mooradian December 14, 2005.
Authoring Languages and Web Authoring Software 4.01 Examine web page development and design.
Project 1 Introduction to HTML.
Vrije Universiteit amsterdamPostacademische Cursus Informatie Technologie Basic Technology HTML, HTTP, MIME client / server architecture client-side extensions.
Lecture 2B: HTML and CSS IT 202—Internet Applications Based on notes developed by Morgan Benton.
Tutorial 11 Creating XML Document
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
1st Project Introduction to HTML.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
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
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.
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
Creating a Simple Page: HTML Overview
Chapter 1 Introduction to HTML, XHTML, and CSS
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
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.
2440: 211 Interactive Web Programming Introduction to the Internet & the World Wide Web.
First things, First Do you belong in here? – 10 – 12 – Comp. Discovery or Keyboard/Comp Apps – Do you have any experience with Web Page Design?????
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 14 Networks, Multi-Tier Architectures, and XML.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
XML About XML Things to be known Related Technologies XML DOC Structure Exploring XML.
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
HTML PROJECT #1 Project 1 Introduction to HTML HTML Project 1: Introduction to HTML 2 Vocabulary Internet service provider (ISP) A company that has a.
Introduction to HTML Tutorial 1 eXtensible Markup Language (XML)
Internet Web Publishing III. Intro to Cascading Style Sheets Patricia Roberts.
Web Design and Development for E-Business By Jensen J. Zhao Copyright 2003 Prentice Hall, Inc. Web Design and Development for E-Business Jensen J. Zhao.
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.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
Sheet 1XML Technology in E-Commerce 2001Lecture 2 XML Technology in E-Commerce Lecture 2 Logical and Physical Structure, Validity, DTD, XML Schema.
XML Basics A brief introduction to XML in general 1XML Basics.
Web Application Programming Presented by: Mehwish Shafiq.
Cascading Style Sheets CSS. Source W3Schools
Session 1 Chapter 1 - Introduction to Web Development ITI 133: HTML5 Desktop and Mobile Level I
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Web Technologies Lecture 2 HTML and CSS. HTML Hyper Text Markup Language – Describes web documents – Made up of nested HTML markup tags – Tags are the.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Asstt. Prof Sonia Sharma Computer Dept 1 HTML ( Hypertext MarkUP Language ) HTML is the lingua franca for publishing hypertext on the World Wide Web.
HTML A brief introduction HTML1. HTML, what is? HTML is a markup language for describing web documents (web pages). HTML stands for Hyper Text Markup.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
How to… Cascading Style Sheets. How to Insert a Style Sheet When a browser reads a style sheet, it will format the document according to it. There are.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
Introduction to the World Wide Web & Internet CIS 101.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
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 Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
1 Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size, font color etc…
Web Page Programming Terms. Chapter 1 Objectives Describe Internet and Understand Key terms Describe World Wide Web and its Key terms Identify types and.
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.
National College of Science & Information Technology.
Chapter 1 Introduction to JavaScript.  Study the history of the World Wide Web  Work with well-formed Web pages  Learn about Web development  Learn.
Web Development. Agenda Web History Network Architecture Types of Server The languages of the web Protocols API 2.
Distributed Control and Measurement via the Internet
Project 1 Introduction to HTML.
Unit 4 Representing Web Data: XML
Chapter 1 Introduction to HTML.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
W3C Web standards and Recommendations
Project 1 Introduction to HTML.
Internet Programming.
Chapter 7 Representing Web Data: XML
Chapter 27 WWW and HTTP.
Introduction to World Wide Web
INFS 230 L Internet Technology
Presentation transcript:

Sheet 1XML Technology in E-Commerce 2001Lecture 1 XML Technology in E-Commerce Lecture 1 WWW, HTML, CSS, XML, Meta-modeling

Sheet 2XML Technology in E-Commerce 2001Lecture 1 Lecture Outline World Wide Web - facts, architecture; HTML; CSS; XML –Markups; –Well-formedness; –Meta-modeling;

Sheet 3XML Technology in E-Commerce 2001Lecture 1 WWW –Global hypertext project at CERN; –Proposed by Tim Berners-Lee in 1989; Web Consortium (W3C) - –Founded in 1994; –Three hosts - MIT, INRIA, Keio University; –Leads the evolution of the Web; –More than 20 web-related specifications; World Wide Web

Sheet 4XML Technology in E-Commerce 2001Lecture 1 World Wide Web Architecture Web Server Web Browser HTTP request for Web Resource HTTP response - usually a Web page HTTP - Hypertext Transport Protocol; HTML - Hypertext Markup Language; URI - Uniform Resource Identifier - a naming scheme for resources on the Web;

Sheet 5XML Technology in E-Commerce 2001Lecture 1 HTML Example XML Technology in E-Commerce Lecture 1 Example of HTML Resources: W3C Web Consortium Other Examples - Deitel 2.4, page 26; 3.2, page 47

Sheet 6XML Technology in E-Commerce 2001Lecture 1 Enable development of web applications - user interface is presented by the browser; Web server handles form data through server extensions; Opens a possibility for dynamic web pages; CGI (Common Gateway Interface) - protocol for data exchange between the server and its extensions (CGI scripts); Popular languages for CGI programming - Perl, C, Python, Java, VBScript, JavaScript; HTML Forms Examples - Deitel 3.4, page 52

Sheet 7XML Technology in E-Commerce 2001Lecture 1 HTML Links Web page Web Resource Link has two ends (anchors) and direction; A element - sets up an anchor: – Java Home sets up a source anchor. href attribute contains an URI; – TOC - sets up a destination anchor; Link behavior - destination resource is retrieved and displayed;

Sheet 8XML Technology in E-Commerce 2001Lecture 1 Meta data about the document: HTTP response headers: Data for search agents: HTML tags usage

Sheet 9XML Technology in E-Commerce 2001Lecture 1 Multimedia content - plug-in and ActiveX technology; Scripts - dynamic and interactive web pages on the client side; Java Applets - programs executed in the browser environment; HTML editors - FrontPage, Dreamweaver, NetObjects Fusion, Adobe GoLive; Demo: Editing web pages with FrontPage HTML Multimedia, extra functionality, editors

Sheet 10XML Technology in E-Commerce 2001Lecture 1 CSS Cascading Style Sheets Purpose - specify the layout of web pages; Benefits: –Separate structure from presentation; –Impose consistent look and feel to the entire site; –Promotes reusability; Specifications: –CSS level 1 and 2; –CSS level 3 - work in progress;

Sheet 11XML Technology in E-Commerce 2001Lecture 1 Inline styles some text style element p {font-size : 20pt; color : blue;} External style sheets CSS Declaration

Sheet 12XML Technology in E-Commerce 2001Lecture 1 Style origin: –User agent (browser) default style sheet; –User style; –Author style; Cascading order - how to resolve conflicts between style rules; Inheritance - an element inherits style properties from its ancestors; CSS Cascading and Inheritance More info - Deitel 4.4, page 84

Sheet 13XML Technology in E-Commerce 2001Lecture 1 XML XML, HTML, SGML HTML Drawbacks: Fixed Tags Set Poor Linking Does not support validation Simple structures Specifies only presentation Relations between SGML, HTML and XML:

Sheet 14XML Technology in E-Commerce 2001Lecture 1 XML Idea Sherlock Holmes Baker Street 221b London England

Sheet 15XML Technology in E-Commerce 2001Lecture 1 XML Basic terms Annotated XML Specification:

Sheet 16XML Technology in E-Commerce 2001Lecture 1 Characters in the XML document form markups and character data; Markups: –start, end and empty element tags; –entity and character references; –comments; –CDATA delimiters; –Document type declarations; –Processing Instructions; All other characters form character data; XML Characters and Markups

Sheet 17XML Technology in E-Commerce 2001Lecture 1 ……..Content……….. XML Elements and element’s content Start tag End tag Element’s content Element’s content: Only elements; Empty; Mixed (character data and other elements); - Empty element Attribute specification

Sheet 18XML Technology in E-Commerce 2001Lecture 1 Sherlock Holmes Baker Street 221b 1111 London England Sherlock Holmes and Doctor Watson lived at 221b Baker Street between , according to the stories written by Sir Arthur Conan Doyle. XML Example

Sheet 19XML Technology in E-Commerce 2001Lecture 1 Processing Instructions: CDATA Sections: Hello World! ]]> <![CDATA[ if((x==0) && (y <2)) System.out.println(“Ok!”); ]]> XML Processing Instructions and CDATA Sections

Sheet 20XML Technology in E-Commerce 2001Lecture 1 Purpose - resolve name collisions in a single XML document; Definition - Set of names uniquely identified by URI, used for element types and attribute names; Namespace declaration: ………. XML Namespaces Examples - Deitel 5.8, page 123

Sheet 21XML Technology in E-Commerce 2001Lecture 1 XML Meta-modelling - well-formedness EBNF Pascal Grammar a Pascal Program Defines EBNF XML GrammarWF Constraints an XML Document Defines

Sheet 22XML Technology in E-Commerce 2001Lecture 1 XML Meta-modelling - validity

Sheet 23XML Technology in E-Commerce 2001Lecture 1 Browser support: –Netscape - XML, CSS1, CSS2 (partly); –IE 5 - XML, CSS1, CSS2 (partly), XSLT; –Opera - XML, CSS1, CSS2(partly); XML Editors: –XML Spy 3.5; –XMetal; –Epic; –FrameMaker; Demo: Visualizing XML files in IE5, editing with XML Spy XML Tool Support

Sheet 24XML Technology in E-Commerce 2001Lecture 1 Summary Today’s Web - HTTP, URI, HTML, CSS; XML is a technology for creating markup languages; XML documents contain character data and markups; Elements are the main building blocks for the document structure; Document well-formedness means conformance to the XML grammar and constraints; Read: Deitel 1..5, Well-formedness and Validity of XML Documents Skip: Deitel 3.3, 3.5, 3.7, 3.9, 3.10, ; Assignment: Deitel Ex 5.4 and Ex 5.7, pages 132, 133