volt - A ruby web framework where your ruby runs on both server and client

  •        0

Volt is a Ruby web framework where your ruby code runs on both the server and the client (via [opal](https://github.com/opal/opal)). The DOM automatically update as the user interacts with the page. Page state can be stored in the URL. If the user hits a URL directly, the HTML will first be rendered on the server for faster load times and easier indexing by search engines.Instead of syncing data between the client and server via HTTP, Volt uses a persistent connection between the client and server. When data is updated on one client, it is updated in the database and any other listening clients (with almost no setup code needed).Pages HTML is written in a handlebars-like template language. Volt uses data flow/reactive programming to automatically and intelligently propagate changes to the DOM (or anything other code wanting to know when a value updates). When something in the DOM changes, Volt intelligently updates only the nodes that need to be changed.See some demo videos here: - [Volt Todos Example](https://www.youtube.com/watch?v=6ZIvs0oKnYs) - [Build a Blog with Volt](https://www.youtube.com/watch?v=c478sMlhx1o) - [Reactive Values in Volt](https://www.youtube.com/watch?v=yZIQ-2irY-Q)Check out demo apps: - https://github.com/voltrb/todos3 - https://github.com/voltrb/blog - https://github.com/voltrb/contactsdemo




comments powered by Disqus

Related Projects

VoltRb - A gem client for VoltDB

A gem client for VoltDB