Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/griffio/om-next-05
Remotes - two lists merged
https://github.com/griffio/om-next-05
Last synced: 8 days ago
JSON representation
Remotes - two lists merged
- Host: GitHub
- URL: https://github.com/griffio/om-next-05
- Owner: griffio
- Created: 2015-11-26T16:04:57.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-14T06:26:17.000Z (almost 9 years ago)
- Last Synced: 2024-04-16T18:27:02.139Z (7 months ago)
- Language: Clojure
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# om-next-05
Simple example based around [om-next Components,-Identity-&-Normalization](https://github.com/omcljs/om/wiki/Components,-Identity-&-Normalization)
**This only demonstrates how data can be loaded and merged and is not an example of remote hosts.**
The Om "merge-tree" function is overridden to merge the two data keys into one normalized state.
Two list remotes :list1 :list2
[public/list1.json](https://github.com/griffio/om-next-05/blob/master/resources/public/list1.json)
[public/list2.json](https://github.com/griffio/om-next-05/blob/master/resources/public/list2.json)
List data is merged together - normalized by om.next to present view
[1.0.0-alpha28](https://clojars.org/org.omcljs/om)
## Overview
![om-next-05.gif](https://raw.githubusercontent.com/griffio/griffio.github.io/master/public/om-next-05.gif)
## Setup
Intellij - Cursive - REPL
![Figwheel Idea Cursive](https://raw.githubusercontent.com/griffio/griffio.github.io/master/public/figwheel-idea.png)
Open your browser at [localhost:3449](http://localhost:3449/).
This will auto compile and send all changes to the browser without the
need to reload. After the compilation process is complete, you will
get a Browser Connected REPL. An easy way to try it is:(js/alert "Am I connected?")
and you should see an alert in the browser window.
To clean all compiled files:
lein clean
To create a production build run:
lein cljsbuild once min
And open your browser in `resources/public/index.html`. You will not
get live reloading, nor a REPL.## License
Copyright © 2015
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.