MUSLIM CEMETERY MANAGEMENT SYSTEM (MCMS)
Farah Dalilah Binti Abdul Rashid
Saya FARAH DALILAH BINTI ABDUL RASHID
mengaku membenarkan tesis (PSM/Sarjana/Doktor Falsafah) ini disimpan di Perpustakaan Fakulti Teknologi Maklumat dan Komunikasi dengan syarat-syarat kegunaan seperti berikut:
1. Tesis dan projek adalah hakmilik Universiti Teknikal Malaysia Melaka.
2. Perpustakaan Fakulti Teknologi Maklumat dan Komunikasi dibenarkan membuat salinan untuk tujuan pengajian sahaja.
3. Perpustakaan Fakulti Teknologi Maklumat dan Komunikasi dibenarkan membuat salinan tesis ini sebagai bahan pertukaran antara institusi pengajian tinggi.
4. ** Sila tandakan (/)
SULIT (Mengandungi maklumat yang berdarjah keselamatan atau kepentingan Malaysia seperti yang termaktub di dalam AKTA RAHSIA RASMI 1972)
TERHAD (Mengandungi maklumat TERHAD yang telah ditentukan oleh organisasi/badan di mana penyelidikan dijalankan)
TIDAK TERHAD
(TANDATANGAN PENULIS) (TANDATANGAN PENYELIA)
Alamat tetap: C-01-03, Blok C, Safiza Suhana Binti Kamal Baharin Taman Seri Kenari, 43000 Kajang
Tarikh: 24 Ogos 2015 Tarikh: 24 Ogos 2015
MUSLIM CEMETERY MANAGEMENT SYSTEM
Farah Dalilah Binti Abdul Rashid
This report is submitted in partial fulfilment of the requirements for the Bachelor of Computer Science (Database Management)
FACULTY OF INFORMATION AND COMMUNICATION TECHNOLOGY UNIVERSITI TEKNIKAL MALAYSIA MELAKA
DECLARATION
I hereby declare that this project report entitled CEMETERY DATABASE MANAGEMENT SYSTEM
Is written by me and is my own effort and that no part has been plagiarized without citations.
STUDENT : Date : 18 August 2015
(FARAH DALILAH BINTI ABDUL RASHID)
SUPERVISOR : Date : 18 August 2015
iii
DEDICATION
To my parents, Mr. Abdul Rashid Bin Dimin and Mrs, Hadijah Binti Said. To my supervisor Madam Safiza Suhana Binti Kamal Baharin.
ACKNOWLEDGEMENTS
First of all, I would like to thank and feel grateful to the Almighty Allah S.W.T for giving me a healthy of doing well so that I am able to complete this thesis properly. It would be impossible for me to complete this thesis without the will of Him. He is the one who gives me a courage and strength to complete this research documentation successfully. Salutations and piece to His beloved messenger, Prophet Muhammad S.A.W.
Furthermore, I would like to express my sincere love to my supervisor Pn. Safiza Suhana Binti Kamal Baharin for fully support towards my final year project which Muslim Cemetery Management System. Her patience, motivation and wide knowledge have put me in this situation right now. Her guidance from early phase until the end of this final year project and writing this thesis. I could not have imagined how my project would be without a better supervisor like her.
v
ABSTRACT
ABSTRAK
vii
TABLE OF CONTENTS
CHAPTER SUBJECT PAGE
DECLARATION ii
DEDICATION iii
ACKNOWLEDGEMENTS iv
ABSTRACT v
ABSTRAK vi
TABLE OF CONTENTS vii
LIST OF TABLES x
LIST OF FIGURES xi
CHAPTER I INTRODUCTION
1.1 Program Background 1
1.2 Problem statements 2
1.3 Objective 3
1.4 Scope 3
1.5 Project significance 4
1.6 Expected output 4
CHAPTER II PROJECT METHODOLOGY AND PLANNING
2.1 Introduction 6
2.2 Project Methodology 7
2.3 Project Schedule and Milestones 10
2.4 Conclusion 11
CHAPTER III ANALYSIS
3.1 Introduction 12
3.2 Problem analysis 13
3.3 The proposed improvements/solutions 13 3.4 Requirement analysis of the to-be system 14
3.4.1 Functional Requirement (Process Model) 14 3.4.2 Non-functional Requirement 18 3.4.3 Other Requirements 18
3.5 Conclusion 20
CHAPTER IV DESIGN
4.1 Introduction 21
4.3 Database Design 22
4.3.1 Conceptual Design 22
4.3.2 Logical Design 24
4.4 Graphical User Interface (GUI) Design 30
4.5 Conclusion 38
CHAPTER V IMPLEMENTATION
5.1 Introduction 39
5.2 System Development Environment setup 40 5.3 Database Implementation 43
ix
CHAPTER VI TESTING
6.1 Introduction 49
6.2 Test Plan 50
6.2.1 Test Organization 50 6.2.2 Test Environment 51
6.2.3 Test Schedule 52
6.3 Test Strategy 52
6.3.1 Classes of tests 54
6.4 Test Design 55
6.4.1 Test Description 56
6.4.2 Test Data 57
6.5 Test Results and Analysis 58
6.6 Conclusion 59
CHAPTER VII CONCLUSION
7.1 Introduction 60
7.2 Observation on Weaknesses and Strengths 61 7.3 Propositions for Improvement 62 7.4 Contribution 63
LIST OF TABLES
TABLE TITLE PAGE
2.1 Project Schedule and Milestones 10
3.8 Software and its function 18
4.2 Data dictionary of table staff 24
6.1 Test Organization 50
6.2 Test Environment 1 51
6.3 Test Environment 2 51
6.4 Test Schedule 52
6.8 The details of test description 56
6.9 Example of Test Case 57
6.10 The table of result and analysis 58
xi
LIST OF FIGURES
DIAGRAM TITLE PAGE
3.1 Context Diagram 14
3.2 Level 0 15
3.3 Level 1 of search corpse 16
3.4 Level 1 of add new corpse 16
3.5 Level 1 of add item of corpse 16
3.6 Level 1 of add cemetery 16
3.7 Level 1 of add location of cemetery 17
4.1 Entity Relationship Diagram (ERD) 23
4.3 SQL statement in creation of table location 25
4.4 SQL statement of before insert 26
4.5 SQL statement of after insert 26
4.6 SQL statement of after update 26
4.7 SQL statement of after delete 27
4.8 Example of stored procedure on insert 27
4.9 Example of stored procedure on update 28
4.10 Example of stored procedure on delete 28
4.11 Example of Simple and Complex Query Stored Procedure 29
4.12 Navigational design for MCMS 30
5.3 Shows the MySQL environment has entered 41
5.4 Creating a database 41
5.5 The statement of creating a table 42
5.6 The statement of creating a sequence 42
5.7 All statement that involve in all creation of table 42
5.8 The connection statement to test 43
5.9 The statement of insert corpse data into MySQL database 44
5.10 The statement of update corpse data to MySQL database 44
5.11 The statement of delete cemetery data from MySQL database 45
5.12 Before insert trigger with a little complex than basic trigger 45
5.13 After insert, update, delete trigger with a simple and complex query 46
5.14 The stored procedure statement that include insert, update, delete 47
6.5 The overview of cemetery table before insertion data 53
6.6 SQL statement is applied on cemetery table 53
xiii
LIST OF ABBREVIATIONS
MCMS - Muslim Cemetery Management System
DDL - Data Dictionary Language
ERD - Entity Relationship Diagram
DFD - Data Flow Diagram
PHP - Hypertext Preprocessor
DBMS - Database Management System
DML - Data Manipulation Language
DDL - Data Definition Language
SDLC - Software Development Life Cycle
CHAPTER I
INTRODUCTION
1.1 PROJECT BACKGROUND
Every inch of living thing in this world will face to the death include human, trees, and animals. The main point that I want to highlight is the death of human being. Malaysia has three different race that being a symbol to Malaysian which are Malay, Chinese, and India. Each of different race have their own space of cemetery, own design of grave and own ritual of the death. There are many cemetery in Malaysia but a lot of cemetery doesn’t being cared well enough for being a beautiful cemetery and manageable.
2
This system is design to provide a user friendly function to search the corpse easily. Besides that, this system will able to calculate how many corpse that can fit in a cemetery area or region so that the manager of cemetery know how much corpse left. This functionality help the manager get ready to find a new land for new corpse.
1.2 PROBLEM STATEMENT
The problem of cemetery management become worst when the cemetery are not in manageable state. If manager of the cemetery wants to find out how much left for empty space, they must search through records in log book or calculate themselves by patrolling at the cemetery. This problem may difficult the manager and waste their time in managing the cemetery. Moreover, local people also hard to find the grave due to only once a year they visiting.
The objectives for this system are:
To provide web based cemetery database management system to enhance manual searching of grave information.
To enhance the current cemetery management by providing auto calculation of approximate number of grave based on cemetery area.
To provide a platform for report generation (e.g. number of corpse according to age or gender) easily.
1.4 SCOPE
There are 4 types of scope provided for this system to run smoothly and divided according to its functionality which are find module, staff module, login module, and report module.
For login module, the purpose of this scope is to have an authorised user so that only permitted user is allowed to access the system using username and password. After user success to login, user can handle their own field of work.
4
Moreover, staff module will make the staff know how much grave left for a cemetery and this will make the manager’s work more easier to know how big the cemetery are. Manager also can insert data about the corpse and update the data in this system.
For report module, the manager can view all the information of the tables in database by generate the report in tabular or matrix form. All data will be arrange according month or year to let the manager do the analysis in efficient way.
1.5 PROJECT SIGNIFICANCE
This system will provide solution to cemetery manager that faced problem in managing cemetery in proper way. For example cemetery manager can check the empty space through this system to make an early step for finding a new cemetery area when it is full. This system upgraded by current system which are E-Pusara that only has search option only. Besides that, this system also may automates the manual processes that are currently leading to various problem.
1.6 EXPECTED OUTPUT
6
CHAPTER II
PROJECT METHODOLOGY AND PLANNING
2.1 INTRODUCTION
This chapter will introduce about the method that will be used to implement this system. For Cemetery Management System, Waterfall Model is chosen as a method in development of this system. Waterfall model is easy to detect or refer a problem that occurred in any stages in Development Life Cycle (DBLC).
The method that is used in development of this system is waterfall model. Waterfall model is suitable for implement this system due concept of waterfall model which are start the next stage when the stage before are finish or nearly finish. There are five main step approach to Database Life Cycle which are Planning, Analysis, Design, Implementation and Maintenance. This step moves logically from one phase to the next.
2.2.1 Planning
The project planning starts in this phase. First, I propose the title that I want to my supervisor. Then, my final decision on choosing suitable title for PSM is on supervisor title which is Muslim Cemetery Management System (MCMS). Next, I make the proposal of our project then submit to my supervisor until it is approved by my supervisor so that I can continue the project smoothly. Meanwhile, I have gathered more information about cemetery system from website or current system observation. Then, the introduction, problem statement, scope, and objectives are set up.
2.2.2 Analysis
8
This analysis phase need to identify what is the weakness of current system and my proposed system should be able to overcome the weakness by adding new function that can improve the current system. By this, the problem statement of the system can be defined throughout the observation. The objective and scope also can be extracted from this analysis to develop the system.
2.2.3 Design
Database design is define as the third phase, where a design for the database is form. It can support Cemetery Management System operational and objective, such as I have choose to use MySQL as database management. The minimum requirement for the installation need to be confirmed first in order for the Database Management System (DBMS) in the server to run smoothly.
Besides, the Entity Relationship Diagram (ERD), and data dictionary is create where it will explain the main basic workflow of the system. All relationship between the tables, define the storage structures and the access paths will be known. In the conceptual design stage, data modeling is used to create an abstract database structure which represents the real-world objects. There are two types of database design such as top-down design and bottom-up design. At the top-down level, the data set is identified and data element is defined. This process involves the identification of different entity types and the definition of each entity’s attributes. Besides that, in bottom-up design data element will be identified which also called items and the group them together in datasets.
All database management system that had been design will be loaded and implemented in our system during this phase. The installation and configuration between database and server was been done and data will be load to create tables and define the relationship. Then, database is tested for performance, integrity and concurrent access and also security constraints. Moreover, testing and evaluate the system parallel with application programming is done.
After the evaluation stage had been carried out, it can pass through the operational system. This phase involve all the users in MCMS that will use this system. The testing and evaluation phase occurs in parallel with applications programming. If the database implementation fails to meet the user’s requirement, several option will be in order enhancing the system.