Using Data Dictionary
Using Data Dictionary
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall
Learning Objectives
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-2
Cataloging
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-4
Need for Understanding the
Data Dictionary
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-5
The Data Repository
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-6
How Data Dictionaries Relate
to Data Flow Diagrams
(Figure 8.1)
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-7
Data Dictionary Categories
• Data flows
• Data structures
• Elements
• Data stores
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-8
Defining the Data Flow
• ID—identification number
• Unique descriptive name
• A general description of the data flow
• The source of the data flow
• The destination of the data flow
• Type of data flow
• The name of the data structure describing the
elements
• The volume per unit time
• An area for further comments and notations
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-9
An Example of a Data Flow Description
from World’s Trend Catalog Division (Figure
8.3)
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-10
Describing Data Structures
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-11
Algebraic Notation
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-12
Data Structure Example for Adding a Customer Order at
World’s Trend Catalog Division (Figure 8.4)
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-13
Structural Records
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-14
Structural Records Used in
Different Systems
• Structural records and elements that
are used within many different systems
are given a non-system-specific name,
such as street, city, and zip
• The names do not reflect a functional
area
• This allows the analyst to define them
once and use in many different
applications
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-15
Structural Record Example
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-16
Logical and Physical Data
Structures
• Logical:
• Show what data the business needs
for its day-to-day operations
• Physical:
• Include additional elements necessary
for implementing the system
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-17
Physical Data Structures
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-18
An Element Description Form Example
from World’s Trend Catalog Division (Figure
8.6)
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-19
Data Element
Characteristics
• Element ID
• The name of the element
• Aliases
• A short description of the element
• Element is base or derived
• Element length
• Type of data
• Input and output formats
• Validation criteria
• Default value
• An additional comment or remark area
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-20
Element Length
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-22
Data Truncation
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-24
Some Examples of Data
Formats Used in PC Systems
(Figure 8.7)
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-25
Validation Criteria
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-26
Default Value
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-28
Data Stores
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-31
Example of a Data Store Form for
World’s Trend Catalog Division
(Figure 8.9)
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-32
Creating the Data
Dictionary
• Data dictionary entries
• Created after the data flow diagram is
completed
or
• Created as the data flow diagram is
being developed
• Created using a top-down
approach
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-33
Two Data Flow Diagrams and Corresponding Data
Dictionary Entries for Producing an Employee
Paycheck (Figure 8.11)
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-34
Analyzing Input and
Output
• A descriptive name for the input or
output
• The user contact responsible
• Whether the data is input or output
• The format of the data flow
• Elements indicating the sequence
of the data on a report or screen
• A list of elements
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-35
An Example of an Input/Output Analysis
Form for World’s Trend Catalog Division
(Figure 8.12)
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-36
Developing Data Stores
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-37
Using the Data Dictionary
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-40
Using Data Dictionaries to
Create XML
• XML is used to exchange data between businesses
• XML addresses the problem of sharing data when
users have different computer systems and
software or different database management
systems
• XML documents may be transformed into different
output formats
• XML is a way to define, sort, filter, and translate
data into a universal data language that can be
used by anyone
• XML may be created from databases, a form,
software programs, or keyed directly into a
document, text editor, or XML entry program
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-41
Using Data Dictionaries to
Create XML (continued)
• The data dictionary is an ideal starting
point for developing XML content
• A standard definition of the data is created
using a set of tags that are included before
and after each data element or structure
• XML elements may also include attributes
• The XML document tends to mirror the
data dictionary structure
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-42
Using a Data Dictionary Entry to Develop XML
Content: The XML Document Mirrors the Data
Dictionary Structure (Figure 8.16)
Kendall & Kendall Copyright © 2014 Pearson Education, Inc. Publishing as Prentice
Hall 8-43
Copyright © 2014 Pearson Education, Inc.
Publishing as Prentice Hall
8-44