Skip to content

Commit 74a27e2

Browse files
committed
简单改改文档
1 parent 1d97e4f commit 74a27e2

File tree

2 files changed

+101
-20
lines changed

2 files changed

+101
-20
lines changed

README.md

Lines changed: 52 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,31 @@
33
[![Build Status](https://travis-ci.org/hs-web/hsweb-framework.svg?branch=master)](https://travis-ci.org/hs-web/hsweb-framework)
44
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg?style=flat-square)](https://www.apache.org/licenses/LICENSE-2.0.html)
55

6-
### 主要功能
6+
### 业务功能
7+
现在:
8+
9+
1. 权限管理: 权限资源-角色-用户.
10+
2. 配置管理: kv结构,自定义配置.可通过此功能配置数据字典.
11+
3. 脚本管理: 动态脚本,支持javascript,groovy,java动态编译执行.
12+
4. 表单管理: 动态表单,可视化设计表单,自动生成数据库以及系统权限.无需重启直接生效.
13+
5. 模块设置: 配合动态表达没实现表格页,查询条件自定义.
14+
6. 数据库维护: 在线维护数据库,修改表结构,执行sql.
15+
7. 数据源管理: 配置多数据源.
16+
8. 代码生成器: 在线生成代码,打包下载.可自定义模板.
17+
9. 定时任务: 配置定时任务,使用动态脚本编写任务内容.
18+
10. 系统监控: 监控系统资源使用情况.
19+
11. 缓存监控: 监控缓存情况.
20+
12. 访问日志: 记录用户每次操作情况
21+
22+
未来
23+
24+
1. 组织架构管理: 地区-机构-部门-职务-人员.
25+
2. 工作流管理: activiti工作流,在线配置流程,配合动态表单实现自定义流程.
26+
3. 邮件代收: 代收指定邮箱的邮件
27+
28+
29+
### 框架功能
30+
0. 全局restful+json,前后分离.
731
1. 通用dao,service,controller类,增删改查直接继承即可.
832
2. 通用mybatis配置文件,支持多种条件查询自动生成,支持自动生成insert,update,delete语句,支持和查询相同的各种条件.
933
3. 实现用户,权限管理;基于aop,注解,精确到按钮的权限控制.
@@ -14,30 +38,38 @@
1438
8. websocket支持.
1539
9. 定时调度支持,可在页面配置定时任务,编写任务脚本执行。
1640

17-
### 其他组件
18-
1. [hsweb-easy-orm](https://github.com/hs-web/hsweb-easy-orm) :为动态表单设计的orm框架
19-
2. [hsweb-expands-compress](https://github.com/hs-web/hsweb-expands/tree/master/hsweb-expands-compress) :文件压缩,解压操作
20-
3. [hsweb-expands-office](https://github.com/hs-web/hsweb-expands/tree/master/hsweb-expands-office) :office文档操作( excel读写,模板导出,word模板导出)
21-
4. [hsweb-expands-request](https://github.com/hs-web/hsweb-expands/tree/master/hsweb-expands-request): 请求模拟(http,ftp)
22-
5. [hsweb-expands-script](https://github.com/hs-web/hsweb-expands/tree/master/hsweb-expands-script):动态脚本,动态编译执行java,groovy,javascript,spel,ognl....
23-
6. [hsweb-expands-shell](https://github.com/hs-web/hsweb-expands/tree/master/hsweb-expands-shell):shell执行
24-
7. [hsweb-expands-template](https://github.com/hs-web/hsweb-expands/tree/master/hsweb-expands-template):各种模板引擎
25-
26-
# 安装
27-
```bash
28-
$ git clone https://github.com/hs-web/hsweb-framework.git
29-
$ cd hsweb-framework
30-
$ mvn install -DskiptTests
31-
```
41+
### 文档
42+
1. [安装使用](doc/1.安装使用.md)
43+
2. [API](doc/2.API.md)
3244

33-
# 此版本待完善功能
45+
### 此版本待完善功能
3446
1. 单元测试编写
3547
2. 项目文档编写
36-
3. 增加定时调度,支持集群,任务采用脚本方式编写.
48+
3. ~~增加定时调度,支持集群,任务采用脚本方式编写.~~
3749
4. 完善数据库持续集成,版本更新时自动更新数据库结构.
3850
5. 完善动态表单发布,表单发生变化后,自动重新发布(解决集群下,表单配置不一致).
3951

40-
# 演示
52+
### 演示
4153
1. 示例:[demo.hsweb.me](http://demo.hsweb.me)
4254
2. 测试用户:test (test2,test3,test4....) 密码:123456
43-
3. 演示项目源码:[hsweb-platform](https://github.com/hs-web/hsweb-platform)
55+
3. 演示项目源码:[hsweb-platform](https://github.com/hs-web/hsweb-platform)
56+
57+
### 技术选型
58+
第三方:
59+
60+
1. MVC:[spring-boot](https://github.com/spring-projects/spring-boot). 开箱即用,学习成本低,部署方便(main方法运行).
61+
2. ORM:[mybatis](https://github.com/mybatis/mybatis-3). 配置灵活,简单方便.
62+
3. JTA:[atomikos](https://www.atomikos.com/). 分布式事务,多数据源事务全靠他.
63+
4. Cache:[spring-cache](https://github.com/spring-projects/spring-framework/tree/master/spring-context/src/main/java/org/springframework/cache). 统一接口,注解使用,simple,redis... 自动切换.
64+
5. Scheduler:[quartz](https://github.com/quartz-scheduler/quartz). 开源稳定,支持集群.
65+
66+
自家:
67+
68+
0. [hsweb-commons](https://github.com/hs-web/hsweb-commons) :通用工具类
69+
1. [hsweb-easy-orm](https://github.com/hs-web/hsweb-easy-orm) :为动态表单设计的orm框架
70+
2. [hsweb-expands-compress](https://github.com/hs-web/hsweb-expands/tree/master/hsweb-expands-compress) :文件压缩,解压操作
71+
3. [hsweb-expands-office](https://github.com/hs-web/hsweb-expands/tree/master/hsweb-expands-office) :office文档操作( excel读写,模板导出,word模板导出)
72+
4. [hsweb-expands-request](https://github.com/hs-web/hsweb-expands/tree/master/hsweb-expands-request): 请求模拟(http,ftp)
73+
5. [hsweb-expands-script](https://github.com/hs-web/hsweb-expands/tree/master/hsweb-expands-script):动态脚本,动态编译执行java,groovy,javascript,spel,ognl....
74+
6. [hsweb-expands-shell](https://github.com/hs-web/hsweb-expands/tree/master/hsweb-expands-shell):shell执行
75+
7. [hsweb-expands-template](https://github.com/hs-web/hsweb-expands/tree/master/hsweb-expands-template):各种模板引擎

doc/1.安装使用.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# 使用hsweb
2+
项目java8开发,使用maven进行管理.
3+
4+
## 使用
5+
配置pom.xml
6+
```xml
7+
<!--统一依赖管理-->
8+
<dependencyManagement>
9+
<dependencies>
10+
<dependency>
11+
<groupId>org.hsweb</groupId>
12+
<artifactId>hsweb-framework</artifactId>
13+
<version>${hsweb.version}</version>
14+
<type>pom</type>
15+
<scope>import</scope>
16+
</dependency>
17+
</dependencies>
18+
</dependencyManagement>
19+
<!--引入私服-->
20+
<repositories>
21+
<repository>
22+
<id>hsweb-nexus</id>
23+
<name>Nexus Release Repository</name>
24+
<url>http://nexus.hsweb.me/content/groups/public/</url>
25+
<snapshots>
26+
<enabled>true</enabled>
27+
</snapshots>
28+
</repository>
29+
</repositories>
30+
```
31+
32+
引入依赖
33+
```xml
34+
<!--设置了dependencyManagement,可以不指定版本号-->
35+
<dependency>
36+
<groupId>org.hsweb</groupId>
37+
<artifactId>hsweb-web-controller</artifactId>
38+
</dependency>
39+
40+
<dependency>
41+
<groupId>org.hsweb</groupId>
42+
<artifactId>hsweb-web-service-simple</artifactId>
43+
</dependency>
44+
45+
<dependency>
46+
<groupId>org.hsweb</groupId>
47+
<artifactId>hsweb-web-dao-mybatis</artifactId>
48+
</dependency>
49+
```

0 commit comments

Comments
 (0)