Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
CAPSTONE PROJECT 1
SMART - MENU
Database design document
Version 1.0
Date: Nov 12nd, 2019
Vo Duy Quyen
INTERNATIONAL SCHOOL
Smart - Menu Database Design Document
NUMBER OF A* CHANGE
VERSION DATE FIGURE, TABLE M TITLE OR BRIEF REQUEST
NUMBER OR PARAGRAPH D DESCRIPTION NUMBER
1.0
Smart - Menu Database Design Document
Document Approvals: The following signatures are required for approval of this
document.
Smart - Menu Database Design Document
Contents
CONTENTS....................................................................................................................4
1 INTRODUCTION....................................................................................................5
1.1 Scope, Approach and Methods.....................................................................5
1.2 Related Documents........................................................................................5
2 SUBSYSTEM/APPLICATION OVERVIEW............................................................6
2.1 Hardware and Software Architecture...........................................................6
2.2 Data stores......................................................................................................7
3 DATABASE DESIGN DECISIONS.........................................................................7
3.1 Assumptions...................................................................................................7
3.2 Entity Mapping................................................................................................7
3.3 Mapping rules..................................................................................................7
3.4 Additional Objects..........................................................................................7
3.5 Table Definitions.............................................................................................8
3.6 Table Relationship Diagrams.........................................................................9
3.7 Key mappings...............................................................................................10
3.8 Dependencies................................................................................................10
3.9 Denormalisation............................................................................................10
3.9.1 Performance Improvement............................................................................................ 10
3.9.2 Functional Support......................................................................................................... 11
4 IMPLIED FUNCTIONALITY.................................................................................11
5 DATA ACCESS.....................................................................................................11
6 References............................................................................................................11
Smart - Menu Database Design Document
1 Introduction
This Database Design provides the basis for the Smart-Menu System Database Design. It
defines the database that will support the Smart-Menu System Data Model. It describes both
logical and physical definition, non-functional issues, and the database interfaces; storage
aspects are defined in the physical database design sections. The design is created with
expected data volumes, functional and non-functional usage of the tables, and performance
considerations and requirements in mind.
2 Subsystem/Application Overview
The Smart-Menu is a web application that allows configuration in two mode: stand-alone or
distributed.
The high-level objectives of Smart-Menu project are to develop a distributed application that
will:
- Selling system
- provide a GUI for the simple client, easy to use and be pleasing
Platform Web
Software The Smart-Menu web application was developed as web app with
distributed and stand-alone configuration. The proposed programming
language for the development of the main Smart-Menu application using
ASP.NET MVC
at a minimum
Smart - Menu Database Design Document
The Smart-Menu project stores data in My SQL Database. Besides music is stored in audio
file with corresponding formats
3.1 Assumptions
Some assumptions made due to lack of information, will be update in next version of
database design document:
Comment :
Primary key print in underline, bold
The following diagram show the tables for the Smart- Menu schema and their relationships.
The relationships are implemented as foreign key constraints.
Primary key print in bold
3.8 Dependencies
List here any dependencies for the Smart-Menu System schema. One type of dependencies
can be foreign keys across schemas. One-to-many relationships are mapped to foreign keys.
List foreign key dependencies here:
3.9 Denormalisation
To improve performance or otherwise support specific functionality, redundancy is sometimes
added to the design. Two types of redundancy are distinguished, performance
denormalisation and functional denormalisation. The first type is aimed at improving
performance, the second is needed to support the proposed functionality of the system.
4 Implied Functionality
The model contains supporting modules that perform functions that may be trivial to the users
but are considered to be important functionality by the developers. Decisions regarding
database objects involved in such implied functionality are discussed below:
Security Design
Describe how authentication, integrity and confidentiality requirements are supported
within the database and interfaces to it.
5 Data Access
This section describes aspects on how data defined in this design is used.
6 References
[1] Database design documents of jukebox project (VJS.Userstories.v1.2)