SDPL 2001Notes 7: XML Web Sites1 7 XML Web-Site Architectures n How (and why) to apply XML techniques in the implementation of Web sites? 7.1 XML, Databases,

Slides:



Advertisements
Similar presentations
Chapter 10: Designing Databases
Advertisements

SWE 316: Software Design and Architecture
Technical Architectures
A New Computing Paradigm. Overview of Web Services Over 66 percent of respondents to a 2001 InfoWorld magazine poll agreed that "Web services are likely.
INTERNET DATABASE Chapter 9. u Basics of Internet, Web, HTTP, HTML, URLs. u Advantages and disadvantages of Web as a database platform. u Approaches for.
Introduction to Web Application Architectures Web Application Architectures 18 th March 2005 Bogdan L. Vrusias
Introduction to Web Interface Technology (CSE2030)
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
CS CS 5150 Software Engineering Lecture 13 System Architecture and Design 1.
Introduction to Web Interface Technology (CSE2030)
Chapter 2 Database Environment Pearson Education © 2014.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1 of…
Introduction to Web Applications Instructor: Enoch E. Damson.
Dr. Kalpakis CMSC 461, Database Management Systems Introduction.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Distributed Systems: Client/Server Computing
Charlie Crocker Vice President Farallon Geographics, Inc. An Overview of Internet Mapping Technology.
ORACLE APPLICATION SERVER BY PHANINDER SURAPANENI CIS 764.
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
Introduction to Databases Transparencies 1. ©Pearson Education 2009 Objectives Common uses of database systems. Meaning of the term database. Meaning.
Client/Server Architectures
IS 4506 Database Connectivity.  Overview Two and Three-Tier C/S Architecture ASP Database Connection ODBC - Connection to DBMS Overview of transaction.
PHASE 3: SYSTEMS DESIGN Chapter 8 System Architecture.
Introduction: Drupal is a free and open-source content management system (CMS). A content management system(CMS) is a computer program that allows publishing,
INTRODUCTION TO WEB DATABASE PROGRAMMING
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
IS 466 ADVANCED TOPICS IN INFORMATION SYSTEMS LECTURER : NOUF ALMUJALLY 3 – 10 – 2011 College Of Computer Science and Information, Information Systems.
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.
Peter Hinrichsen TechInsite Pty Ltd Rolling your own Object Persistence Framework (OPF) Please consider the following questions:
CSS/417 Introduction to Database Management Systems Workshop 5.
1 Chapter 3 Database Architecture and the Web Pearson Education © 2009.
SDPL 2002Notes 7: Apache Cocoon1 7 XML Web Site Architecture Example: Apache Cocoon, a Web publishing architecture based on XML technology
Advanced Web Forms with Databases Programming Right from the Start with Visual Basic.NET 1/e 13.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 14 Networks, Multi-Tier Architectures, and XML.
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
Fundamentals of Database Chapter 7 Database Technologies.
第十四章 J2EE 入门 Introduction What is J2EE ?
® IBM Software Group © 2007 IBM Corporation J2EE Web Component Introduction
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
Csi315csi315 Client/Server Models. Client/Server Environment LAN or WAN Server Data Berson, Fig 1.4, p.8 clients network.
Unit – I CLIENT / SERVER ARCHITECTURE. Unit Structure  Evolution of Client/Server Architecture  Client/Server Model  Characteristics of Client/Server.
MACIASZEK, L.A. (2001): Requirements Analysis and System Design. Developing Information Systems with UML, Addison Wesley Chapter 6 - Tutorial Guided Tutorial.
Webcommerce Computer Networks Webcommerce by Linnea Reppa Douglas Martindale Lev Shalevich.
Universal Data Access and OLE DB. Customer Requirements for Data Access Technologies High-Performance access to data Reliability Vendor Commitment Broad.
SDPL 2001Notes 7.2: Apache Cocoon1 7.2 Apache Cocoon An example of a Web publishing architecture based on XML technology An.
1 Welcome to CSC 301 Web Programming Charles Frank.
2-Tier,3-Tier datawarehouse Submitted by Manisha Dubey & Akanksha Agrawal.
INTRODUCTION TO WEB APPLICATION Chapter 1. In this chapter, you will learn about:  The evolution of the Internet  The beginning of the World Wide Web,
Bayu Adhi Tama, M.T.I 1 © Pearson Education Limited 1995, 2005.
Assignment of JAVA id : BSSE-F10-M-10-JAVA1 Overview of J2EE/Session 2/Slide 1 of 38.
Chapter 2 Database Environment.
CSC 480 Software Engineering Lecture 17 Nov 4, 2002.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Database application development 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall OBJECTIVES  Define terms  Explain three components.
1 LM 6 Database Applications Dr. Lei Li. Learning Objectives Explain three components of a client-server system Describe differences between a 2-tiered.
Submitted by: Moran Mishan. Instructed by: Osnat (Ossi) Mokryn, Dr.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
Apache Cocoon – XML Publishing Framework 데이터베이스 연구실 박사 1 학기 이 세영.
XML and Distributed Applications By Quddus Chong Presentation for CS551 – Fall 2001.
Database System Concepts and Architecture
Web Engineering.
Multitier Architecture, MySQL & PHP
Chapter 2 Database Environment Pearson Education © 2009.
Introduction to Databases Transparencies
Lecture 1: Multi-tier Architecture Overview
Database Environment Transparencies
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
UFCEUS-20-2 Web Programming
Presentation transcript:

