CS122aSlides18

CS122aSlides18 - CS122A EECS116 Introduction to Data...

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
CS122A / EECS116 Introduction to Data Management Spring 2009 Prof. Mike Carey Bren School of ICS UC Irvine Slides based on previous CS122a lecture notes as well as  material borrowed from U-Wisconsin, Stanford, & Berkeley
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CS122A/EECS116 Notes 16 2 Announcements Homework, project, etc. notes Part 4 of project is due Thursday by midnight HW #7 (the last homework!) is due Friday by midnight Don’t miss discussion section this week…! This week’s plan Last time we covered relational database design theory This week we will relax two of the main constraints… “Schema first” (vs. “schema last” or “schema never”) Flat world (vs. more complex data, e.g., with nesting) Any lingering questions…?
Background image of page 2
XML Stands for eXtensible Markup Language XML 1.0 – a recommendation from W3C, 1998 Roots: SGML (a complex document markup language) After the roots: a format for sharing data as well
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Why XML is of Interest to Us XML is just syntax for data Note: we have no syntax for relational data But XML is not relational: it’s semistructured This is exciting because: Can translate any data to XML Can ship XML over the Web (HTTP) Can input XML into any application Thus: data sharing and exchange on the Web
Background image of page 4
XML Data Sharing and Exchange application relational data Transform Integrate Warehouse XML Data WEB (HTTP) application application legacy data object-relational
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
From HTML to XML HTML describes the presentation
Background image of page 6
HTML < h1 > Bibliography </ h1 > < p > < i > Foundations of Databases </ i > Abiteboul, Hull, Vianu <br> Addison Wesley, 1995 < p > < i > Data on the Web </ i > Abiteoul, Buneman, Suciu < br > Morgan Kaufmann, 1999
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
XML < bibliography > < book > < title > Foundations… </ title > < author > Abiteboul </ author > < author > Hull </ author > < author > Vianu </ author > < publisher > Addison Wesley </ publisher > < year > 1995 </ year > </ book > </ bibliography > XML describes the content
Background image of page 8
Web Services A new paradigm for creating distributed applications? Systems communicate via messages, contracts. Example: order processing system MS .NET, J2EE – some of the platforms XML – a part of the story, namely the data format
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Tags: book , title , author , … Start tag: < book >, end tag: </ book > Elements: < book >…</ book >,< author >…</ author > Elements are nested Empty element: < red ></ red > abbrv. < red /> An XML document: single root element Well formed  XML document: if it has matching tags
Background image of page 10
More XML: Attributes < book price = “55” currency = “USD”> < title > Foundations of Databases </ title > < author > Abiteboul </ author > < year > 1995 </ year > </ book > Attributes are alternative ways to represent data
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
More XML: Attributes Revisited < book> < title > Foundations of Databases </ title > < author > Abiteboul </ author > <
Background image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/18/2009 for the course CS 122a taught by Professor Carey during the Spring '09 term at UC Irvine.

Page1 / 51

CS122aSlides18 - CS122A EECS116 Introduction to Data...

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online