COMP 208/214/215/216 – Lecture 7 Documenting Design.

Slides:



Advertisements
Similar presentations
Management Information Systems, Sixth Edition
Advertisements

3/5/2009Computer systems1 Analyzing System Using Data Dictionaries Computer System: 1. Data Dictionary 2. Data Dictionary Categories 3. Creating Data Dictionary.
Database Systems: A Practical Approach to Design, Implementation and Management International Computer Science S. Carolyn Begg, Thomas Connolly Lecture.
Chapter 6 Methodology Conceptual Databases Design Transparencies © Pearson Education Limited 1995, 2005.
Methodology Logical Database Design for the Relational Model
Lecture Fourteen Methodology - Conceptual Database Design
Methodology Conceptual Database Design
Modeling & Designing the Database
© Pearson Education Limited, Chapter 12 Physical Database Design – Step 3 (Translate Logical Design) Transparencies.
LOGICAL DATABASE DESIGN
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
CSC271 Database Systems Lecture # 21. Summary: Previous Lecture  Phases of database SDLC  Prototyping (optional)  Implementation  Data conversion.
Requirements Walk-through
Chapters 17 & 18 Physical Database Design Methodology.
CSC271 Database Systems Lecture # 30.
ITEC224 Database Programming
Chapter 16 Methodology - Conceptual Database Design.
Methodology - Conceptual Database Design Transparencies
Software School of Hunan University Database Systems Design Part III Section 5 Design Methodology.
Chapter 9 Designing Databases Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Methodology Conceptual Databases Design
9/14/2012ISC329 Isabelle Bichindaritz1 Database System Life Cycle.
CSCI 3140 Module 2 – Conceptual Database Design Theodore Chiasson Dalhousie University.
1 Chapter 15 Methodology Conceptual Databases Design Transparencies Last Updated: April 2011 By M. Arief
Physical Database Design Chapter 6. Physical Design and implementation 1.Translate global logical data model for target DBMS  1.1Design base relations.
Chapter 6 1 © Prentice Hall, 2002 The Physical Design Stage of SDLC (figures 2.4, 2.5 revisited) Project Identification and Selection Project Initiation.
Methodology - Conceptual Database Design. 2 Design Methodology u Structured approach that uses procedures, techniques, tools, and documentation aids to.
1/26/2004TCSS545A Isabelle Bichindaritz1 Database Management Systems Design Methodology.
Methodology: Conceptual Databases Design
DATABASE MGMT SYSTEM (BCS 1423) Chapter 5: Methodology – Conceptual Database Design.
Team Dosen UMN Database Design Connolly Book Chapter
© Pearson Education Limited, Chapter 9 Logical database design – Step 1 Transparencies.
Conceptual Database Design
Chapter 8 Methodology - Conceptual Database Design Chapter 15 in Textbook.
Methodology - Conceptual Database Design
Part4 Methodology of Database Design Chapter 07- Overview of Conceptual Database Design Lu Wei College of Software and Microelectronics Northwestern Polytechnical.
+ Information Systems and Databases 2.2 Organisation.
Chapter 9 Logical Database Design : Mapping ER Model To Tables.
Concepts of Database Management Seventh Edition Chapter 1 Introduction to Database Management.
The relational model A data model (in general) : Integrated collection of concepts for describing data (data requirements). Relational model was introduced.
Modelling Methodologies Chapter 16, 17, 18. Modeling Methodologies2 Database Design Physical DB design Logical DB design Conceptual DB design Hardware.
B. Information Technology (Hons.) CMPB245: Database Design Physical Design.
Management Information Systems by Prof. Park Kyung-Hye Chapter 7 (8th Week) Databases and Data Warehouses 07.
April 20022/CS/3X1 Database Design Design method John Wordsworth Department of Computer Science The University of Reading Room.
CompSci 280 S Introduction to Software Development
Logical Database Design and the Rational Model
COMP390/3/4/5 Final Year Project Design
Methodology Conceptual Databases Design
Methodology Logical Database Design for the Relational Model
Client/Server Databases and the Oracle 10g Relational Database
Methodology Conceptual Database Design
Information Systems Today: Managing in the Digital World
Chapter 5: Logical Database Design and the Relational Model
Week 12 Option 3: Database Design
Methodology – Physical Database Design for Relational Databases
COMP390/3/4/5 Final Year Project Design
Entity-Relationship Model and Diagrams (continued)
From ER to Relational Model
國立臺北科技大學 課程:資料庫系統 fall Chapter 18
Physical Database Design
Conceptual Database Design
Design and implementation
Requirements Walk-through
Database solutions Chosen aspects of the relational model Marzena Nowakowska Faculty of Management and Computer Modelling Kielce University of Technology.
Analysis models and design models
The Physical Design Stage of SDLC (figures 2.4, 2.5 revisited)
Methodology Conceptual Databases Design
The ultimate in data organization
COMP390/3/4/5 Final Year Project Design
Presentation transcript:

COMP 208/214/215/216 – Lecture 7 Documenting Design

Content Details about: Review Meeting Design Process

Design Review Meeting This meeting reviews outputs from the design steps It will review 8 items of documentation which should be produced in this phase of the project This review counts as 20% of your group mark.

Organisation Details It will take place in week 8 (18 - 22 March) Teams are responsible for arranging a time for the review Send e-mail to reviewer, cc-ed to all group members Make your booking by Friday 15 March. The documentation to be reviewed must be on VITAL on or before 12 noon Friday 15 March. Reviews will typically last 20-30 minutes.

