Project 14 focuses on using file I/O and data persistence within an Object-Oriented Programming (OOP) framework to create a Library Management System. This project combines OOP concepts with file management and data persistence techniques.
Basic File I/O with Text:
Learn how to handle basic file operations including reading from and writing to text files.
Data Persistence with JSON
Explore how to manage more complex data with JSON, enhancing the application's ability to handle larger volumes of data efficiently.
Serialising and Deserialising Classes with JSON:
Discover how to convert class instances into JSON format and back, which helps in storing and retrieving application data persistently.
Link to Project 14 - Library System
The three labs below will guide you through the completion of this project, each building on the knowledge gained in the previous one:
Lab 1 - Basic Text I/O
Start by creating a simple music catalog system that uses basic file operations.
This includes adding, listing, searching, and deleting songs, with each song's data stored in text files.
Advance the music catalog system to use JSON for data management.
Implement Song and CatalogManager classes to manage the songs with JSON for serialisation and deserialisation.
Finish the library system by using JSON data persistence to manage books and library members.
This includes creating methods to efficiently load and save data.