Skip to content
Scott Reeves edited this page Feb 24, 2021 · 15 revisions

HandleView is loosely based on the Model-View-Controller style of development. However, some liberties have to be overlooked and there is some blurring of the lines when it comes to separation of concerns, but where possible, the MVC pattern has been followed.

xHV uses Models to manage the state of the application in memory. It uses Services by way of Dependency Injection to persist or fetch data from external systems. It uses Controllers to do a vast number of things, including marshaling data around, responding to events, interpolating templates, building views etc. And it uses View templates that are comprised of Components to render the user interface.

There are several other classes involved with plumbing such as

  • Configuration
  • Logging
  • Error handing
  • Routing
  • Rendering

Read more about Models
Learn how Services work
Understand Controllers
Intro to Views

Clone this wiki locally