The WeatherTodo app is a test reference app to showcase how to use Fuse Fabric.
The current state of the app is: Not finished.
It has numerous known bugs and lacking features, so use as example only.
Here are some of the features shown in the app:
- How to configure the Fabric (
WeatherTodo.js) - How to create a single fabric that can be databound to in Fuse (
WeatherTodo.js,WeatherTodo.ux) - Changing the contents of the store (
Todos.js) - Subscribing to multiple node changes in the store using
onChanged(Todos.js) - Pushing viewmodels onto a route (
EditTodo.js) - Setting page local data (
EditTodo.js) - Adding configuration to the fabric (
OpenWeatherMapConfig.js) - Using
this.initto respond to Fabric lifecycle events - How to use
nextfor fiber chaining (ConsoleLogger.js,GeoLocator.js, etc) - Creating Fabric events (
MockGeoLocation.jsandGeoLocator.js) - Creating mock code that can stand in for real implementations (
MockGeoLocation.js,MockBackend.js, etc) - Layering APIs (
ConsoleLogger.js,LogLevelFilter.js) - How to create a facade for multiple fibers (
BackendValidator.js) - Listening to two-way bindings using
onInput(EditTodo.js)
It is not yet decided that all of these techniques are considered best practice.
There are a number of features not shown in this project yet, including:
- Namespacing
- Testing