Giter Site home page Giter Site logo

jocrau / keechma Goto Github PK

View Code? Open in Web Editor NEW

This project forked from keechma/keechma

0.0 2.0 0.0 278 KB

Micro frontend framework for ClojureScript and Reagent

Home Page: http://keechma.com

License: MIT License

JavaScript 0.20% Clojure 99.06% CSS 0.03% HTML 0.71%

keechma's Introduction

Keechma

Clojars Project

Keechma is a micro framework for Reagent written in ClojureScript. It gives you a set of utilites that allow you to build the applications that have the following properties:

  • Deterministic and predictable behavior
    • Based on the route, you can determine how will the application state look
    • UI never "requests" the data it is always provided to it
  • Unidirectional data flow
    1. Route params are derived from the URL
    2. Application state is derived from the route params
    3. UI is derived from the application state
  • Loose coupling between components
    • Communication is performed through core.async channels
  • Automatic synchronization of the entity states
    • Entity is any data loaded into the app that has identity (e.g. :id column)
    • Entities are stored in the EntityDB
    • EntityDB propagates entity state to every place where that entity is displayed in the UI
  • Enforced lifecycle (and memory safety)
    • Automatically load data on route change
    • Automatically clean up stale data on route chane
    • Automatically set up event listeners on route change (e.g. listener on the WebSocket)
    • Automatically tear down event listeners on route change
  • Applications are first class citizens
    • Applications can be started and stopped
    • Applications can be passed around
    • Applications can mount sub - applications
  • UI components are decoupled and reusable
    • UI components can declare it's dependencies
    • Dependencies are injected when the application is started
    • Each component has it's own context
  • No shared globals
    • Router is bound to the application context
    • App state is bound to the application context
    • Multiple apps can run at the same time, each with it's own state

Documentation

Read the guides or the API docs to find out more about Keechma.

Name

Kičma (lat. columna vertebralis) is a Croatian word for backbone / spine.

Yes, it’s a nod to BackboneJS and SpineJS.

License

Copyright © 2016 Mihael Konjevic.

Distributed under the MIT License.

keechma's People

Contributors

neektza avatar retro avatar

Watchers

 avatar  avatar

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.