# MyBase4j **Repository Path**: devilived/MyBase4j ## Basic Information - **Project Name**: MyBase4j - **Description**: 后台系统造轮子 - **Primary Language**: Java - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 4 - **Forks**: 0 - **Created**: 2016-09-09 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: backend **Tags**: None ## README 分布式模块化基础框架 ---------------------------- - **依赖项目** 1. [Spring Framework](https://projects.spring.io/spring-framework/) 2. [Spring Session](https://projects.spring.io/spring-session/) 3. 我的另一个开源项目[spring-data-mybatis](https://gitee.com/devilived/spring-data-mybatis) 4. 高性能优秀的服务框架[DUBBO](https://www.oschina.net/p/dubbo) 5. 登录页面使用的是[Custom Login Form Styling](https://tympanus.net/codrops/2012/10/16/custom-login-form-styling/) 6. 主体UI由bootstrap替换为[iview](https://www.iviewui.com/docs/guide/introduce)、窗口部分使用了[Layui](https://www.oschina.net/p/layui)的 7. 还有另外一些js组件:[jquery](http://jquery.com/)、[seajs](https://www.oschina.net/p/seajs)、[ztree](https://www.oschina.net/p/ztree)、[vue](https://cn.vuejs.org/v2/guide/index.html) - **使用工具** 1. [Redis](https://redis.io/) 2. [Zookeeper](http://zookeeper.apache.org/) - **项目说明** 1. 基础模块: MyBase4j-Pom(基础配置)、MyBase4j-Util(工具包)、MyBase4j-Base(基础bean、基础接口)、 MyBase4j-BaseImpl(基础接口实现)、MyBase4j-BaseShiro(基础认证接口)、MyBase4j-BaseProvider(基础生产者配置)、 MyBase4j-BaseService(基础业务接口实现)、MyBase4j-BaseWeb(基础Web UI)、MyBase4j-Distributed(分布式消费者配置)、 MyBase4j-NonDistributed(非分布式配置) 2. 系统管理模块: MyBase4j-SecurityPom(系统模块配置)、MyBase4j-Security(系统模块bean、接口定义)、MyBase4j-SecurityImpl(系统模块接口实现)、 MyBase4j-SecurityService(系统模块业务接口实现)、MyBase4j-SecurityShiro(基础认证接口实现)、MyBase4j-SecurityWeb(系统模块UI及业务实现) 3. 发布项目Demo: DemoWebNonDistributed(非分布式发布项目Demo,用于测试开发使用)、 DemoProvider(分布式发布项目生产者Demo,用于正式发布项目使用)、 DemoWeb(分布式发布项目消费者Demo,用于正式发布项目使用) 4. 代码生成器: MyBase4j-Generator(可以生成Bean、数据接口实现、生成者接口、消费者接口、业务接口)、 Maven命令:generator:run - **效果图** 1. 正常模式,参考了iview admin样式 ![首页样式-正常模式](https://images.gitee.com/uploads/images/2018/1028/083704_d14fbd7c_128184.png "home.png") ![表格样式-正常模式](https://images.gitee.com/uploads/images/2018/1028/083735_e281519d_128184.png "datagrid.png") ![表单样式-正常模式](https://images.gitee.com/uploads/images/2018/1028/083755_961d102d_128184.png "form.png") 2. 窗口模式 ![首页样式-窗口模式](https://images.gitee.com/uploads/images/2018/1028/083548_ad8a3241_128184.png "home1.png") ![二级菜单样式-窗口模式](https://images.gitee.com/uploads/images/2018/1028/083904_868882c5_128184.png "menu.png") ![表格样式-窗口模式](https://images.gitee.com/uploads/images/2018/1028/083835_63d23f28_128184.png "datagrid1.png") ![表单样式-窗口模式](https://images.gitee.com/uploads/images/2018/1028/083932_9c524b09_128184.png "form1.png")