butter

The reactive programming framework that will make your code tastier

#

MVW - Functional Reactive Progamming Javascript Framework build with Bacon.js

Work in progress... stay tuned!

Documentation

The Butter.View class keeps your DOM elements always in sync with your application data.

<!-- this html will be always in sync with your view data -->
<ul id="toast">
  <li data-each="ingredients as ingredient">
    <span data-text="ingredient"></span>
  </li>
</ul>
new Butter.View({
    el: '#toast',
    data: {
      ingredients: [
        "butter",
        "marmalade"
      ]
    }
}).render();

Result

What is the Functional Reactive Programming?!

If you don't know what it is the "Functional Reactive Programming" paradigm please check the following video first: