Skip to content

youthlin/mini-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
youthlin.chen
Jan 28, 2018
5d91911 · Jan 28, 2018

History

82 Commits
Jan 28, 2018
Jan 28, 2018
Jan 28, 2018
Aug 17, 2017
Aug 22, 2017
Dec 16, 2017
Jan 28, 2018

Repository files navigation

Mini-framework

Build Status Maven Central

<properties>
    <mini-framework.version>1.1.0</mini-framework.version>
</properties>

Mini-IoC

A Spring-style simple Ioc container.

<dependency>
    <groupId>com.youthlin</groupId>
    <artifactId>mini-ioc</artifactId>
    <version>${mini-framework.version}</version>
</dependency>

examples: https://github.com/YouthLin/examples/tree/master/example-my-ioc

JUnit Supports

@RunWith(MiniRunner.class)      //Use MiniRunner to run Test
@Scan("com.youthlin.examples")  //Scan packages
public class MyServiceTest{
    @Resource
    private IHelloService helloService;
    @Test
    public void test(){
        helloService.sayHello("JUnit");
    }
}

Mini-MVC

A Spring MVC style simple MVC framework, which supports MyBatis3, Thymeleaf, etc.

<dependency>
    <groupId>com.youthlin</groupId>
    <artifactId>mini-mvc</artifactId>
    <version>${mini-framework.version}</version>
</dependency>

examples: https://github.com/YouthLin/examples/tree/master/example-mini-mvc

Mini-RPC

A Mini RPC framework, which supports callback, async, etc.

<dependency>
    <groupId>com.youthlin</groupId>
    <artifactId>mini-rpc</artifactId>
    <version>${mini-framework.version}</version>
</dependency>

examples: https://github.com/YouthLin/examples
example-rpc-api/provider/consumer

About

mini IoC, MVC, RPC framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages