A library application (complete user requirements)
The goal for the next weeks is to implement parts of the software supporting the management of a public library. The library contains books, DVDs and CDs, and journals. Books, DVDs and CDs can be borrowed from any user registered with the library. Books can be borrowed for a period of at most 4 weeks; DVDs and CDs only for a period of one week; and journals can't be borrowed at all.
- Everyone with a CPR number can register as a user of the library.
- Everyone can search / browse the electronic library catalogue and search/browse for books, DVDs, CDs, journals, and journal articles by title and author. However, only a person who is registered can borrow books and DVDs/CDs. A user can at most borrow 10 books, DVDs or CDs. He can't borrow anything if he has an overdue book, DVD or CD. He can only borrow something again after he has payed a fine and returned the overdue media. It can also happen that a user looses or damages a book or DVD/CD. In this case he has to pay to the library the price of the lost media so that the library can buy it again. A user of the library can be blocked from borrowing books. This blocking can be undone.
- The librarian can register users and add or delete books, DVDs, CDs, or journals. He can also block and unblock users. He can mark books as missing. The librarian has to be able to register journal copies when they arrive from the publisher and make their articles accessible for searching.
- The librarian can generate reports on the status the library: what is the current number of overdue books; what is the current number of missing books; how often has a certain media been borrowed; how often has a certain media been borrowed that belongs to a certain topic. e.t.c..
- In this implementation, we will focus mainly on implementing the applications functionality without thinking about user interface issues and how to store the data.
On to Assignment Week 5 Part of Programming Exercise: A library application
Hubert Baumeister
April 23, 2018