惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
CERT Recently Published Vulnerability Notes
V
Vulnerabilities – Threatpost
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
L
Lohrmann on Cybersecurity
C
CXSECURITY Database RSS Feed - CXSecurity.com
Schneier on Security
Schneier on Security
T
Threatpost
P
Proofpoint News Feed
MongoDB | Blog
MongoDB | Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
大猫的无限游戏
大猫的无限游戏
T
Threat Research - Cisco Blogs
罗磊的独立博客
Security Latest
Security Latest
D
Docker
S
Secure Thoughts
博客园 - 聂微东
A
Arctic Wolf
Recorded Future
Recorded Future
雷峰网
雷峰网
Microsoft Azure Blog
Microsoft Azure Blog
The Cloudflare Blog
P
Palo Alto Networks Blog
Project Zero
Project Zero
Blog — PlanetScale
Blog — PlanetScale
D
Darknet – Hacking Tools, Hacker News & Cyber Security
H
Help Net Security
T
The Blog of Author Tim Ferriss
Latest news
Latest news
AWS News Blog
AWS News Blog
U
Unit 42
Stack Overflow Blog
Stack Overflow Blog
The GitHub Blog
The GitHub Blog
Know Your Adversary
Know Your Adversary
Vercel News
Vercel News
WordPress大学
WordPress大学
Spread Privacy
Spread Privacy
F
Full Disclosure
Martin Fowler
Martin Fowler
T
The Exploit Database - CXSecurity.com
Attack and Defense Labs
Attack and Defense Labs
Y
Y Combinator Blog
Microsoft Security Blog
Microsoft Security Blog
V
V2EX
M
MIT News - Artificial intelligence
P
Proofpoint News Feed
小众软件
小众软件
宝玉的分享
宝玉的分享

博客园 - 消失的风

富文本编辑器vue2-editor实现全屏功能 使用Mist部署Contract到Rinkeby以太坊网络 基于以太坊的Token开发步骤 技术顾问认知(一) Angularjs-项目搭建 Augularjs-起步 appfuse:Excel导出 Appfuse:添加自定义页面组件 基于JQuery实现的文本框自动填充功能 Appfuse:权限控制 Appfuse:记录操作日志 Appfuse:扩展自己的GenericManager Appfuse:第一张表维护 JAVA实现图片裁剪 Mybatis基于注解的方式访问数据库 敏捷开发与jira之研发管理模式 敏捷开发与jira之阶段工作项概述 敏捷开发与jira之燃烧图 敏捷开发与jira之流程
Appfuse:起步
消失的风 · 2015-07-06 · via 博客园 - 消失的风

在众多开源的Java开源CMS中探索了很久,终于选定了appfuse,理由如下:

1. 简洁:只搭建了框架,没有做多余的事

2. 完成了基本的用户管理:用户、角色、权限的定义很清晰

3. 符合预期的架构要求:SpringMVC + Hibernate + Velocity

4. 基于Maven搭建

更多appfuse的能力请参考博文 初识appfuse

准备开始!

1. 基于Maven创建项目(基于SpringMVC的版本):

mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-spring-archetype -DarchetypeVersion=3.5.0 -DgroupId=com.disappearwind -DartifactId=windcms -DarchetypeRepository=https://oss.sonatype.org/content/repositories/appfuse

更多框架架构选择请上官网 http://appfuse.org/pages/viewpage.action?pageId=3866645 ,请注意做好墙的工作,否则脚本不执行

2. 获取项目的源代码

mvn appfuse:full-source

3.  修改数据库连接(pom.xml文件)

如果找不到properties节点,则在pom.xml文件的</project> 上面加,否则在properties节点下直接加
<properties>
<jdbc.username>root</jdbc.username>
<jdbc.password>root</jdbc.password>
<jdbc.url><![CDATA[jdbc:mysql://localhost:3306/appproject?createDatabaseIfNotExist=true&amp;useUnicode=true&amp;characterEncoding=utf-8]]></jdbc.url>
</properties>

4. 跑起来!!!

mvn jetty:run

5. 中文乱码

复制出本身的中文ApplicationResources文件,然后每次修改复制的文件,调用以下代码重新生成目标文件。(方案有点挫,有待改进!)

native2ascii -encoding utf-8 "E:\workspaces\windcms\src\main\resources\ApplicationResources_zh_source.properties" "E:\workspaces\windcms\src\main\resources\ApplicationResources_zh.properties"

一些在探索过程中帮助过我的网站,表示感谢!


http://www.360doc.com/content/14/0107/16/1332348_343357577.shtml
http://www.ibm.com/developerworks/cn/java/j-lo-appfuse/
http://www.yiibai.com/jstl

http://blog.csdn.net/randyjiawenjie/article/details/7909779