GithubHelp home page GithubHelp logo

crayfish07 / fo-ssm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from panhainan/fo-ssm

0.0 0.0 0.0 269 KB

一个集成SpringMVC、Spring、Mybatis等框架的快速开发的项目架构,包含一个登录注册的例子(例子的代码结构具备参考价值)

Home Page: https://github.com/panhainan/fo-ssm

Java 66.98% HTML 20.51% JavaScript 12.51%

fo-ssm's Introduction

fo-ssm

  一个集成SpringMVC、Spring、Mybatis等框架的快速开发的项目,需要根据自己需要简单修改配置即可作为自己项目的开发基本架构。

基于约定大于配置原则。

规范约定: 1. 数据库表字段使用下划线(_)分割单词,对应Java实体使用驼峰命名法,这里mybatis-config.xml中的配置项: <setting name="mapUnderscoreToCamelCase" value="true"/> 会自动将驼峰命名法的属性与数据库中的下划线命名法的字段关联起来,而不需要手动去写resultMap

需要自定义修改的地方为: 项目的包名,原包名为com.panhainan,修改成你的包名; 由于项目包名在配置中需要使用,因此在src/main/resources/spring/中的spring-service.xmlspring-web.xml文件中的context:component-scan将其中的包名改为你的包名;以及在spring-dao.xml里面的配置mybatis的注入dao接口配置处和实体自动扫描处将包名修改。

其他的根据自己的需要进行修改,比如数据库配置,日志配置等等;




部署配置过程中遇到问题可以联系作者,作者联系方式如下:

潘海南

网站:panhainan.com

邮箱:[email protected]

Q Q :1016593477

如果觉得好,就请支持一下,谢谢!  

fo-ssm's People

Contributors

panhainan 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.