Skip to content
MVW - Functional Reactive Progamming Javascript Framework build with Bacon.js
JavaScript HTML CoffeeScript Other
Find file
Latest commit 9b901aa @GianlucaGuarini GianlucaGuarini Update README.md

README.md

IMPORTANT: Looking for a maintainer!

Butter.js was a work in progress project and it's not yet ready for any kind of project. While I was working on it I found that Baconjs has big memory issues that cannot be easily solved. Currently I am one of the riotjs developers and I will not maintain this project anymore. I will keep this up only to find someone else that wants to continue maintaining/enhancing it. Please write me if you are interested

Butter.js logo

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

Work in progress... stay tuned!

Build Status Coverage Status

Dependency Status NPM version NPM downloads

MIT License

Sauce Test Status

Documentation

Butter.View

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

Example

HTML

<!-- 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>

javascript

new Butter.View({
    el: '#toast',
    data: {
      ingredients: [
        "butter",
        "marmalade"
      ]
    }
}).render();

Result

Other Live Examples

Methods

Butter.Data

Methods

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:

An Introduction to Functional Reactive Programming

Something went wrong with that request. Please try again.