Application Controller pattern
Description: The Application Controller design pattern centralizes the request handling by routing incoming requests to appropriate handlers. This pattern is particularly useful for applications with complex request processing logic, as it decouples the request handling from the request processing, promoting modularity and ease of maintenance. Key elements of this pattern include:
- Application Controller: A central controller that handles incoming requests and delegates them to appropriate handlers.
- Handlers: Specific components or services that perform the business logic associated with a request.
- Request: Represents the client request to be processed.
- Response: Represents the outcome of the request processing, which is sent back to the client.
- Command: Encapsulates a request as an object, thereby decoupling the sender of a request from its receiver.
References:
Acceptance Criteria:
- Implement the Application Controller class that can route incoming requests to appropriate handlers.
- Create at least two handler classes demonstrating different business logic processes.
- Ensure comprehensive unit tests are written to validate the functionality of the Application Controller and handlers.
I found it here a reference of implementation :
http://www.corej2eepatterns.com/ApplicationController.htm
@iluwatar Is this issue free to take? I'd like to work on this
@Meccota yes, go ahead
@Meccota are you still working on this?
We would like to give a shot at this in October/November. Could you assign it to me? Thank you!
Go ahead @yixingz3
@yixingz3 are you working on this? If not, I'll review the pull request made by @dctrue2
@yixingz3 are you working on this? If not, I'll review the pull request made by @dctrue2
Please feel free to. We are working as a team and I’ve been working on the SLOB issue (#1596).