forked from zhangkaitao/es
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
158 lines (139 loc) · 7.03 KB
/
index.html
File metadata and controls
158 lines (139 loc) · 7.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>ES—JavaEE快速开发脚手架 by zhangkaitao</title>
<link rel="stylesheet" href="stylesheets/styles.css">
<link rel="stylesheet" href="stylesheets/pygment_trac.css">
<script src="javascripts/scale.fix.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="wrapper">
<header class="without-description">
<h1>ES—JavaEE快速开发脚手架</h1>
<p></p>
<p class="view"><a href="https://github.com/zhangkaitao/es">View the Project on GitHub <small>zhangkaitao/es</small></a></p>
<ul>
<li><a href="https://github.com/zhangkaitao/es/zipball/master">Download <strong>ZIP File</strong></a></li>
<li><a href="https://github.com/zhangkaitao/es/tarball/master">Download <strong>TAR Ball</strong></a></li>
<li><a href="https://github.com/zhangkaitao/es">View On <strong>GitHub</strong></a></li>
</ul>
</header>
<section>
<p><a href="http://zhangkaitao.github.io/es/" target="_blank">项目首页</a>
|
<a href="http://jinnianshilongnian.iteye.com/" target="_blank">我的博客</a></p>
<h2>
<a name="" class="anchor" href="#"><span class="octicon octicon-link"></span></a>介绍</h2>
<ul>
<li>ES是一个JavaEE企业级项目的快速开发的脚手架,提供了底层抽象和通用功能,拿来即用。</li>
</ul><h3>
<a name="-1" class="anchor" href="#-1"><span class="octicon octicon-link"></span></a>核心功能</h3>
<ul>
<li>通用的DAO、Service、Controller抽象,从CRUD中解放</li>
<li>简单的分页、排序、查询抽象,更快的开发速度</li>
<li>借助spring实现简单的数据绑定、类型转换、验证、格式化</li>
<li>提供基础的用户、组织机构、职务等管理</li>
<li>提供基于资源的细粒度授权管理,灵活的授权模型</li>
<li>提供常用功能的用例,直接拿来用即可,比如树、可移动列表(即如排序的分类)、父子表、编辑器、文件上传等等</li>
<li>监控功能,比如缓存管理(命中率、缓存控制等)、二级缓存管理、JVM状态、数据库(druid做的很好了,直接用它的)等等</li>
<li>维护功能,比如图标管理、强大的在线编辑功能(直接在线编辑JSP,无需来回切服务器,上传下载等等)、静态资源管理(自动的压缩、版本化js/css)</li>
<li>站内信功能,支持嵌套展示等</li>
<li>通用的文件上传/下载、通用的验证模型等等</li>
<li>……</li>
</ul><h3>
<a name="-2" class="anchor" href="#-2"><span class="octicon octicon-link"></span></a>技术选型</h3>
<h4>
<a name="-3" class="anchor" href="#-3"><span class="octicon octicon-link"></span></a>管理</h4>
<ul>
<li>maven依赖和项目管理</li>
<li>git版本控制</li>
</ul><h4>
<a name="-4" class="anchor" href="#-4"><span class="octicon octicon-link"></span></a>后端</h4>
<ul>
<li>IoC容器 spring</li>
<li>web框架 springmvc</li>
<li>orm框架 hibernate + spring data jpa</li>
<li>安全框架 shiro</li>
<li>验证框架 hibernate validator</li>
<li>任务调度框架 quartz</li>
<li>缓存 ehcache</li>
<li>数据源 druid</li>
<li>日志 slf4j+logback</li>
<li>Json fastjson</li>
<li>日期美化 prettytime</li>
<li>servlet 2.5</li>
<li>jcaptcha 验证码</li>
<li>jsp 模板视图</li>
</ul><h4>
<a name="-5" class="anchor" href="#-5"><span class="octicon octicon-link"></span></a>前端</h4>
<ul>
<li>jquery js框架</li>
<li>jquery-ui-bootstrap界面框架</li>
<li>font-wesome 字体/图标框架</li>
<li>jquery Validation Engine 验证框架(配合spring的验证框架,页面验证简化不少)</li>
<li>kindeditor 编辑器</li>
<li>nicescroll 漂亮的滚动条</li>
<li>zTree 树框架</li>
<li>jquery blockUI 弹出框/遮罩框架</li>
<li>jquery-fileupload 文件上传</li>
<li>bootstrap-datatimepicker 日历选择</li>
</ul><h4>
<a name="-6" class="anchor" href="#-6"><span class="octicon octicon-link"></span></a>数据库</h4>
<ul>
<li>目前只支持mysql,建议mysql5.5及以上</li>
</ul><ul>
<li>本脚手架会选型技术的最新版本</li>
</ul><h3>
<a name="-7" class="anchor" href="#-7"><span class="octicon octicon-link"></span></a>支持的浏览器</h3>
<ul>
<li>chrome</li>
<li>firefox(目前使用firefox 19.0.2测试)</li>
<li>opera 12</li>
<li>ie7及以上(建议ie9以上,获取更好的体验)</li>
<li>其他浏览器暂时未测试</li>
</ul><h3>
<a name="-8" class="anchor" href="#-8"><span class="octicon octicon-link"></span></a>系统界面截图</h3>
<ul>
<li><a href="https://github.com/zhangkaitao/es/blob/master/src/support/img/1.PNG?raw=true" target="_blank">点击查看1</a></li>
<li><a href="https://github.com/zhangkaitao/es/blob/master/src/support/img/2.PNG?raw=true" target="_blank">点击查看2</a></li>
<li><a href="https://github.com/zhangkaitao/es/blob/master/src/support/img/3.PNG?raw=true" target="_blank">点击查看3</a></li>
</ul><h2>
<a name="ci-status" class="anchor" href="#ci-status"><span class="octicon octicon-link"></span></a>CI status</h2>
<p><a href="https://travis-ci.org/zhangkaitao/es"><img src="https://travis-ci.org/zhangkaitao/es.png"></a></p>
<h2>
<a name="-9" class="anchor" href="#-9"><span class="octicon octicon-link"></span></a>如何运行</h2>
<h4>
<a name="1eswebpomxml" class="anchor" href="#1eswebpomxml"><span class="octicon octicon-link"></span></a>1、到es/web/pom.xml修改数据库配置:</h4>
<ul>
<li> 默认修改:profiles/profile/development下的</li>
<li> connection.admin.url</li>
<li> connection.username</li>
<li> connection.password</li>
</ul><h4>
<a name="2es" class="anchor" href="#2es"><span class="octicon octicon-link"></span></a>2、到项目的根下(es)</h4>
<ul>
<li>cd bin</li>
<li>install.bat 安装jar包到本地仓库(jdk6即可)</li>
<li>create-db.bat 创建数据库(mysql需要5.0及以上 编码为utf-8)</li>
<li>refresh-db.bat 创建schema和初始化data</li>
<li>jetty.bat 启动web应用 默认端口9080 可以到es/web/pom.xml下修改(servlet 2.5即可)</li>
<li>系统默认帐户是admin/123456</li>
</ul><h4>
<a name="3" class="anchor" href="#3"><span class="octicon octicon-link"></span></a>3、注意</h4>
<p>如果你是用mvn jetty:run启动项目,默认会执行speed-up 应用,不过可以到src/main/resources/spring-speed-up.xml中把profile="development"改成任意其他的即可,或者删除<br>
请参考<a href="http://jinnianshilongnian.iteye.com/blog/1883013">加速spring/hibernate应用调试时启动速度</a></p>
</section>
</div>
<footer>
<p>Project maintained by <a href="https://github.com/zhangkaitao">zhangkaitao</a></p>
<p>Hosted on GitHub Pages — Theme by <a href="https://github.com/orderedlist">orderedlist</a></p>
</footer>
<!--[if !IE]><script>fixScale(document);</script><![endif]-->
</body>
</html>