Lava JS

Lava JS is a javascript framework that makes creating web applications much easier. It allows you clearly separate your logic from the UI by utilizing concepts of MVC architecture and data binding.

Hello World Example

<!DOCTYPE html>
<html>
    <body>
        <input type="text" data-bind="{value: person.first}" />
        <input type="text" data-bind="{value: person.last}" />
        <label data-bind="{value: person.name}"></label>
        <script>
            var person = Lava.Object({
                first: 'John',
                last: 'Doe',
                name: Lava.Computed(function () {
                    return this.first + ' ' + this.last;
                })
            });
        </script>
    </body>
</html>

Features

  • Small in size (14 KB minified)
  • Does not have any dependencies
  • Very unobtrusive. You can use Lava in a small part of your application, or to structure the entire application.
  • Rich and intuitive data binding
  • Doesn't get in the developers way
  • Provides structure for your application, if you want it

See the Demos or Documentation to learn how to use Lava.

 

 

Last edited Nov 6, 2013 at 8:47 PM by tjscience, version 39