Web Database Design Session 6 and 7 Matakuliah : Web Database Tahun

advertisement
Matakuliah : Web Database
Tahun
: 2008
Web Database Design
Session 6 and 7
Last Session Review:
•Conventional Database Design Method
•Requirements Analysis
•Data Analysis
•Data Design
•Physical Database Design
2
Agenda:
•Complication in Web Database
•Limitation in Web Database Method
•Web Database Design Method
•Web Data Analysis
•Logical Web Data Design
•Physical Web Database Design
•Review session 1-7
3
Objectives:
•Student can understand why conventional database
design is not suitable for web database application
•Student can understand Web Database Design Method
•Student can perform web database analysis and design
Logical Web Data Design
•Student can understand Physical Web Database Design
4
Complication in Web Database
• The conventional database system is not sufficient to design web
database due two complications:
– Web Page Design, concern with:
• Web data representation
• Web data association
• Web interface design
– Design of Connectivity between web pages and the database , concern with:
• Web database logical mapping
• Web database physical mapping
5
Limitation in Web Database Method
• Only design issues that relate directly to the data in the database
and that are displayed in the web pages
• Only those web pages that are explicitly designed for the
application under consideration
6
Web Database Design Method
• What is Web Database Design Method?
– Derives a series of models that represent the data stored in the Web pages, in
additional to the data in the database
• Major Aims for Web Database Design?
– Provides systematic way of designing a data-intensive web applications
7
Web Database Design Method (cont.)
8
Web Database Design Method
• What is Web Database Design Method?
– Derives a series of models that represent the data stored in the Web pages, in
additional to the data in the database
• Major Aims for Web Database Design?
– Provides systematic way of designing a data-intensive web applications
9
Web Database Design Method
• What is Web Database Design Method?
– Derives a series of models that represent the data stored in the Web pages, in
additional to the data in the database
• Major Aims for Web Database Design?
– Provides systematic way of designing a data-intensive web applications
10
Web Database Design Method (cont.)
• Steps in Web Database Design Method?
–
–
–
–
–
–
–
Requirement Analysis *
Data Analysis *
Web Data Analysis
Logical Database Design *
Logical Web Data Design
Physical Database Design *
Physical Web Data Design
*  has been discuss in session 4 & 5
11
Web Data Analysis
• What is Web Data Analysis?
– Defines a conceptual model of the information that the Web pages are to
represent, as well as the information that the database must represent
• Input for Web Data Analysis?
– Description of the Organization and System Requirements
– Conceptual Data Model
• How to do Web Data Analysis?
– Web Data Extraction
– Web Data Connection
• Output Web Database Analysis?
– Extension of Conceptual Data Model:
• Hypermedia Link: connection between web pages
• Concept Box: web concept or technology that can not be describe by database
12
Web Data Analysis (cont.)
• Aims of Web Data Analysis:
–
–
–
–
Mapping between information presented in Web Pages and stored in Database
Check Validity of the database
Verifying the detailed design and implementation
Avoid technical complexities
• Why need Web Data Analysis:
– There are link between pages
– There are web concepts that can not be describe in Database
13
Web Data Analysis (cont.)
• Process of Web Data Analysis?
– Web Data Extraction:
• Check mapping between database and web pages
• Check database completeness to represent in web pages
– Entity attribute completeness
– Entity identify completeness
– Referential completeness
– Web Data Connection:
• Analyze the web database application description in order to identify the access
points into the system and the navigation paths between and within the web
pages
• Add navigation between web pages
• Extension of Conceptual Data Model:
– Hypermedia Link: connection between web pages
– Concept box: web concept or technology that can not be describe by database
14
Web Data Analysis (cont.)
15
Web Data Analysis (cont.)
• Case Study Web Data Analysis
Consider the following statement:
“The library stocks books, identified by an ISBN. Each book has a
title, one or more authors, and a publisher. There can be multiple
copies of a book. A borrower can borrow up to six books at any one
time, for up to three weeks. When a loan is made, the ISBN,
borrower number, date of loan and return data are recorded. When
a borrower registers with the library, their name, address,
telephone number, sex, date of birth and the date are recorded. The
web application is required to allow borrowers to search for books
on the basis of author or title”
Please make the Conceptual Data Model and Extension of
Conceptual Data Model with Hyperlink and Concept Box.
16
Logical Web Data Design
• What is Logical Web Data Design?
– Defines the data structure of the actual Web pages, including the links
between their parts and to other Web pages
• Input for Logical Web Data Design?
– ERD Normal
– Extension Conceptual Data Model with Hyperlink and Concept Box
• How to do Web Data Design?
– Design web pages interface (only web pages that connect to database)
– Mapping ERD Normal with Interface Design
• Output Web Data Design?
– Page Schema: data item from database that will be represent in web pages
17
Logical Web Data Design (cont.)
• Why need Logical Web Data Design?
–
–
–
–
Structure of unique pages
Structures common to many pages
Links
Complex data structures
• Rules to make Page Schema:
–
–
–
–
On the top: Page Schema name
Followed with <<table name>>.<<field name>>
<<attribute>>
Repeating data items are indicated by the keyword “List Of”
Links represented by dot and anchor
18
Logical Web Data Design (cont.)
• Example
19
Logical Web Data Design (cont.)
• Case Study Logical Web Data Design
Consider the following statement:
“The library stocks books, identified by an ISBN. Each book has a
title, one or more authors, and a publisher. There can be multiple
copies of a book. A borrower can borrow up to six books at any one
time, for up to three weeks. When a loan is made, the ISBN,
borrower number, date of loan and return data are recorded. When
a borrower registers with the library, their name, address,
telephone number, sex, date of birth and the date are recorded. The
web application is required to allow borrowers to search for books
on the basis of author or title”
Please make the Page-Schema from this case.
20
Physical Web Data Design
• What is Physical Web Data Design?
– Designs how the Web pages are to be implemented and connected to the
database system
• Will be discuss in details in Session 9
21
Review Session 1-7
•
•
•
•
•
Session 1: Introduction to Web Database
Session 2: Overview Relational Database
Session 3: Overview Web
Session 4 & 5: Database Design
Session 6 & 7: Web Database Design
22
Summary
• Addition step in Web Database Design:
– Web Data Analysis
– Logical Web Data Analysis
– Physical Web Data Design
23
Next Session:
•Physical Database Design
•Physical Web Database Design
•Web Architecture
•Client Processing
•Server Processing
•Java
•Implementation Choice
24
End of
Web Database Design
Thank you
25
Download