If you’ve already looked at some example functions within the existing Icinga JS code, you will have noticed that all these functions follow the Design Patterns structure.
What is a Design Pattern?
Design patterns are advanced object-oriented solutions to commonly occurring software problems. The bane of every developer is writing readable, maintainable, and reusable code, and design patterns are crucial for solving this challenge. Solid design patterns are the basic building block for maintainable software applications. In other words, a design pattern is a reusable software solution to a specific type of problem that occurs frequently when developing software.