A type of controller for Marionette to separate business logic from rendering logic.

Usage no npm install needed!

<script type="module">
  import viewController from '';



Under the pressure of the good folks at SupportKit, here's a quick README.


If you are like me and despise having bloated views in your Marionette code and need a way to separate the business logic from the UI logic, this is for you. The ViewController allows you to separate concerns easily and keep a sane codebase.


Using npm:

npm install view-controller

Using bower:

bower install view-controller

Running tests

npm install
grunt test


The source code contains a lot of comments, but I plan to write a more comprehensive documentation.


I accept all form of contribution (a song, a drawing, or a cat picture will do)! I didn't put up a style guide yet, but since it's only one file, just go with it for now.