j-mueller / concur

An unusual Web UI Framework for Haskell

Home Page:https://ajnsit.github.io/concur/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 two 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. You can use the Concur-Vdom Quickstart Template to quickly get started.

Performance

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

Ports to other languages

  1. Concur for Purescript - An official port to Purescript which is well maintained.
  2. Concur for Javascript - An official but experimental port to Javascript.

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/

About

An unusual Web UI Framework for Haskell

https://ajnsit.github.io/concur/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 89.5%Language:Haskell 10.5%Language:Shell 0.0%