java-design-patterns icon indicating copy to clipboard operation
java-design-patterns copied to clipboard

View Helper pattern

Open iluwatar opened this issue 5 years ago • 10 comments

Description: The View Helper design pattern aims to separate the business logic from the presentation layer by using helper components to handle processing and formatting. This enhances the maintainability and modularity of the code by promoting a clear separation of concerns.

Main Elements of the Pattern:

  • View Helper: A component that performs complex formatting or data processing tasks.
  • Controller: Directs the request to the appropriate View Helper and subsequently to the view.
  • View: Renders the final output using data prepared by the View Helper.

References:

  1. View Helper Design Pattern - Oracle
  2. Java Design Patterns - Project Contribution Guidelines

Acceptance Criteria:

  1. Create a View Helper class that handles data formatting or processing tasks.
  2. Ensure the Controller directs requests to the appropriate View Helper.
  3. Implement a view that utilizes the data provided by the View Helper to render the final output.

iluwatar avatar Jul 07 '20 16:07 iluwatar

Hi, I'd like to work on this issue. Could it be assigned to me if still available?

Linly1080 avatar Apr 23 '22 16:04 Linly1080

Ok @Linly1080

iluwatar avatar Sep 10 '22 12:09 iluwatar

@iluwatar sorry, I have no time to do the work now.

Linly1080 avatar Sep 17 '22 03:09 Linly1080