- Views, Pages & View-Switcher
- Ampersand-App Singleton
This is just a demo but at least a functional one.
- It shows a Login page (enter anything)
- uses a real, JSON-based remote service (JSON Test)
- has a Menu structure
- has a Movie-list built with RiotControl and AmpersandJS Model & Collections
- a Todo-List
- and a Contact Form
It also can serve as a boilerplate because is very easy to replace/remove parts which are not of interest (or buggy?).
However, this is not because the demo is such a nice piece of software but because AmpersandJS & RiotJS go out of your way and let you choose parts which are of help to you. They serve your needs and not the other way around.
All good & helpful parts in this demo are because of AmpersandJS & RiotJS developers.
All bugs, sloppy usage of technologies and misunderstood concepts are mine.
Building & Running
First, install packages with:
To test the app run:
To develop use
gulp watch which comes with LiveReload (if you run on Chrome you can install the plugin)
Building is done with Browserify and a few transformers for HTML templates, Styles and Riot's Tag-Files.
You can bundle CSS by setting a proper
import statement in
To get a compressed version type
Output directory is public/ while the bundled but unminified sources go to build/
What does the word 'Amoklauf' mean?
It's a German word for rampage, running frenzy, or running amok.
I'm using RiotJS. Hence the name