The facade design pattern uses a single class to encapsulate the functionality of multiple children classes. By reducing the number of classes and hiding the intricacy of the inner workings of these classes, it becomes easier to use the overall system. We use the facade design pattern in several classes. The most obvious is the web-based report viewing system.
The interpreter design pattern models a parsing tree of an expression or programming language. It is an executable representation of the expression. After an interpreter object is built for an expression, the interpreter can be executed to evaluate the expression. The internal hierarchy of the expression is captured in the interpreter object tree.
A composite object is an object that is composed of multiple instances of other objects. All objects share a common composite interface. The common interface allows the user of the objects to treat a composite object in the same way as a single object.
We use the composite pattern in the replet command class. All replet command classes share the same interface. A command object can be a concrete implementation of a command, or can be composed of several other commands.
A command is an object that encapsulates the execution of a command. It often serves as the generic API for adding user-defined actions to an existing system. The InetSoft Enterprise products scheduling service uses the command pattern to allow any user defined actions to be scheduled. With this generic API, the scheduler can be used for scheduling tasks other than report generation.
Copyright © 2023, InetSoft Technology Corp.