Code Monkey home page Code Monkey logo

garden-shop's Introduction


Logo

Garden Shop

Software used to operate the garden shop

Explore the docs »

View Tutorials . Report Bug . Request Feature

Downloads Contributors Stargazers

Table Of Contents

About The Project

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.

Built With

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.

Usage

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

License

Distributed under the Creative Commons License. See LICENSE for more information.

Authors

  • Kacper Jagodziński - student of applied computer science at the Lodz University of Technology - GoldenKacper - Built Garden Shop Software

Diagrams

Diagrams are also as pdf: diagrams.pdf

Diagram_1 Diagram_2 Diagram_3 Diagram_4 Diagram_5 Diagram_6

Acknowledgements

garden-shop's People

Contributors

goldenkacper avatar

Stargazers

 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.