Coder Social home page Coder Social logo

spring-learning's Introduction

Spring learning note(spring 学习笔记)

本项目对 spring 的实现机制通过例子进行展示和剖析,并附上部分源码的分析说明。

更详细的工程实用例子可以参考我的另一个仓库 springmvc-mybatis-learning

如果觉得不错,请先在这个仓库上点个 star 吧,这也是对我的肯定和鼓励,谢谢了。

不定时进行调整和补充,需要关注更新的请 Watch、Star、Fork


仓库目录

  • spring-helloworld:一个简单的用户登录小例子,涉及 mvc 和 数据库读写
  • spring-ioc:一些 ioc 的小例子,涉及生命周期,注入,bean 的配置等等
  • spring-aop:一些 aop 的小例子,涉及各种切点知识,动态代理(JDK,CGLib),@AspectJ, LTW等等
  • spring-mvc:一些 mvc 的小例子,涉及注解驱动控制器,数据绑定,视图和视图解析器,本地化解析,上传文件,静态资源处理等

安装和使用

环境准备:

  • jdk 1.8+
  • intellij IDEA 15.0.2+
  • mysql 5.1+
  • maven 3.3+
  • tomcat 8+

数据库导入:

在 IDE 中添加 tomcat 容器:

  • ToolBar -> 运行按钮旁边的下拉 -> "Edit Configurations" -> "+" -> "Tomcat Server" 选 local,如图所示
  • 如果是第一次添加,还需要配置 tomcat 的路径,如图所示
  • spring-helloworldspring-mvc 模块各自需要添加一个 tomcat 容器

TODO

计划逐步完善这个仓库,扩充并实现下面的功能。

  • 入门小例子,spring-helloworld
  • IoC
  • AOP
  • spring MVC
  • 整理部分源码分析,形成博客

联系作者


Lisence

Lisenced under Apache 2.0 lisence

spring-learning's People

Contributors

brianway avatar

Watchers

James Cloos avatar  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.