• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

keechma/keechma: Micro frontend framework for ClojureScript and Reagent

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

keechma/keechma

开源软件地址:

https://github.com/keechma/keechma

开源编程语言:

Clojure 100.0%

开源软件介绍:

Keechma

Clojars Project

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

  • Deterministic and predictable behavior
    • Based on the route, you can determine what the application's state will be
    • UI never "requests" data it's 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 entities' states
    • An entity is any data loaded into the app that has an 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 change
    • 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-applicationsns
  • UI components are decoupled and reusable
    • UI components can declare it's dependencies
    • Dependencies are injected when the application is started
    • Each component has 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 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.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap