Project for OODD
Project for OODD
A PROJECT REPORT ON
BOOK SELLING SYSTEM
GROUP – III
UCSTT(17-18)-017 Mg Paing Thet Kyaw
UCSTT(18-19)-040 Mg Min Swe Mon
UCSTT(16-17)-003 Mg San Lin Oo
UCSTT(16-17)-006 Mg Thant Htet Sin
UCSTT(16-17)-015 Mg Zaw Naing Oo
UCSTT(16-17)-029 Mg Khant Maw Htoo
UCSTT(16-17)-109 Ma Ni Ni Htet
(SEPTEMBER, 2024)
Project Outline
Chapter 1: Introduction
1.1 Project Description --------------------------------------------------------------------------------------------------- 1
1.2 Project Objectives --------------------------------------------------------------------------------------------------- 1
Chapter 2: Business Processes
2.1 Software Requirement Specification (SRS) -------------------------------------------------------- 2
2.2 Requirement Analysis ---------------------------------------------------------------------------------------------- 2
2.2.1 Functional Requirement ------------------------------------------------------------------------- 2
2.2.2 Non-functional Requirement ------------------------------------------------------------------ 3
2.3 Use Case Model Development ----------------------------------------------------------------------------- 3
2.3.1 Identify the actors and their usage ------------------------------------------------------- 3
2.3.2 Identify each actor and their functionalities ------------------------------------------ 3
2.3.3 Identify the user interface design -------------------------------------------------------------- 4
2.3.4 Represent the actors and functions in the use case diagram ------------- 4
2.3.5 Represent text description for each use case in the use case diagram -- 5
2.4 Use Case Diagram of Library Automation System ---------------------------------------- 10
Chapter 3: Defining Conceptual Classes and Relationships ---------------------------------------------------- 11
3.1 Identifying the Objects/Classes ------------------------------------------------------------------------- 11
3.2 Identifying Relationship Between Two or More Classes -------------------------------- 11
3.3 The Domain Model or Conceptual Model ----------------------------------------------------- 12
3.4 Interaction Modeling with Sequence Diagrams --------------------------------------------- 13
3.5 Classes Diagrams ------------------------------------------------------------------------------------------------ 17
Chapter 4: Implementing the User Interface
4.1 Main Menu ------------------------------------------------------------------------------------------------------------- 19
4.2 Register (User) ------------------------------------------------------------------------------------------------------------- 19
4.3 Login -------------------------------------------------------------------------------------------------------------------------- 20
4.4 View All Books 20
Chapter 5: Conclusion and References --------------------------------------------------------------------------- 21
5.1 Conclusion 21
5.2 References 21
Chapter 1: Introduction
1.1 Project Description
The Book Selling System is a command-line application that lets users browse and view
details about books. The system focuses on providing essential information like titles, authors,
and published year, all through a simple text-based interface. It does not handle purchases or
payments just the book details.
This Book Selling System aims to simplify the process of discovering and obtaining
information about books for sale. By focusing on delivering a rich user experience and accurate
book details, the system will serve as a valuable tool for both casual readers and dedicated book
collectors.
2
2.2.2 Non-functional requirements
Non-functional requirements for the Library Automation System are as follows:
(1) Usability: Designing the system to be easy to use and navigate, providing a positive
experience for all users, including both administrators and patrons.
(2) Scalability: Ensuring the system can handle an increasing number of books and users as the
collection and user base grow.
(3) Performance: Making sure the system responds quickly and processes requests efficiently to
maintain smooth operations.
(4) Reliability: Creating a dependable system with minimal downtime, ensuring continuous
availability of services.
(5) Security: Implementing strong security measures to safeguard against unauthorized access
and protect sensitive data.
User:
Register: Create a new user account.
Log In: Access the system with credentials.
3
Search Books: Find books by title.
View Book Details: See information about specific books.
2.3.3 Identify the user interface design
Registration Page: A form where users enter their name, email, and
password.
Login Page: A form for users to enter their email and password.
Book Management Interface (Admin): Forms for adding, editing, and
deleting books, and viewing book details.
Search Page: An interface for users to search for books by various title.
Book Details Page: A page displaying detailed information about a
selected book.
2.3.4 Represent the actors and functions in the use case diagram
Use case diagram components
Actors
Admin
User
Use cases
Add Book
Edit Book
Delete Book
Search Book
View Books
Register
Login
Exit
2.3.5 Represent text description for each use case in the use case diagram
2.3.5.1 Use case for Login by a user
Table 2.1 Use case “Login”
4
Actions performed by the User Response form the system
1. User choose number No.1 form the Menu
provided by the system.
2. Accept No. and Request Name and
Password from user.
3. User provide Name and Password.
4. Accept name and password.
5. Response with “Successfully login”
message and display User Menu.
5
1. User choose number No.2 form the Menu
provided by the system.
2. Accept No. and Request Name, Email,
Address and password from user.
3. User provide Name, Email, Address and
password.
4. Accept Name, Email, Address and Password
5. Response with “Successfully Register”
message and redisplay main menu.
6
1. User choose number No.2 form the Menu
provided by the system.
2. Accept No. and Request ISBN of the book
admin want to edit.
3. Admin type the ISBN of the book they
want to edit.
4. Accept the ISBN and if Book available and
display the detail of the book.
5. Request new title, new author, new
published year, new price and new description.
6. Admin type the value of the field they want to
edit.
7. Accept the value and update the table and
display “ Book update successfully”.
7
1. Admin choose number No.4 form the Menu
provided by the system.
2. Accept No. and Request title of the book.
3. Admin provide ISBN title of the book
want to search.
4. Accept title of the book.
5. Response detail of the book ( name , author,
ISBN, published year, price, description).
8
1. Admin choose number No.5 form the Menu
provided by the system.
2. Accept No. and display lists of the books
from database.
9
Figure: 2.1 Use case diagram for Book Selling System
10
3.1 Identifying the Objects/Class
11
3.3 The Domain Model or Conceptual Model
12
3.4 Interaction Modeling with Sequence Diagrams
3.4.1 Register
\
3.4.5 Add Book (Admin)
14
Figure: 3.5 Sequence diagram for Add Book
16
Figure: 3.9 Sequence diagram for View Books
17
Figure 3.5.2: Class diagram for Book
18
Chapter 4: Implementing the User Interface
4.1 Main Menu
19
4.3 Login
20
Chapter 5: Conclusion and References
5.1 Conclusion
The Book Selling System successfully streamlines book management and user interactions. It
provides administrators with efficient tools for managing books, while offering users a simple
interface for discovering and exploring books. The system is secure, reliable, and scalable,
ensuring it can grow with future needs. Overall, this project delivers a functional and user-
friendly platform that meets its goals and supports both administrators and users effectively.
5.2 References
[1] Rajib Mall, ―Fundamental of Software Engineering‖, 4th Edition, 2014
• Chapter 8: Object Oriented Software Development
[2] Brahma Dathan and Sarnath Ramnath, ―Object-Oriented Analysis, Design and Implementation‖ , An
Integrated Approach, Second Edition, 2015, UTiCS, Springer.
• Chapter 7: Design and Implementation
[3] https://www.visual-paradigm.com/guide/uml-unified-modeling-language/
[4] https://www.tutorialspoint.com/object_oriented_analysis_design/ooad_object_oriented_paradigm.htm
21