ch26-Web Database Programming using PHP

ch26-Web Database Programming using PHP - Copyright 2007...

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

View Full Document Right Arrow Icon
Slide 26- 1 Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe
Background image of page 1

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

View Full Document Right Arrow Icon
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 26 Web Database Programming using PHP
Background image of page 2
Slide 26- 3 Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Outline Overview Structured, semi-structured, and unstructured data PHP Example of PHP Basic features of PHP Overview of PHP Database programming
Background image of page 3

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

View Full Document Right Arrow Icon
Slide 26- 4 Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Overview Hypertext documents Common method of specifying contents Various languages HTML (HyperText Markup Language) Used for generating static web pages XML (eXtensible Markup Language) Standard for exchanging data over the web PHP (PHP Hypertext Preprocessor {recursive acronym}) Dynamic web pages
Background image of page 4
Slide 26- 5 Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Structured, semi-structured, and unstructured data Structured data Information stored DB Strict format Limitation Not all data collected is structured Semi-structured data Data may have certain structure but not all information collected has identical structure Some attributes may exist in some of the entities of a particular type but not in others Unstructured data Very limited indication of data type E.g., a simple text document
Background image of page 5

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

View Full Document Right Arrow Icon
Slide 26- 6 Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Semi-structured data Figure 26.1 represents semi-structured data as a graph Note: difference between the two workers' data
Background image of page 6
Slide 26- 7 Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Semi-structured data (contd.) Key differences between semi-structured and structured data Semi-structured data is mixed in with its schema Sometimes known as self-describing data Can be displayed as a graph (Figure 26.1)
Background image of page 7

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

View Full Document Right Arrow Icon
Slide 26- 8 Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Semi-structured data (contd.) Key differences between semi-structured and structured data Schema information: names of attributes, relationships, and classes in the semi-structured data as intermixed with their data values in the same data structure Semi-structured data has no requirement for pre- defined schema to contain data
Background image of page 8
Slide 26- 9 Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Unstructured data Limited indication of data types E.g., web pages in html contain some unstructured data Figure 26.2 shows part of HTML document representing unstructured data
Background image of page 9

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

View Full Document Right Arrow Icon
Slide 26- 10 Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe PHP Open source General purpose scripting language Interpreter engine in C Can be used on nearly all computer types Particularly suited for manipulation of text pages Manipulates (dynamic html) at the Web server Conversely, JavaScript is downloaded and executed on the client Has libraries of functions for accessing databases
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 37

ch26-Web Database Programming using PHP - Copyright 2007...

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

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