# VIABUS-Architecture **Repository Path**: corffen/VIABUS-Architecture ## Basic Information - **Project Name**: VIABUS-Architecture - **Description**: 让 Android 开发可以像流水线一样高效的,职责分离架构 不同于 MVP 的配置解耦,也不能和 MVVM 的关注点分离同日而语。VIABUS 是世界范围内首个明确提出,通过职责分离,来真正实现 UI 和 业务并行开发的 Android 项目级开发架构和设计模式理念。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-09-17 - **Last Updated**: 2024-11-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![image](https://github.com/KunMinX/android-viabus-architecture/blob/master/images/viabuslogo.png) ![image](https://img.shields.io/badge/jcenter-0.4.5-brightgreen.svg) ![image](https://img.shields.io/badge/api-%2B15-blue.svg) ![image](https://img.shields.io/badge/license-Apache2.0-blue.svg) ![image](https://img.shields.io/badge/author-KunMinX-orange.svg) ### [中文文档](https://github.com/KunMinX/android-viabus-architecture/blob/master/README_CN.md) | [English](https://github.com/KunMinX/android-viabus-architecture/blob/master/README_EN.md) # 什么是 ViaBus ⭐ ViaBus 是一款响应式架构,借助总线转发数据的请求和响应,实现ui、业务的完全解耦。 ![image](https://github.com/KunMinX/android-viabus-architecture/blob/master/images/viabus_flow.png) # 为什么选择 ViaBus - 1分钟即可掌握,ViaBus 的结构与使用方式。💡 - 当下就可使用,对原项目架构完全兼容,即插即用。🔥 - 允许以 业务或模块为单位,每天1小时,完成渐进式重构。💧 - 职责边界明确,无论是写 UI 还是业务,不再被打断、相互不拖累。🌱 - 原生接口即可实现 跨 Activity、跨组件的 实时双向通信。⚡ - 无编译时注解,基于 Viabus 编写的组件可在任何项目中直接使用。🌎 - 更少的重复工作,扁平的交互模式,代码复用率提升至100%。💪 - ... 更多依据详见 [Wiki - Android:四大架构的优缺点,你真的了解吗?](https://github.com/KunMinX/android-viabus-architecture/wiki/Android-%E5%90%84%E7%B1%BB%E6%9E%B6%E6%9E%84%E6%A8%AA%E5%90%91%E6%AF%94%E5%AF%B9) # 如何使用 ViaBus 在模块的 build.gradle 添加如下 **任一** 依赖 ``` //持续集成的 viabus 快速开发框架(包含 viabus 内核以及热门框架,已用于我司产品的快速开发和重构) implementation "com.kunminx.viabus:architecture:0.4.8" //纯粹的 ViaBus 内核(依赖它你就可以定制属于你的 ViaBus 架构啦) implementation "com.kunminx.viabus:core:0.4.8" ``` 使用方法详见 [Wiki - 1分钟掌握 ViaBus 架构和使用](https://github.com/KunMinX/android-viabus-architecture/wiki/1%E5%88%86%E9%92%9F%E6%8E%8C%E6%8F%A1-ViaBus-%E6%9E%B6%E6%9E%84%E7%9A%84%E4%BD%BF%E7%94%A8) # 谁在用 Viabus |见证者|Logo|作品地址或项目链接| |:--:|:--:|:--:| |[MyateJx](https://github.com/MyateJx)|![sakernote](https://github.com/KunMinX/android-viabus-architecture/blob/master/images/icon_sakernote.png)|[舒心录 - 酷安老牌记事本 app](https://www.coolapk.com/apk/com.myatejx.sakernote)| |[MyateJx](https://github.com/MyateJx)|![gankio](https://github.com/KunMinX/android-viabus-architecture/blob/master/images/icon_gank.png)|[gank.io 客户端](https://github.com/MyateJx/GankIo-viabus-architecture)| # 鸣谢 RxJava # License ``` Copyright 2018 KunMinX Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ```