项目
在 GitHub 查看
ralliejs/rallie
关于
a library that helps developers implement decentralized front-end micro service architecture
网站与应用开发可以做什么
- Decentralized service arrangement: there is no concept like main-application and sub-application, everything is service, and the dependencies between services are managed and arranged by rallie
- communication between services: services can expose reactive states based on @vue/reactivity along with events and methods based on proxy
- Middleware: The middleware mechanism based on koa-compose makes the process of loading application's resource become really flexible and scalable
- Support mainstream front-end technology: rallie is friendly to typescript, and supports vue2, vue3, react and vanilla js
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.zh.md
原文English | 简体中文
介绍
rallie 是一个可以帮助用户实现去中心化的前端微服务架构的库。基于 rallie 开发的前端应用可以成为一个对外暴露响应式状态,事件和方法的服务,不同服务之间可共享依赖,灵活组合与编排,从而提高大型前端应用的可扩展性
特性
- 去中心化的服务编排:没有所谓的基座应用和内容应用的概念区分,一切应用皆服务,服务间的依赖关系由 rallie 管理和编排
- 服务间通信:服务可对外暴露基于
@vue/reactivity的响应式状态以及基于 proxy 的事件和方法 - 灵活的中间件扩展:基于
koa-compose实现的中间件机制,使应用资源加载变得高度灵活可扩展 - 支持主流前端技术:typescript 友好,针对 vue2, vue3 和 react 技术栈均提供辅助支持
样例
- 代码地址:https://github.com/ralliejs/rallie/tree/master/playground
- 预览地址:https://ralliejs.github.io/rallie/index.html
文档
Rallie.js: 帮助用户构建去中心化的前端微服务架构的库
生态
- @rallie/react: 为 react 服务提供 hooks 支持
- @rallie/vue: 为 vue3 服务提供 composition api 支持,为 vue2 服务提供 mixin 支持
- @rallie/load-html: 一个让服务直接从 html 路径中加载资源的中间件
License
rallie is MIT Licensed
探索相关项目
加载中…