Software used to operate the garden shop
Explore the docs »
View Tutorials
.
Report Bug
.
Request Feature
The program presents my approach to designing software for a garden shop. At that time, it was the first such a large project in C++ that I made myself. Over time, I see the mistakes I made in it and in the next projects it will be better. I know that the interface is not the most beautiful, but in this project my task was to focus as much as possible on learning and using object-oriented design paradigms.
Folders and their meaning (in the software itself):
- model - data model classes
- repositories - archival classes
- managers - class of managers and only with their help the interface is operated, which significantly affects security
- exceptions - my own exception handling classes
- predicate - class predicates helpful in searching repositories
Everything in the program happens with the help of managers, which increases the security of the program and largely makes the program immune to improper behavior in the interface (sometimes by throwing an appropriate exception).
What I learned during the project:
- object-oriented programming
- templates
- predicates
- typedefs
- using git
- simple CMake building
- operator overloading
- lambda functions
What caused the most trouble:
- at first I was overwhelmed with so much new material to learn
- understanding the idea of predicates
- It was a lot of fun with pointers and references and using them correctly, especially in manager classes
A list of commonly used resources that I find helpful are listed in the acknowledgements.
The program is written in C++ using CMake. I did it on a linux system (debian 64 bit). I used the CLion environment from Jet Brains. I was originally doing this project on a different repository. The Boost Test library was used to perform unit tests. The program uses interesting solutions like vector instead of ordinary arrays or shared pointers instead of ordinary pointers. Templates are also used to help make the code more universal. The project is divided into multiple folders for easy viewing and further expansion. The project includes all object-oriented programming paradigms. The documentation was entirely handmade by me and in every function except for the interface.
The program is not very complicated to use and is well described, so follow the instructions and you should not have any problems.
For an example of how the program works, see tutorials
Distributed under the Creative Commons License. See LICENSE for more information.
- Kacper Jagodziński - student of applied computer science at the Lodz University of Technology - GoldenKacper - Built Garden Shop Software
Diagrams are also as pdf: diagrams.pdf