Skip to content

leoshus/terrace

Repository files navigation

TERRACE

terrace是Jave Web企业级开发的scaffold,前端利用jQuery强大的插件,项目整体使用struts+Spring+Spring Data JPA+Hiberante,提供基础数据结构和前端UI, 计划使前端UI和数据端尽可能解耦。 CORE

  • 整体也算是使用了SSH,不过计划尝试SpringMVC
  • 提供通用的DAO Service Controller层 利用Spring Data JPA 简化了持久层业务逻辑的代码量,提高开发效率,统一标准
  • 使用Spring Security来进行基于资源的细粒度权限管理(不过使用Apache Shiro的人也挺多)
  • 使用jQuery/BootStrap 3作为前端UI的支柱
  • 基于Maven来构建管理项目,Maven的jar包管理解放了开发人员,其自身pom的集成机制 使项目可以模块化开发 大大提高了项目的开发效率
  • 基于Travis-CI 自动化持续集成构建项目

Snapshot

Travis CI Status: Build Status

TERRACE construting... ...

little tips

JSP

*JSP2.1 new edition taglib be easy

firstly,place the file page.tag under the folder "WEB-INF/tags"

<%@tag pageEncoding="UTF-8" description="分页" %>
<%@ attribute name="page" type="org.springframework.data.domain.Page" required="true" description="分页" %>
<%@ attribute name="pageSize" type="java.lang.Integer" required="false" description="每页大小" %>
<%@ attribute name="simple" type="java.lang.Boolean" required="false" description="是否简单风格" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

secondly,Then refers to the directory before, in the JSP tag file name as the tag name to call

<%@taglib prefix="terrace" tagdir="/WEB-INF/tags" %>
<terrace:page page="${page}"/>

About

terrace整合了Struts2+Spring+Spring Data JPA+Hiberante

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published