Professional Documents
Culture Documents
Asm2 DDD
Asm2 DDD
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that
making a false declaration is a form of malpractice.
P5 P6 P7 P8 M3 M4 D2
❒ Summative Feedback: ❒ Resubmission Feedback:
III.Conclusion ........................................................................................................................................................................................... 60
IV.References............................................................................................................................................................................................ 61
V.Slide .......................................................................................................................................................Error! Bookmark not defined.
Figure 2 Login form .................................................................................................................................................................................... 8
Figure 3 Login with user ............................................................................................................................................................................. 9
Figure 4 Login with Admin ...................................................................................................................................................................... 10
Figure 5 Forgot passwords........................................................................................................................................................................ 11
Figure 6 Sign up form ............................................................................................................................................................................... 12
Figure 7 Form user - view book................................................................................................................................................................ 14
Figure 8 Search Book................................................................................................................................................................................ 15
Figure 9 watch Information....................................................................................................................................................................... 16
Figure 10 change information ................................................................................................................................................................... 17
Figure 11 book management ..................................................................................................................................................................... 18
Figure 12 Add new books ......................................................................................................................................................................... 19
Figure 13 Button Fix ................................................................................................................................................................................. 20
Figure 14 Delete book............................................................................................................................................................................... 21
Figure 15 Reader management ................................................................................................................................................................. 22
Figure 16 add new user ............................................................................................................................................................................. 23
Figure 17 Delete User ............................................................................................................................................................................... 24
Figure 18 Fix user ..................................................................................................................................................................................... 25
Figure 19 Brrow book ............................................................................................................................................................................... 26
Figure 20 Repayment details..................................................................................................................................................................... 27
Figure 21 categoty..................................................................................................................................................................................... 28
Figure 22 library card management .......................................................................................................................................................... 29
Figure 23 Create Database of system........................................................................................................................................................ 30
Figure 24 create table DocGia .................................................................................................................................................................. 30
Figure 25 create table NhanVien .............................................................................................................................................................. 31
Figure 26 Create table Book ..................................................................................................................................................................... 31
Figure 27 Create Table TacGia ................................................................................................................................................................. 32
Figure 28 Create table TheLoai ................................................................................................................................................................ 32
Figure 29 Create table NhaXuatBan ......................................................................................................................................................... 32
Figure 30 Create table TheThuVien.......................................................................................................................................................... 33
Figure 31 Create Table MuonTra , ChiTietMuonTra ............................................................................................................................... 33
Figure 32 Result of creating tables ........................................................................................................................................................... 34
Figure 33 Database Diagram..................................................................................................................................................................... 35
Figure 34 Example of INT data type ....................................................................................................................................................... 36
Figure 35 Example for NVARCHAR data type ....................................................................................................................................... 36
Figure 36 Example for Date data type ..................................................................................................................................................... 36
Figure 37 Insert data for TacGia table ...................................................................................................................................................... 37
Figure 38 Insert data for TheLoai table .................................................................................................................................................... 37
Figure 39 IInsert data for NhaXuatBan table ............................................................................................................................................ 38
Figure 40 Insert data for Sach table .......................................................................................................................................................... 38
Figure 41 Insert data for DocGia table...................................................................................................................................................... 38
Figure 42 Insert data for TheThuVien table.............................................................................................................................................. 39
Figure 43 Insert data for NhanVien table.................................................................................................................................................. 39
Figure 44 Insert data for ChiTietMuonTra table....................................................................................................................................... 39
Figure 45 Select Table .............................................................................................................................................................................. 40
Figure 46 TacGia table.............................................................................................................................................................................. 40
Figure 47 DocGia table ............................................................................................................................................................................. 41
Figure 48 Sach table.................................................................................................................................................................................. 41
Figure 49 NhanVien table ......................................................................................................................................................................... 42
Figure 50 MuonTra table .......................................................................................................................................................................... 42
Figure 51 ChiTietMuonTra table .............................................................................................................................................................. 42
Figure 52 TheThuVien table ..................................................................................................................................................................... 43
Figure 53 TheLoai table............................................................................................................................................................................ 43
Figure 54 Update data .............................................................................................................................................................................. 44
Figure 55 Before Update:.......................................................................................................................................................................... 44
Figure 56 After Update ............................................................................................................................................................................. 44
Figure 57 Delete data from tables ............................................................................................................................................................. 45
Figure 58 Before Delete: ........................................................................................................................................................................... 45
Figure 59 After Delete .............................................................................................................................................................................. 45
Figure 60 ERD of system .......................................................................................................................................................................... 49
Figure 61 Login documents ...................................................................................................................................................................... 50
Figure 62 Create account documents ........................................................................................................................................................ 51
Figure 63 Forgot password documents ..................................................................................................................................................... 52
Figure 64 Reader's book viewing document ............................................................................................................................................ 53
Figure 65 Watch information document ................................................................................................................................................... 54
Figure 66 Book management documents .................................................................................................................................................. 55
Figure 67 Reader management document................................................................................................................................................ 56
Figure 68 Author management document................................................................................................................................................ 57
Figure 69 Brrow book management documents ....................................................................................................................................... 58
Figure 70 Return book management documents....................................................................................................................................... 59
I.Introduction
After completing ASM1, I, as a Database Developer, opened a new and exciting part of the project with FPT University. This journey
is not only about building a database system but also about the challenges I face and the meaningful tasks I will have to per form.
From now on, the new responsibilities I face go beyond system implementation. I will also have to perform a detailed evaluation of the
system's performance and create detailed documentation and user manuals. The variety and complexity of these requirements pre sent
new challenges, but also opportunities for me to develop and improve my skills.
Deploying a database system is not just about deploying the source code but also requires me to ensure the security and performance of
the system. This includes implementing strict security measures and thorough testing to ensure that the system meets all requ irements.
I also decided to expand the scope of the project by implementing a query language into the database system, opening up the possibility
of dynamically querying and extracting data. This not only increases the diversity of the system, but also creates opportunit ies to optimize
data management and usage processes.
With the goal of creating a system that not only meets but also exceeds FPT University's expectations, I will continue to eva luate in
detail the performance, usability, and flexibility of the system. At the same time, I will focus on suggesting improvements to make the
system more efficient and flexible.
From testing the system and confirming with managers through witness statements, to creating technical documentation and user guides,
each step requires special attention and persistence. In this way, I will ensure that each aspect of the project is carried out with the utmost
care and quality, while bringing real value to FPT University in its journey.
II.Contents
P2. Develop the database system with evidence of user interface, output and data validations, and querying across multiple
tables.
- First is the main interface of the system including Username, Password and buttons and labels such as: Login, forgot password,
create account
- When the user enters the user account and performs a successful login, the system displays a confirmation message to notify o f the
successful login process. This message can be designed to provide welcome and create a positive experience for the user
When a user becomes aware that they have forgotten their password, they perform the following steps:
Tap "Forgot password": The user will find and tap the button or link that says "Forgot password" on the login interface.
Show Password Recovery Form: After clicking, a new form will appear, asking the user to enter a phone number and account name to
verify identity.
after the user completes the above step. The root password will be displayed in the label box
Book Viewing Interface: Users will be taken to a friendly interface, displaying a list of book types and search options.
Book lists can be organized by genre, author, or other factors to help users easily choose.
Book Search: The form will provide a search box, allowing users to enter keywords or criteria to quickly search for books.
When users enter keywords, the system will dynamically display appropriate search results.
Figure 4 Form user - view book
- Once the user has completed their search, they can click the "Load" button to return the book table to its original location.
Figure 5 Search Book
- When users click on the "View information" button, they can view and even edit the information by entering the phone number i n
the textbox and pressing the "View information" button. After entering the phone number and pressing the button, the text boxes will
display information corresponding to the user.
Figure 18 categoty
- Manage library cards
• NVARCHAR: It is a variable width Unicode string data type. Its size can be up to 4000 characters
• DATE: It is used to specify date format YYYY-MM-DD. Its supported range is from '1000-01-01' to '9999-12-31'.
Before Update:
Before Delete:
After Delete :
1 Orders Pass
The Loai
will
display
the data
inserted
2 Book Pass
production
year of
book id =
1 will
change to
2021
3 In the Pass
DocGia
list,
there
won't be
reader has
Id = 7
4 The Pass
system
will
display
the data
table of
the
Items
table
P5 Produce technical and user documentation.
5.1.1 Introduce
❖ Purpose: Developing a database system is the topic of this research. System under this topic is: Design and development of FPT
University's Library management system. From the first step of gathering information to implementing a complete process if the
system meets the needs of the school, development will progress. Prepare data system failure by scheduling upgrades and
maintenance.
❖ Scenario: Currently, with the expansion of the number of students at the University Greenwich Vietnam, the demand for services
such as borrowing textbooks and reading books is gradually increasing. Due to such rapid growth, there are some difficulties in
managing the university library system. So this project was created to make library management easier and more efficient. [2]
❖ This section was developed with the goal of describing the product features that the database system can display to the user. All
the following features will be present in a fully built Library Management System:
• Manage reader information: All reader information must have a unique code
DocGia to locate those readers throughout the database. Readers must have full name, phone number and address.
• Book information management: All book information must have a unique Items_ID to
locate those Items throughout the database. Items must have their category, Item's
• Management of loan and return information: All information about loan and return of books must be filled out completely and
accurately. Management supports looking into that
• 3: Login
• 3: Enter name
• 5: Create account
• 3: Forgot
• 1: Current window
• 2: Enter book code • 9: Click to fix books (must have book code)
• 3: Enter book name • 10: Click to delete books (must have book code)
• 4: Enter author code • 11: Click to delete all text in the cells
• 2: Enter book code • 9: Click to fix books (must have book code)
• 3: Enter book name • 10: Click to delete books (must have book code)
• 4: Enter author code • 11: Click to delete all text in the cells
• 6: Click to add Brrow book • 12: Click to reload the book screen
❖ Return book management window
• 5: Enter cindition
As I navigate through the intricacies of ensuring the security and optimal performance of the deployed database system, I am confronted
with new challenges that, in turn, provide valuable opportunities for the enhancement of my skills. The commitment to impleme nting
stringent security measures and conducting thorough testing underscores the dedication to meeting all system requirements and ensuring
its reliability.
Moreover, the decision to expand the project's scope by integrating a query language into the database system not only divers ifies its
functionalities but also introduces avenues for optimizing data management processes. This strategic move aims not just to me et but to
exceed FPT University's expectations, emphasizing a commitment to creating a system that is not only efficient but also flexible.
As I continue to scrutinize the system's performance, usability, and flexibility, my focus remains on suggesting improvements that
contribute to its efficiency and adaptability. Each step, from rigorous testing to the creation of technical docume ntation and user guides,
demands meticulous attention and unwavering persistence. By adhering to these principles, I am poised to ensure that every fa cet of the
project is executed with the utmost care and quality, ultimately delivering tangible value to FPT University in its ongoing journey.
IV.References
1. Kien, N. (n.d.). Phân tích thiết kế - Quản lý thư viện. www.academia.edu. [online] Available at:
https://www.academia.edu/39698841/Ph%C3%A2n_t%C3%ADch_thi%E1%BA%BFt_k%E1%BA%BF_Qu%E1%BA%A3n_l%C3
%BD_th%C6%B0_vi%E1%BB%87n [Accessed 5 Dec. 2023].
2. doc.edu.vn. (n.d.). Phân tích cơ sở dữ liệu cho hệ thống quản lý thư viện - Tài liệu, ebook, giáo trình. [online] Available at:
https://doc.edu.vn/tai-lieu/phan-tich-co-so-du-lieu-cho-he-thong-quan-ly-thu-vien-86908/ [Accessed 5 Dec. 2023].