Lodestar-Ractive
A simple combination of the LodestarJs-router and Ractive, presented as a framework.
▾Two way data-binding
Hi my name is {{fullName}}, and I find this is so simple!
{{#if fullName.toLowerCase() === 'great scott!'}}
{{/if}}
Simple Todo MVC
Easy Events
Get HTML from other pages
This will pull in content without reloading the page.
To the example!
Simple Hierarchy with built-in "caching"
router.createRoute({
path: '/',
controller: {
controller: function() {
console.log('This is the index page.');
}
}
});
router.createRoute({
path: '[/]blog',
controller: {
controller: function() {
console.log('This is the child of that ^ index page.');
}
}
});
Progressively Enhance?
Although a simple example, you could do some simple progressive enhancement using this. Turn off JavaScript and have a look.
This site is written in Jekyll with the framework on top of it!