# code4craft/tiny-spring

A tiny IoC container refer to Spring.

Repository: https://github.com/code4craft/tiny-spring
Canonical: https://ross.abutalabs.com/products/tiny-spring
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2023-11-27T06:31:02+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4618, "days_push": 1010, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4081, forks 1795 (observed 2026-08-28T04:08:34.426831+00:00)

## What it is
A minimal, educational reimplementation of the Spring IoC container written in Java, built step-by-step with git tags mirroring Spring's design. It supports singleton beans with property and dependency injection, XML configuration, and AspectJ-style AOP with interface and class proxying.

## Use cases
- learn how Spring's IoC container works internally
- study a simplified Spring source code instead of the full framework
- understand dependency injection and bean lifecycle implementation
- learn how AOP proxies are built in Java
- follow a step-by-step tutorial for building a mini Spring
- teach framework design with a small readable codebase

## When to choose
- you want to read a small, readable codebase to understand Spring's core design
- you are learning dependency injection and AOP concepts hands-on
- you want to follow milestone git tags as a guided learning path

## When to avoid
- you need a production-ready dependency injection container
- you need full Spring features like transactions, web MVC, or Spring Boot integration
- you need active maintenance or long-term support

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: middleware, developer-tools
- domain: developer-tools, tutorials, programming-languages
- platform: jvm
- tags: ioc-container, dependency-injection, aop, spring-clone, educational, xml-configuration, aspectj

## Member repositories
- code4craft/tiny-spring (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:34.426831+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:25.616609+00:00, confidence not recorded.
  - readme: https://github.com/code4craft/tiny-spring (fetched 2026-08-28T04:08:34.426831+00:00, sha 4f09ab9a5c65)
- Data as of 2026-08-30T08:39:29.467469+00:00.
