GithubHelp home page GithubHelp logo

lms's Introduction

LMS

This project is a Library Management System implemented in Java.

Features Add, update, and delete books Add, update, and delete users Borrow and return books Search for books by ISBN, title, or author Track available and borrowed books Log all operations

Entities Book entity User entity Transaction entity

Services Book service- It is responsible for managing book-related operations like add/update/delete books, search a book, list of available/borrowed books User service- It is responsible for managing user-related operations like add/update/delete user. Transaction service- Handles borrowing/returning of book and maintains a history of transactions.

The code provided follows several SOLID principles

  1. Single Responsibility Principle (SRP) BookService, UserService, and TransactionService each have a single responsibility:

  2. Open/Closed Principle (OCP) By using interfaces (LibraryService, BookService, UserService, TransactionService), the system allows new functionalities to be added by implementing these interfaces.

  3. Liskov Substitution Principle (LSP) The BookService interface and its implementation BookServiceImpl follow this principle. You can replace BookServiceImpl with another implementation of BookService without affecting the system's behavior and similarly UserService and TransactionService

  4. Interface Segregation Principle (ISP) The code defines multiple specific interfaces (BookService, UserService, TransactionService, LibraryService, SearchFunctionality) rather than one large interface. Each interface has methods relevant to its specific purpose.

  5. Dependency Inversion Principle (DIP) High-level modules (e.g., Book) depend on abstractions (interfaces like BookService, UserService, TransactionService) rather than concrete implementations. Class Diagram

lms's People

Contributors

aditisutar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.