diff --git a/docs/guide/model.md b/docs/guide/model.md index 6f03230..02c59ba 100644 --- a/docs/guide/model.md +++ b/docs/guide/model.md @@ -28,6 +28,9 @@ runEma render $ \model -> In this contrived example ([full code here](https://github.com/srid/ema/blob/master/src/Ema/Example/Ex02_Clock.hs)), we are using `UTCTime` as the model. We set the initial value using `LVar.set`, and then continually update the current time every second. Every time the model gets updated, the web browser will [hot reload](concepts/hot-reload.md) to display the up to date value. For the `BlogPosts` model, you would typically use [fsnotify](https://hackage.haskell.org/package/fsnotify) to monitor changes to the underlying Markdown files, but note that Ema provides [a helper](guide/helpers/filesystem.md) for that. +## Advanced tips + +If your model takes on a database-like structure and query functionality, you might find `IxSet` to be an useful library. The [ixset-typed](https://hackage.haskell.org/package/ixset-typed) package (rather than the "ixset" package) is the recommended starting point, and a tutorial can be found [here](https://stackoverflow.com/a/9234807/55246). {.last} [Next]{.next}, we will [talk about routes](guide/routes.md). \ No newline at end of file diff --git a/docs/showcase.md b/docs/showcase.md index b88f64a..e2bce2d 100644 --- a/docs/showcase.md +++ b/docs/showcase.md @@ -11,5 +11,3 @@ Websites that use Ema directly, Website that use Ema indirectly (via [Emanote](https://note.ema.srid.ca/)) - See the list at https://note.ema.srid.ca/examples - -