Form of the Review For each deliverable: A team member introduces the item The reviewer may ask questions for clarification The team replies to questions The reviewer may make comments The team may briefly respond to comments A Report Form will be completed by the reviewer and given to the team a few days later.

Database Design Connolly and Begg give a very detailed step by step guide to design See Chapters 9-10 & 12-16 (Chapters 6-17 in 1st edition), summarised in Appendix B. Following this method produces a number of documents We review the most important items today.

Database Design Method Logical DB design Create and check the ER model Map ER model to tables Physical DB design Translate Logical DB design for target DBMS Choose file organization and indexes Design user views Design security mechanisms Design controlled redundancy Monitor and tune operational system

Documentation to be Reviewed ( for a typical DB project ) Data Dictionary Global Logical Data Model (ER Diagram) Logical Table Structures Physical Table Structures Business Rules Transaction/Table Matrix User Interface Design (if included) Project Gantt Chart.

(1) Data Dictionary The Data Dictionary is built up throughout the logical design phase It should contain all information about the data to be used by the system Entities require a description, any aliases used, and occurrence See Fig 9.2 (Fig 8.1 in 1st edition) For each relationship in which an entity participates we need the multiplicity, the related entities and their multiplicity See Fig 9.7 (Fig 8.6 in 1st edition)

Extract from data dictionary

Extract from the data dictionary showing descriptions of relationships

(1) Data Dictionary For each attribute of an entity, a description, data type and length, whether nulls are allowed and whether it can be multi valued See Fig 9.8 (Fig 8.7 in 1st edition) For each entity its primary and alternate keys Fig 9.10 (Fig 8.9 in 1st edition) Any integrity constraints on attributes resulting from referential integrity and business rule considerations Indication of derived data items, and how they are computed See p. 205 (p. 139 in 1st edition).

Extraction of data dictionary showing descriptions of attributes

Extract from data dictionary showing attributes with primary and alternate keys

(2) Global Logical Data Model During design you may produce local data models for user views These are brought together into a global data model. The global data model will be reviewed The global data model is a diagram showing: entities and their primary keys, relationships between entities and their direction and multiplicities An example is given in: Figure C.4 p 439 (Figure 10.4 in 1st edition).

Global ER diagram

(3) Logical Table Structure The Logical Table structures comprise, for each proposed table: The name of the table The columns for that table the primary key for that table any alternate keys for that table any foreign keys for that table, and the tables they reference An example is given Figure C.3 p. 438 (Figure 10.5 in 1st edition).

Tables for the global logical data model

(4) Physical Table Structure The physical table structures comprise, for each table to be implemented, the name of the table, the domains of the columns the column names, their domains, and whether they may be null the primary and any alternate keys any foreign keys and their associated integrity constraints An example for one physical table is given at Figure 12.2 (both editions).

Example of Physical Table

(5) Business Rules Business Rules express constraints on data that can be entered e.g. 10 books for students, 30 books for staff may be borrowed from a library These are instantiated policies of the client company or organization expressed in the form of rules over the data Note that Business Rules are more precise than company policies Documentation should show any such rules and how they will be implemented validation rules on fields validation rules for records.

(6) Transaction/Table Matrix The transaction/table matrix shows, for each transaction, what tables are used, and how they are used Each table forms a row Each transaction has four columns insert read update delete An example is given as Table 13.1 (both editions).

Transactions and tables matrix Transaction (e): Enter details of new member registering at a branch Transaction (k): Update/delete the details of a given member Transaction (p): List the title, category and availability of all videos at a specific branch. etc.

Process Design Some possible additional design tools: Use-cases Descriptions of typical usage situations Data flow diagrams Showing which data items are transferred between which components, in which scenarios Navigation path diagrams Storyboards Functional descriptions of components.

Use Cases Use Cases show what happens when each type of user interacts with the system By recording all the ways the system is used (“cases of use”) we accumulate all the goals or requirements of the system The Use Case is a collection of sequences of actions or events relating to a particular goal We would typically develop use cases for all the main processes in normal operation, and for many of the processes in abnormal operation.

A Process Map Browse catalog Home page Register as customer Browse Login Put item in cart Make purchase A Process Map Customer Logout Give payment details

Navigation structure charts Page 1 Page 1.1 Page 2.1 Home page Page 2 Page 2.2 Page 3

Storyboards These give an outline of each web-page, showing: Where the text is Where the graphics are, and what these will consist of Where the links are etc. The term comes from the movie industry Before a movie is made, each scene is mapped onto story boards to enable Planning of rehearsals and shooting Obtaining props and costumes Planning of lighting, sound, camera angles, etc.

A storyboard Page Heading Links: Link1 Link2 Link3 Photo of book cover Advertisement Links: Link1 Link2 Link3 Photo of book cover

(7) Gantt Chart Don’t forget to include a Gantt chart in your documentation and in your presentation This chart should show your progress so far, and your plans for the remainder of the project. For the next stage (Implementation), your plans should be detailed. For later stages, plans may still only be high-level.

Summary By FRIDAY 15 MARCH 2013 You must book your meeting. You must supply the design documents During the week 18/03 - 22/03 You must attend the review meeting Please attend the meeting punctually This review is an important milestone: It documents the design which you will implement in the last phase of the project.