Professional Documents
Culture Documents
Chapter Four
Chapter Four
SOFTWARE DESIGN
4.0 INTRODUCTION
Software design is the process of preparing the plan for a software application
while satisfying a problem’s functional requirements and not violating its non-
functional constraints. During this process, tradeoffs need to be made, like the
tradeoff between performance and resource consumption, so that the application is
optimized to meet the non-functional requirements. There can be no tradeoffs among
functional requirements because they all need to be met. (gery, 2013)
Simply Software Design is the process of defining software methods,
functions, objects, and the overall structure and interaction of your code so that the
resulting functionality will satisfy your user’s requirements. Oriented Analysis
Design techniques in particular, seem to be taking the software world by storm.
(quora.com)
This chapter topic was discussing about the software design of the Design and
Implementation of Wedding Hall Booking and Reservation Management System.
Designing is the most significant phase of software development; it requires a careful
planning and philosophy on the part of the system designer
47
4.1 ARCHITECTURAL DESIGN
Hall Booking
wedding Payment
48
Figure 4.2 User Interface Design
MySQL, the most popular Open Source SQL database management system,
is developed, distributed, and supported by Oracle Corporation.
A database is a structured collection of data. It may be anything from a simple
shopping list to a picture gallery or the vast amounts of information in a corporate
network. To add, access, and process data stored in a computer database, you need a
database management system such as MySQL Server. Since computers are very good
at handling large amounts of data,
Database Design is a collection of processes that facilitate the designing,
development, implementation and maintenance of enterprise data management
systems. Properly designed database are easy to maintain, improves data consistency
and are cost effective in terms of disk storage space The purpose of every database is
to store information, texts, images, even media files. All dynamic modern websites
rely on one or more databases for storing articles and other published content,
information about the users, contact information, connections to other websites.
49
4.4 Database Design
50
Normalization degrees of relational database tables have been defined and include:
• First Normal Form(1NF),
• Second Normal Form(2NF)
• Third Normal Form(3NF)
First normal form (1NF). This is the "basic" level of database normalization,
and it generally corresponds to the definition of any database, namely. It contains
two-dimensional tables with rows and columns. Each column corresponds to a sub
object or an attribute of the object represented by the entire table. Each row
represents a unique instance of that sub object or attribute and must be different in
some way from any other row (that is, no duplicate rows are possible).
All entries in any column must be of the same kind.
booking b_id customer hall_i w_id start_ti End_time Total_ Total_ bookin
_id d me Guest price g_date
s
51
Hall hall_id hall_nam price address reg_date
e
Booking b_id customer_id hall_id w_id start_tim End_tim Total_ Total_pric booking_
e e Guests e date
peyment payme customer_id amount payment_ account_ date
nt_id method_id id
52
4.4.1.3 THIRD NORMAL FORM (3NF)
Third normal form (3NF). At the second normal form, modifications are still
possible because a change to one row in a table may affect data that refers to this
information from another table.
The database is in Third normal form if it satisfies following conditions:
• It is in Second normal form.
• There is no transitive functional dependency.
53
4.4.2 TRANSFORMING E-R DIAGRAMS INTO RELATIONS
A data dictionary contains metadata i.e data about the database. The data
dictionary is very important as it contains information such as what is in the database,
who is allowed to access it, where is the database physically stored etc. The users of
the database normally don't interact with the data dictionary, it is only handled by the
database administrators. (www.coca-cola.com, 2020).
The data dictionary in general contains information about the following:
Names of all the database tables and their schemas.
Details about all the tables in the database, such as their owners, their security
constraints, when they were created etc.
Physical information about the tables such as where they are stored and how.
Table constraints such as primary key attributes, foreign key information etc.
Information about the database views that are visible.
54
emp_id INT 11
Username Varchar 100
Password Varchar 100
image Varchar 100
status Varchar 100
date date
emp_last_name VARCHAR 45
Phone VARCHAR 48
55
address VARCHAR 45
title_id INT 11
branch_id INT 11
hall_id INT 11
wedding_id INT 11
start_time DATE
End_time DATE
Total_Guests VARCHAR 45
Total_price VARCHAR 45
booking_date DATE
56
VARCHAR 45
Hall_name
price VARCHAR 45
address VARCHAR 45
reg_date DATE
System inputs and outputs are produced at the end of the analysis phase
• Precise appearance of forms and reports was not defined during this phase.
• During analysis, you focused on which forms and reports need to exist and their
contents.
The design of data entry screens shall consist of the following forms.
1. Login Form
2. Account Form
3. Customer Form
4. wedding Form
5. Users Form
6. Employee Form
7. Bill Form
8. Branch Form
9. booking Form
10. Payment Form
11. Hall Form
12. Reports
57
Figure 4.5 Login form
This is the first login from system without login and it won't open without a user and
password.
58
This form will register Customers Information
59
Figure 4.8 This form registers user Information form
60
4.6 CHAPTER SUMMARY
This chapter discussed system design of the Wedding Hall Booking and
Reservation management system including Architectural Design, user interface
design, Data storage design, database design, Normalization, Transforming E-R
diagram into relations, data dictionaries, design forms and finally chapter summary.
61