Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 5.6 KB

README.md

File metadata and controls

57 lines (40 loc) · 5.6 KB

Concur

Join the chat at https://gitter.im/concurhaskell Join the chat at https://gitter.im/concurhaskell

A brand new client side Web UI framework for Haskell that explores an entirely new paradigm. It does not follow FRP (think Reflex or Reactive Banana), or Elm architecture, but aims to combine the best parts of both.

Documentation

Work in progress tutorials are published in the Concur Documentation site

Installation

It has three backends -

  1. React based, called concur-react. You can use the Concur-React Quickstart Template to quickly get started.

    An example of using Native React Widgets is here - Drag Drop Sortable List Widget (React) - Demo - Demonstrates Concur binding to React-Sortable-Tree.

  2. Virtual-Dom based, called concur-vdom. (Bitrotten). You can use the Concur-Vdom Quickstart Template to quickly get started.

  3. Replica (i.e. remote virtual-dom) based, called concur-replica. Created and maintained by pkamenarsky. Head to its project page for more information.

Performance

Access some performance benchmarks here - https://ajnsit.github.io/concur-benchmarks/

Ports to other languages

Concur's model translates well to other platforms.

  1. Concur for Purescript - An official port to Purescript which is well maintained.
  2. Concur for Javascript - An official but experimental port to Javascript.
  3. Concur for Python - An unofficial and experimental port to Python. Uses ImgUI for graphics. Created and Maintained by potocpav.

Examples

  1. Click Counting Example - Demo - Count total number of clicks on the page, with a button that increments the click count by 10, and also autoincrement clicks every second.
  2. TodoMVC Example - Demo - The canonical TodoMVC example, with views modeled after the one in Elm.
  3. Mario Example - Demo - Port of the Mario example from Elm.
  4. High/Low Game (Virtual-dom) - Demo - An extremely simple number guessing game in 15 lines of code.
  5. High/Low Game (React) - Demo - The same HiLo game, using the React backend.
  6. Kirby Super Star Ultra Splits Timer GUI Challange - Demo - Concur implementation of the KSSU Splits Timer GUI Challenge. Shows a moderately complex UI that's not a todolist!
  7. Menu Widget (React) - Demo - Builds a generic menu widget in 10 lines of code.
  8. Drag Drop Sortable List Widget (React) - Demo - Demonstrates Concur binding to React-Sortable-Tree. A good example of reusing existing React components in Concur.
  9. Your first 8 Concur Pipes Widgets (React) - Demo - Your first 8 Concur Pipe programs! Inspired from the mighty Fudgets' - http://www.altocumulus.org/Fudgets/Intro/