0% found this document useful (0 votes)
10 views9 pages

System Design and Database Architecture

The document discusses the system design process for a hotel booking system. It includes logical design to refine the system to meet user requirements, interface design to consider hardware and files, and database design including schema, normalization, and entity relationship diagrams. The key modules of the system are also outlined, including login, adding guests, editing guests, and deleting guests.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views9 pages

System Design and Database Architecture

The document discusses the system design process for a hotel booking system. It includes logical design to refine the system to meet user requirements, interface design to consider hardware and files, and database design including schema, normalization, and entity relationship diagrams. The key modules of the system are also outlined, including login, adding guests, editing guests, and deleting guests.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

SYSTEM DESIGN

INTRODUCTION
System design is the process of defining the architecture, components, modules, interfaces, and data for a system to satisfy specified requirements.

Once the analysis of the software requirements of the system was complete, the next step was to determine how the problem was to be solved. System design aimed at answering the question (how will the information system do what it must do to obtain a solution to the problem?) It includes:

Logical design: This involved a successive refinement of the system until it met the users requirements. The logical view of the system gave the system view as seen by the user which helped to ensure that the needs of the user were considered in the design process

Interface design: In this case the physical environment was considered that is the hardware, files and program procedures. Was represented using pseudocode.

Database design: Includes database schema representation, data normalization and database
model diagram (class diagrams)

The database design was done to enhance the speed of access, efficiency, and amount of storage space taken by the files.

DATA FLOW DIAGRAMS The following are the tools that were used to show the logical and the physical data flow diagrams of the new system to be developed

ENTITY

DATA FLOW

PROCESS

DATA STORE

MAGNETIC STORE

Logical data flow diagram

GUEST

BOOK ROOM BOOKING REPORTS 1 BOOKINGS TAKES CARE OF THE BOOKINGS MADE

S 1 1

STORE BOOKINGS

BOOKINGS FEEDBACK

WEB MASTER

RECEIVE BOOKINGS 2

BOOKINGS REPORTS

FRONT DESK

FEEDBACK

DEALS WITH CLIENTS BOOKINGS

MANAGEMENT

LOGISTICAL REQUESTS S2 STORE ALL RECORDS

DATABASE DESIGN

Below are tables which are used to show the design of the database and also contains the various data types of the fields that are in the respective tables:
Users table
Field Name username password Name Email address Data Type varchar varchar varchar varchar Size 50 50 30 50 Null No No No No

Guest
Field name Guest name Guest id Guest address location Data type varchar varchar varchar varchar Size 30 30 30 30 Null No No No No

Hotel
Field name Hotel name Hotel location Hotel Room numbers Data type varchar varchar int Size 30 30 5 Null No No No

Normalization
1NF

Name, username, password, email address, guest id, guest name, guest address, guest location, hotel name, hotel location, hotel room numbers. I. II.
2

Name, user name, password, email address, date registered, date last visited, session time, session id, user type. Travelers name, travelers id, passport number, travelers address, country of origin, destination name, destination id, destination description, destination description.
NF 1.

I Username Name, password, email address, date registered, user type

II Session id, date registered, date last visited, session time, username, password
.2 I Travelers id, travelers name, passport number, travelers address, country of origin, destination

id II Destination id, destination name, destination description, destination region, travelers id


3NF Destination Travelers Destination id destination name destination description travelers id

User type, date registered, date last visited, username, password


Category User type date registered date last visited username, password

Session id, username, password, session time, date last visited, userTravelers id type 4.0.8 Entity relationship diagram
User Username Name Password email address Session Session id, session time date last visited user type username, password travelers name passport number travelers address country of origin destination id

PHYSICAL DESIGN date


registered user type

MODULES
The figure below shows integration of system modules.

Login_window

Add guest

Edit guest

Delete guestReport

Help

1.1 Login window

USERNAME PASSWORD

OK

EXIT

The login window consists of a user name and password text area. It allows access to authorized personnel only.

Adding guests

First name

Last name Address Id number

Edit guest
Add Reset Exit

First name Id number Last name Address

Find

Edit

Exit

Delete guest

First name

Last name Address Id number

Find

Delete

Exit

Common questions

Powered by AI

User interface design in system architecture focuses on creating an intuitive interaction environment, involving consideration of hardware and procedures, and ensuring usability for system users. It is represented using pseudocode for physical environments, like login windows that secure access to authorized personnel only .

A data flow diagram (DFD) illustrates the flow of data within a system, focusing on the process and data transformation, whereas an entity relationship diagram (ERD) depicts the system's data entities and their interrelationships . DFDs help in understanding data movement and processing, while ERDs aid in structuring data storage and retrieval .

Logical design contributes by iteratively refining the system until it aligns with user requirements, offering a functional system view from the user's perspective, ensuring that the design process remains focused on user needs .

Normalization is crucial in database design for reducing data redundancy and improving data integrity. In the provided case, normalization is applied through the First Normal Form (1NF) eliminating duplicate columns, Second Normal Form (2NF) ensuring all attributes depend on the primary key, and Third Normal Form (3NF) removing transitive dependencies .

The login window functions as the gateway for user authentication, crucial for security by ensuring that only authorized users access the system. It contributes to user experience by providing a straightforward and secure mechanism for interaction, with fields like username and password to prevent unauthorized access .

Sessions and user type are vital for managing access and ensuring secure user interactions. Sessions track user activity, aiding in secure transactions, while user types define access levels and permissions, ensuring that only authorized actions are performed based on user roles .

Each database table and field is designed to capture essential data entities and their attributes, crucial for system operations. For instance, the 'Users' table handles authentication data critical for system security, while 'Guest' and 'Hotel' tables support booking operations, influencing the system's ability to manage hotels and guest data efficiently .

Challenges in implementing data flow diagrams include maintaining accuracy in data representation and ensuring comprehensive process modeling. These can be addressed by thorough validation with stakeholders, iterative refinement, and consistent updates to reflect actual processes and changes in system requirements .

System design comprises defining the architecture, components, modules, interfaces, and data necessary to meet system requirements . It ensures that the system design aligns with the user's needs through logical design, which provides a user-centric view, interface design focusing on hardware and program procedures, and database design to optimize speed and storage efficiency .

Integration of system modules enhances functionality by enabling seamless interaction between system components, ensuring a cohesive and efficient system operation. The physical design phase demonstrates this through coordinated modules like user authentication, session management, and guest management, allowing the system to function collectively to meet user needs .

You might also like