Professional Documents
Culture Documents
DDD Report by Swam Pyae Maung Maung
DDD Report by Swam Pyae Maung Maung
1
HND-42 Swam Pyae Maung Maung
Contents
Introduction.................................................................................................................................................3
Shop Information.........................................................................................................................................3
User Requirements......................................................................................................................................3
ER Diagram..................................................................................................................................................3
Normalization..............................................................................................................................................4
1NF – 1st Normalization Form......................................................................................................................5
2NF - 2nd Normalization Form......................................................................................................................6
3NF - 3rd Normalization Form......................................................................................................................6
Data Dictionary............................................................................................................................................7
User Interface..............................................................................................................................................9
Database Efficiency....................................................................................................................................17
Data validity...............................................................................................................................................17
Documentation..........................................................................................................................................19
User Documentation.................................................................................................................................19
User Interface............................................................................................................................................20
Admin UI....................................................................................................................................................29
Technical Documentation..........................................................................................................................31
Software Requirement..............................................................................................................................31
Hardware Requirements...........................................................................................................................32
Flow chart..................................................................................................................................................33
References:................................................................................................................................................35
2
HND-42 Swam Pyae Maung Maung
Introduction
This report is about the database development for The Bread Box, a
local bread shop. I am a database developer who’s working at IT consultancy
Co., Ltd. My company was submitted to work the database for The Bread
Box, a local bread shop so I will create software to fulfil their requirements.
Shop Information
The Bread Box, a local bread box, is a many kinds of bread sales shop.
The Bread Box delivers the good products that in stock can be response to
the customers’ orders and print invoice is produced for selected items.
User Requirements
- Customize the sales ordering and can add to the cart.
- Build a database system to store data in many categories.
- Make a file including item data that customers buy, display product
name, product ID, product details, such as description, product
quantity left, order quantity, product price and its supplier.
- An invoice must be printed out for selected item.
ER Diagram
ER Diagram is the conceptual diagram, by analyzing data
systematically and produce a dynamic diagram. This helps you to produce
dynamic system and so you should design an ER diagram before actual
producing a database.
3
HND-42 Swam Pyae Maung Maung
Normalization
It’s a large database which is built without normalization form can be
very convenient. In non-normalization database, enter data, deleting, and
updating can be also very efficient, as the same progress is repeating again
and again continuously before all data is set.
4
HND-42 Swam Pyae Maung Maung
Before arranging:
These following 3 tables are the same table, which are having repeating data
and are not dynamic.
After arranging:
Order Table
OrderDetails
5
HND-42 Swam Pyae Maung Maung
Order Table
Item Table
OrderDetails
Order Table
OrderDetails
Item Table
6
HND-42 Swam Pyae Maung Maung
Customer Table
Staff Table
Branch Table
Category Table
Data Dictionary
Order Table
OrderDetails Table
7
HND-42 Swam Pyae Maung Maung
Branch Table
Item Table
Customer Table
8
HND-42 Swam Pyae Maung Maung
Staff Table
CategoryDetails Table
User Interface
This is the following UI of the product page and can login, sign up,
search products of the shop in the product list. This is the home page of our
“The Bread Box” when you touch the icon of the app from your home screen
and it will show like this.
9
HND-42 Swam Pyae Maung Maung
This is the second home page for visitors after 3seconds or more times
will take depends on your connection. In this page, visitors can search our
products. If visitors want to sign up without looking at the menu, so they
can just tap the “Sign up” button.
10
HND-42 Swam Pyae Maung Maung
This is the login page for customers who have already account to log
in. If not, customers can login in with Facebook, google or twitter instead of
email which is more efficient and also customers can go to menu by tapping
“skip & shopping” button but even though they skip & go shopping, after
adding products to carts, they still need to login and if new customer, they
have to sign up. Customers can also make “forget password” if they forgot
their password.
This is the sign-up page for new customers who want to do first. If
they make sign-up and login first, it’s going to be easier to shop. If they
11
HND-42 Swam Pyae Maung Maung
don’t want to sign-up with email and password, they can just tap sign-up
with social media which is the same as login with social media.
12
HND-42 Swam Pyae Maung Maung
them to that layout. It’s all the same as first, they can select, search and
can do many things.
This is the layout of “Loose Rolls” and this bread product can only have
one item yet. Also, like muffins, when customers or visitors tap the loose
rolls icon, the system will directly take to that layout.
13
HND-42 Swam Pyae Maung Maung
This is the favorite page of customers and visitors when they touch the
“love icons” which are revealed in other pages. Also make the products that
they select to the cart and the cart will show with 3 numbers and they if
they tap the cart button, system will show the shopping cart.
This is the page after customers selected the products quantities they
want and before check out of payments and their information. There’s also
total amount without Tax and discount. After getting confirmation about
those products from customers and then if products are sure that they took.
Then, they can tap check out button.
14
HND-42 Swam Pyae Maung Maung
This is the page after showing branch information, order details and
staff details. In this page, you can edit your address. You can add addresses
more than two. Order summary will show again in this page but there’s a
15
HND-42 Swam Pyae Maung Maung
little bit different which is you can add more or remove the quantity per
items of your products. You can also check amounts. After that, the system
will lead you to “Payment Method”.
16
HND-42 Swam Pyae Maung Maung
This is last page of customers’ orders and invoice. In this page, there’s
only be receipt, total amount, tax percentage, total amount including tax
percentage and delivery information. Also, include “Paid” stamp to let
customers know that they already paid and don’t want them to have any
doubt. After confirming, customers can tap confirm, then shopping time will
be done and system will lead them to the main page again of our Menu lists.
Database Efficiency
The database which is built in more efficiently way in order to keep the
data in one place. The data can be now added, update and delete without
taking too much time. And also, you can easily search for many data in
proper ways. As for example, if you want to find the specific details of
product, you can type and search with productID or name and the details
about products will be shown.
The design and UI (user interface) made this database to get more
utility by common people. For sure one thing is that only authorized people
will have access and do changes to the database to get more secure and
more integrity. That is what clients want and wish for.
Data validity
17
HND-42 Swam Pyae Maung Maung
Branch
Order
Staff
Customer
Order Detail
18
HND-42 Swam Pyae Maung Maung
Category
Item
Documentation
User Documentation
It is the documentation of the service provided to end users. It’s
designed to explain the user about how the service or system work and how
system assistance to the user.
19
HND-42 Swam Pyae Maung Maung
User Interface
User Login
Password – Password that need to get into the system, with email.
Forgot password – If you forgot your password, you can reset your password
with code which will send to your email.
Login – click this button after entering email and password correctly.
Signup – click this button if you don’t have new account to enter the system.
Skip & shopping – click this button and this will lead to the system.
20
HND-42 Swam Pyae Maung Maung
Visitor Page
Signup – click this button if you don’t have new account to enter the system.
Products Page
21
HND-42 Swam Pyae Maung Maung
22
HND-42 Swam Pyae Maung Maung
Favorite Page
23
HND-42 Swam Pyae Maung Maung
24
HND-42 Swam Pyae Maung Maung
25
HND-42 Swam Pyae Maung Maung
26
HND-42 Swam Pyae Maung Maung
27
HND-42 Swam Pyae Maung Maung
Invoice page
28
HND-42 Swam Pyae Maung Maung
Admin UI
Admin login
Login/register – Click this button for old customer to login and new customer
can register.
29
HND-42 Swam Pyae Maung Maung
Password – Admin password that need to get into the system, with email.
Forgot password – If you forgot your password, you can reset your password
with code which will send to your email.
Login – click this button after entering email and password correctly.
Navigation bar – can go home page, menu page, order page and branches
page.
Signup – click this button if you don’t have new account to enter the system.
30
HND-42 Swam Pyae Maung Maung
Navigation bar – can go home page, menu page, order page and branches
page.
Technical Documentation
Technical documentation is how explained how your system functions,
what are the system requirements, software requirements and hardware
requirements.
Software Requirement
Operating System
Hardware Requirements
You will need an own server where the database will be built and to
store data and access by your company. The recommend following PC
requirements are as follows.
Component Requirement
Hard Disk 1 TB or more (To get better more space)
32
HND-42 Swam Pyae Maung Maung
Flow chart
User login flow chart
33
HND-42 Swam Pyae Maung Maung
34
HND-42 Swam Pyae Maung Maung
References:
Lecture’s slides
https://miracleskills.com/uk/assignment/unit-4-database-design-and-
development-assignment-help-2211.html
https://www.mockflow.com/
What are the requirements for SQL Server 2016? (servermania.com)
EDraw Max
Normalization Excel Slides
35