Coder Social home page Coder Social logo

elmish's Introduction

Elmish

This is functional programming pattern inspired by the Elm Architecture for building user interfaces.

To get it running:

git clone https://github.com/ccorcos/elmish.git
cd elmish
npm install
ln -s .. node_modules/elmish
node server.js
open http://localhost:3000/

Check out entry.js to select the example you want to run and work your way through the tutorial.

Goals

  • Abstraction
    • It should be trivial to reuse UI components without rewriting them.
    • You should be able to create N instances of your app side-by-side without iframes.
    • Virtual DOM and data fetching requests ought to composable.
  • Pure, Stateless, and Declarative
    • The UI should be a pure function of state.
    • There should be no side-effects tied to the render cycle.
    • Declare what your want, not how to do it.
    • No global variables.
  • Serializable States and Actions
    • Trivial event tracking
    • Send states and actions to the server on any runtime exceptions.
    • Record user sessions and run predictive testing.
    • Time-travelling debugger.
    • Record and save flows to different corners of the app.
    • Generative testing by using the app.

elmish's People

Contributors

ccorcos avatar ecwyne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

elmish's Issues

Library status

I've been reading over the tutorials and I really like the concept and its surface. I'm curious to know about the ability of using elmish as a library, as the repo seems to be in a state of instability. I looked through the branches and it seems that the mego branch has been going through some recent change.

Do you know what it would take in order to make this project user-ready?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.