Coder Social home page Coder Social logo

itsoo / omd Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 1001 KB

基于 JFinal 框架的脚手架(登录,用户管理,角色管理,权限管理,授权过滤等),手写实现基于 Layui 的单页面应用解决方案

License: MIT License

Java 49.75% CSS 8.78% JavaScript 14.58% HTML 26.89%

omd's Introduction

OMD 框架

基本介绍

基于 JFinal 框架的脚手架(登录,用户管理,角色管理,权限管理,授权过滤等),手写实现基于 Layui 的单页面应用解决方案

技术栈

  • 后端框架 JFinal
  • 模板引擎 JFinal 的 Enjoy
  • 数据库 Sqlite3
  • 前端框架 jQuery
  • UI 框架 Layui 2.4.3
  • Hash 路由手写实现 SPA (Single Page web Application)

实现的模块

  • 用户管理
  • 角色管理
  • 用户权限管理
  • 登录拦截
  • 权限校验
  • 个人中心
  • 重置密码

权限控制

  • 用户表、角色表、用户角色表、权限表、角色权限表
  • 基于 JFinal 的拦截器,手写实现权限拦截
  • 权限数据缓存 Ehcache
  • 基于 JFinal 的扩展指令,手写实现页面权限控制
  • 判断请求类型,并正确反馈用户响应

使用说明

  • 将 omd.db 数据库文件放在 WEB-INF 目录下(也可自定义,需修改配置文件)
  • 导入 maven 依赖
  • 部署并启动 tomcat

omd's People

Contributors

itsoo avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar

Forkers

hoodonet

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.