SDPL 2001Notes 7: XML Web Sites1 7 XML Web-Site Architectures n How (and why) to apply XML techniques in the implementation of Web sites? 7.1 XML, Databases, and Multi-tiered Systems –Overview of Web-based applications built using XML & database technology and multi-tiered architectures n Later: 7.2 Apache Cocoon publishing framework

SDPL 2001Notes 7: XML Web Sites2 7.1 XML, Databases, and Multi-tiered Systems J. Chelsom, InterCHANGE, Oct. 1999, n Why to use XML at a Web site? n How to store XML documents? n Multitiered architectures?

SDPL 2001Notes 7: XML Web Sites3 Advantages of XML based solutions? n Creating and delivering final document representations (HTML, PDF, …) more straightforward than using XML n Why then XML-based web sites? –control of uniform style (via style sheets) –processing of semantic content (XML) on the client –utilising XML processing capabilities on the server –tailoring different versions of the same content »for different browsers, different user groups, different uses (browsing, printing, audio, …)

SDPL 2001Notes 7: XML Web Sites4 XML and Databases n How to store and to manage XML documents? Depends on application requirements: –file system »simple and cheap »often sufficient, especially if collection small and static –database management systems »provide efficient access to large data collections »more appropriate when documents dynamically modified, especially if simultaneously by multiple users »provide consistency and integrity preserving "ACID" transactions

SDPL 2001Notes 7: XML Web Sites5 Database Transactions n Transaction –semantically meaningful unit of update operations –e.g., money transfer btw two bank accounts n ACID properties of transactions –Atomicity: either all changes or none are committed –Consistency: transactions maintain consistency of data –Isolation: transactions do not interfere with each other –Durability: committed updates are stored permanently

SDPL 2001Notes 7: XML Web Sites6 Types of XML databases 1. XML generating databases –database not aware of XML, which is just an output format for data extracted (using SQL/OQL/JSP/…) 2. XML document databases –fields for entire documents or document fragments –metadata fields to support management of these chunks 3. XML component databases –"true XML databases" –store document components as separate objects –schema for document objects corresponds to DTD

SDPL 2001Notes 7: XML Web Sites7 Commercial XML databases n Steve Pepper's "Whirlwind guide" of SGML/XML tools (Dec. 99) mentioned –10 document DB managers; 1 with XML support »SigmaLink of STEP GmbH –6 component DB managers, 3 with XML support »Astoria, POET Content Mgmt Suite, TARGET 2000 »strong development activity underway by major O-O and relational database vendors n Prizes of high-end XML database systems around USD 40, ,000 (including configuration, installation and integration to business processes)

SDPL 2001Notes 7: XML Web Sites8 Commercial XML databases (2) Ronald Bourret, Nov. 2000: Ronald Bourret, Nov. 2000: –5 XML-enabled databases  XML generating/document databases »DB2 XML Extender, MS SQL Server 2000, Oracle 8i & 9i, … –8 native XML databases  XML component databases (?)  3 RD prototypes, rest commercial products (?) –Also middleware, XML servers, XML application servers, content management systems, persistent DOM implementations: classification often difficult

SDPL 2001Notes 7: XML Web Sites9 Three-tiered architectures n Typical architecture of web-based data delivery/processing applications: –client tier (or layer) »standard web browser (+ possible additions) –middle tier / applications layer »"business logic" running on server »can be viewed or realised as number of separate tiers (-> "multitiered architectures") –data tier (or layer) »storage and maintenance of data

SDPL 2001Notes 7: XML Web Sites10 Why three-tiered architectures? n HTTP client + server + data source is a convenient implementation environment –familiar browser user-interface –standard components (browsers & servers) »cheap (free) »available on various OS & HW platforms –minimal start-up pain for new users or customers

SDPL 2001Notes 7: XML Web Sites11 Where XML gets processed? n Two major strategies: 1. to deliver XML to client »and to use, say, SAX/DOM-based applets or DOM-based scripts for processing, and CSS, or XSLT  HTML(+CSS) for presentation 2. to process XML on the server »and to deliver plain HTML (+CSS) to client n Which one to choose?

SDPL 2001Notes 7: XML Web Sites12 Delivering XML to web clients n Advantages: –single semantically marked-up XML document may correspond to multiple single-purpose HTML pages –reduces network traffic and moves processing load from server to client n Disadvantages –assumes XML capable browsers –application development for unknown client environments difficult

SDPL 2001Notes 7: XML Web Sites13 Delivering XML to web clients (2) n Disadvantages (continued) –exposure of data structures (XML) and "business logic" (applets or scripts) to customers n XML processing on client may be a viable solution in controlled environments like intranets (clients uniform, users trusted) n "XML on server, HTML to client" strategy gained more popularity recently

SDPL 2001Notes 7: XML Web Sites14 Processing XML on server n plain HTML delivered to clients n Advantages: –support of non-XML-capable browsers »(Next section discusses taking of different HTML browsers into account) »ability to address wider audiences –"semantic firewall" »document structures and business logic remain unexposed –control over processing environment (server) »easier application development and testing »control over performance

SDPL 2001Notes 7: XML Web Sites15 Processing XML on server (2) n Disadvantages: –may increase data traffic: a new HTML page for each different view on the document –fails to utilise (often idle) processing cycles of client computers –heavier network and server load n Combinations of client/server processing also possible: Delivering –"downgraded" XML to clients –XML to selected clients only