Hanami::View
E440636
Hanami::View is the presentation layer component of the Hanami Ruby web framework, responsible for rendering templates and encapsulating view logic.
Statements (46)
| Predicate | Object |
|---|---|
| instanceOf |
Ruby library
ⓘ
presentation layer ⓘ view layer component ⓘ |
| aimsFor |
clean separation of concerns
ⓘ
lightweight and fast rendering ⓘ |
| designedFor |
Hanami applications
ⓘ
Ruby web applications ⓘ |
| documentationUrl | https://guides.hanamirb.org ⓘ |
| encourages |
explicit dependencies in views
ⓘ
immutable view objects ⓘ testable view objects ⓘ |
| follows | MVC architecture principles ⓘ |
| hasComponent |
Hanami::View::Context
NERFINISHED
ⓘ
Hanami::View::Rendering NERFINISHED ⓘ Hanami::View::Scope NERFINISHED ⓘ Hanami::View::Template NERFINISHED ⓘ |
| hostedOn | GitHub NERFINISHED ⓘ |
| license | MIT License ⓘ |
| maintainedBy |
Hanami core team
NERFINISHED
ⓘ
open source contributors ⓘ |
| partOf | Hanami framework NERFINISHED ⓘ |
| programmingLanguage | Ruby NERFINISHED ⓘ |
| provides |
exposure of data to templates
ⓘ
format-specific rendering ⓘ helpers via context objects ⓘ layout support ⓘ partial rendering ⓘ |
| relatedTo |
Hanami::Controller
NERFINISHED
ⓘ
Hanami::Model NERFINISHED ⓘ Hanami::Router NERFINISHED ⓘ |
| repositoryUrl | https://github.com/hanami/view ⓘ |
| responsibleFor |
encapsulating view logic
ⓘ
rendering templates ⓘ |
| separates |
presentation from business logic
ⓘ
view logic from controllers ⓘ |
| supports |
ERB templates
ⓘ
HTML rendering ⓘ Haml templates ⓘ JSON rendering ⓘ Slim templates ⓘ custom template engines ⓘ dependency injection for view context ⓘ other MIME types ⓘ view-level configuration ⓘ |
| uses |
Ruby objects as views
ⓘ
template files for rendering ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.