Skip to content

Simple example app for Fuse Fabric (r&d work in progress)

Notifications You must be signed in to change notification settings

Duckers/WeatherTodo

Repository files navigation

WeatherTodo

The WeatherTodo app is a test reference app to showcase how to use Fuse Fabric.

State

The current state of the app is: Not finished.

It has numerous known bugs and lacking features, so use as example only.

Some features shown

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.init to respond to Fabric lifecycle events
  • How to use next for fiber chaining (ConsoleLogger.js, GeoLocator.js, etc)
  • Creating Fabric events (MockGeoLocation.js and GeoLocator.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.

Features not shown in this project yet

There are a number of features not shown in this project yet, including:

  • Namespacing
  • Testing

About

Simple example app for Fuse Fabric (r&d work in progress)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •