Skip to content

youthlin/mini-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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