Giter Club home page Giter Club logo

wolffy1121 / dp-security Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 13535575844/dp-security

0.0 0.0 0.0 1.41 MB

基于SSM框架基于角色的权限管理系统,后端采用Spring、SpringMVC、Mybatis、Shiro,前端采用adminLTE、vue.js、bootstrap-table、tree-grid、layer,对前后端进行封装,可快速完成CRUD的开发。项目采用Maven分模块构建,方便扩展自定义模块。

Home Page: http://security.chenlintech.com

Java 30.37% HTML 36.86% JavaScript 20.33% CSS 12.44%

dp-security's Introduction

dp-security

基于SSM框架的基于角色的权限管理系统,对前后端进行封装,可快速实现CRUD的开发。项目采用Maven多模块构建,方便按需求进行模块化扩展。

项目介绍

  • 一个轻量级的Java快速开发平台(框架),能快速开发项目并交付
  • 友好的代码结构及注释,便于阅读及二次开发
  • 命名规范和工程分层规约参考阿里巴巴JAVA开发规范(参考阿里巴巴Java开发手册 v1.2.0)
  • 前后端开发封装,快速实现CRUD开发
  • 完善的XSS防范及脚本过滤,彻底杜绝XSS攻击(参考开源方案)
  • 基于角色的权限管理,细分到按钮权限
  • 基于Maven模块化开发,可快速实现个性化业务模块

技术方案

  • 核心框架:Spring
  • WEB框架:SpringMVC
  • ORM框架:Mybatis
  • 安全框架:Shiro
  • 模板框架:velocity(支持freemarker、jsp等其他自定义视图)
  • 主页框架:adminLTE(Bootstrap)
  • JS框架:vue.js
  • 表格插件:bootstrap-table
  • 树形表格:tree-grid(基于bootstrap扩展)
  • 树形插件:ztree
  • 弹窗组件:layer
  • 表单校验:validator

项目结构

  • dp-security:父级(聚合)模块
  • dp-common:公共通用模块
  • dp-shiro:权限模块
  • dp-orm:数据持久模块
  • dp-web:前端界面
  • dp-base:基础模块,目前包含通用字典和系统日志管理

交流反馈

命名规范(参考阿里巴巴Java开发手册)

  • 获取单个对象的方法用 get 做前缀
  • 获取多个对象的方法用 list 做前缀
  • 获取统计值的方法用 count 做前缀
  • 插入的方法用 save(推荐) 或 insert 做前缀
  • 删除的方法用 remove(推荐) 或 delete 做前缀
  • 修改的方法用 update 做前缀

应用分层(参考阿里巴巴Java开发手册)

image

软件环境

  • JDK1.7+
  • MySQL5.5+
  • Tomcat7.0+
  • Maven3.0
  • Eclipse或者IDEA(IDE开发环境)

本地部署

  • 从git上下载代码
  • 创建数据库,导入doc下脚本
  • 修改orm模块下db.properties文件,修改数据库配置信息
  • 使用eclipse,idea下运行项目
  • 通过http://localhost:8080/dp-security访问
  • 账号密码:admin / 1

项目演示

运行效果

image image image image image

dp-security's People

Contributors

yczxl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.