cms(内容管理系统),主要实现功能是后台能实时控制前台。这里分享出来。后台填写相应的信息之后,点击生成页面,会重新加载ftl文件,生成html静态文件。希望能对学习java的同学有所帮助。
系统管理
用户管理
用户管理-用户管理列表

用户管理-添加用户

用户管理-编辑用户

另外,这里面包含对用户的禁用和启用功能
角色管理
添加、编辑、删除,这里不再做截图,主要功能是对角色的授权
角色管理-角色管理列表

角色管理-授权

功能管理
这里主要是对左侧菜单的crud操作
功能管理-功能管理列表

功能管理-添加功能

功能管理-编辑功能

系统设置
系统设置包含:系统参数设置、数据库设置、系统定时任务设置

密码修改

内容管理
新闻管理
内容管理-新闻管理列表

新闻管理-新闻添加

新闻管理-新闻修改

新闻管理-新闻检索

新闻管理-前台预览

新闻审核
新闻审核-新闻审核列表

栏目管理
栏目管理-栏目查询

资源管理
资源管理-样式管理

资源管理-模板管理

页面生成
页面生成-首页静态化

页面生成-栏目静态化

页面生成-内容静态化

后台的操作可以控制前台页面的生成,这里运用了framemaker的功能
日志管理
主要包含异常的日志、操作的日志、登陆成功日志、登陆失败日志
日志管理

辅助功能
剩下的是辅助的功能点

前台页面

代码还是放到了github上,github地址:https://github.com/railsbigboy/MyCms
不用手动安装数据库了,这里进行了数据库页面的配置就行,自动化安装,访问http://localhost:8080/MyCms/install/index.html
安装本地数据库



写到最后
这个是我4年前的一个毕业项目,花费了1个多月来完成了它,这周的时候在百度云发现了这个项目,想着自己虽然不做java了,但是可以分享出来,让更多人受益,哪怕一点也好,因为自己放着也是放着。
自己做了3年的java,又转去其他语言,1年后再看看java的代码,感觉一种熟悉感袭来,没想到自己当时写了那么多的java代码,站在现在的时间上,其实如果现在我再看看这个项目,easyui其实在工作中用的不多了,现在最火的前端应该是react和vue。
写这篇文章,比我想象中的要累很多,在mac上从0部署java的环境,对了,用mac的同学可以看下这篇https://www.jianshu.com/p/20280b850c95。然后就是截图、写文档,真的挺累的,耗费的时间也挺长,中间有好几次想着今天先完成一半,下周继续来写,但是自己抽根烟,听首歌,给自己鼓了鼓劲,也就写好了,里面的前台页面没有截图太多,大家下载之后可以去了解下,其实主要是后台的生成静态页面,ftl文件已经搭好了,要做的就是去填充数据。如果有问题,可以留言,大家加油吧
网友评论