The program will locally store information on income, expenses, ingredients, and budgets that the user manually enters, thus eliminating the need to re-enter it every time the program starts. The information will be written to separate text files depending on what data it is.
We chose this approach because our customer prioritizes privacy, and the primary advantage of local storage is the minimal risk of unauthorized access. The program will also have fast access to the data, and it is much easier to implement than a database. Additionally, if the user has no internet connection, they can still use the program.
However, this solution has certain drawbacks. If the computer is damaged or stolen, the data will be lost. Local storage is also not easily scalable, which can be problematic in the future when the program handles larger and larger amounts of data. Transferring the data to a different computer or application may also pose a challenge.
Our implementation has both advantages and disadvantages. Storing data locally works well with the customers wishes and handling small amount of data. However, as the program starts to handle more and more information, using a database and a data protection software, could be a more efficient solution.
Example of a Budget that has been written to a text file
Picture showing where the text files are stored