Add Rich Hickey Video

This commit is contained in:
Mike Thompson 2016-12-16 11:50:59 +11:00
parent 60ffcca772
commit 6036eddcf4
2 changed files with 11 additions and 7 deletions

View File

@ -36,9 +36,9 @@ Perhaps:
In this space, re-frame is very old, hopefully in a Gandalf kind of way.
First designed in Dec 2014, it pre-dates the official Elm Architecture, and
although thankfully influenced by early-Elm concepts like `foldp` and `lift`, we took a slightly
different path and, over time, pioneering concepts like event handler middleware,
coeffect accretion, and deduplicated signal graphs.
5. Which brings us to the most important point. re-frame is impressively buzzword compliant: it has reactivity,
different path and, over time, pioneered concepts like event handler middleware,
coeffect accretion, and de-duplicated signal graphs.
5. Which brings us to the most important point: re-frame is impressively buzzword compliant. It has reactivity,
unidirectional data flow, pristinely pure functions,
interceptors, coeffects, conveyor belts, statechart-friendliness (FSM)
and claims an immaculate hammock conception. It also has a charming

View File

@ -105,22 +105,26 @@ source of data is elsewhere.
6. The ability to do time travel debugging, even in a production setting. More soon.
### Get You A Leveragable Schema
### Create A Leveragable Schema
You really need a schema for `app-db`.
You really need a `spec` schema for `app-db`. The derived power is immense.
Of course, that means you'll have to learn [spec](http://clojure.org/about/spec) and there's
some overhead in that, so maybe, just maybe, in your initial experiments, you can
get away without one. But not for long. Promise me you'll write a `spec`. Good.
get away without one. But not for long. Promise me you'll write a `spec`. Promise me. Okay, good.
The [todomvc example](https://github.com/Day8/re-frame/tree/master/examples/todomvc)
shows how to use a spec. Look in `src/db.cljs` for the spec itself, and then in `src/events.cljs` for
how to write code which checks `app-db` against this spec after every single event has been
processed.
Specs are more leveragable than types. Watch how: <br>
Specs are more leveragable than types. This is a big interesting idea which is not yet mainstream.
Watch how: <br>
https://www.youtube.com/watch?v=VNTQ-M_uSo8
Also, the mighty Rich Hickey (poor audio):<br>
https://vimeo.com/195711510
***
Previous: [This Repo's README](../README.md)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;