Git Product home page Git Product logo

bbelovic / spring-fu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spring-projects-experimental/spring-fu

0.0 1.0 0.0 16.23 MB

Spring Fu is an incubator for new Spring features related to explicit configuration and runtime efficiency.

Home Page: https://spring.io/blog/2018/10/02/the-evolution-of-spring-fu

License: Apache License 2.0

Kotlin 72.34% Java 27.53% Shell 0.12% HTML 0.01%

spring-fu's Introduction

Spring Fu

Build Status

Spring Fu is an incubator for new Spring features related to explicit configuration and runtime efficiency.

While regular Spring Boot applications are configured using annotations, conventions and automatic configuration based on conditions like "Is this class available in the classpath?", Spring Fu provides an explicit way of configuring Spring Boot applications with a Kotlin DSL (Kofu) or a Java DSL (Jafu) using functional bean definitions for both Spring Boot infrastructure and application code.

It has following characteristics:

  • Explicit configuration via Kotlin or Java DSL instead of annotations

  • Minimal set of features enabled by default

  • No classpath scanning, no feature enabled based on classpath detection

  • Both declarative (via the DSL) and programmatic (code auto-complete, allow any kind of if, for statements)

  • Functional configuration based on pure lambdas

  • Minimal reflection usage, no CGLIB proxy, no annotation processing

  • Faster startup and lower memory consumption

  • GraalVM native image friendly

The project also incubates various other features like Coroutines or GraalVM support. You can see the roadmap for more details.

It is not intended to be used in production, but rather to incubate and get feedback and contributions from the community in order to reach a point where its features can be integrated as part of existing Spring projects like Framework, Boot and Data.

Getting started

Choose your flavor and follow the documentation:

  • Kofu for Spring Boot applications written in Kotlin

  • Jafu for Spring Boot applications written in Java

Credits

In addition to the whole Spring and Reactor teams, special credits to:

spring-fu's People

Contributors

sdeleuze avatar tgirard12 avatar alek-sys avatar jnizet avatar alexczar avatar malltshik avatar t-kameyama avatar kinmarui avatar hauerio avatar neversleepz avatar miguelarca avatar irus avatar sandjelkovic avatar ksvasan avatar

Watchers

Boris Belovic 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.