Files
Malak Elbanna 5ba45701bf feat: Implemented the Template View pattern (#1320) (#3110)
* pattern:implemented the Template View pattern (#1320)

* fix:added links in README and updated package name (#1320)

---------

Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
2025-01-06 19:24:40 +02:00

34 lines
668 B
Plaintext

@startuml
package com.iluwater.templateview {
class App {
+ App()
+ main(args : String[]) {static}
}
abstract class TemplateView {
- LOGGER : Logger {static}
+ TemplateView()
+ render() : void {final}
# printHeader() : void
# renderDynamicContent() : void {abstract}
# printFooter() : void
}
class HomePageView {
- LOGGER : Logger {static}
+ HomePageView()
+ renderDynamicContent() : void
}
class ContactPageView {
- LOGGER : Logger {static}
+ ContactPageView()
+ renderDynamicContent() : void
}
}
App --> TemplateView
TemplateView <|-- HomePageView
TemplateView <|-- ContactPageView
@enduml