IoC 3.0.8A fast, lightweight, and highly customisable Dependency Injection framework
IoC is a fast, lightweight, and highly customisable Dependency Injection framework that binds your application together.
Like Guice? Know Spring? Use Autofac? Then you'll love IoC!
- Ctor injection
- Field injection
- Distributed service configuration
- Non-invasive usage
- Lazy services
- Simple API
- Runs in Javascript!
See frameworks such as BedSheet and Reflux for ready to go IoC containers.
IoC was inspired by the most excellent Tapestry 5 IoC for Java.
Install
To install IoC with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install IoC with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/
directory.
Use
To use IoC in a Fantom project, add a dependency to the project's build.fan
:
depends = ["sys 1.0", ..., "afIoc 3.0.8 - 3.0"]
Documentation
Information
Meta information on the IoC pod:
- Published by
- Steve Eynon
- Organisation
- Alien-Factory
- Pod file size
- 344.84 kB
- Licence
- ISC
- Built on
- 6th Dec 2019
- Source code
- via Git at https://github.com/SlimerDude/afIoc
- Depends on
- afBeanUtils, concurrent, sys
- Referenced by
- afBedNap, afBedSheet, afBedSheetDraft, afBedSheetEfan, afBedSheetMoustache, afBounce, afColdFeet, afDuvet, afEfanXtra, afEggbox, afEscapeTheMainframe, afExplorer, afFindEmma, afFormBean, afGenesis, afGoogleAnalytics, afIocConfig, afIocEnv, afMorphiaIoc, afPillow, afRecaptcha, afReflux, afSitemap, afSleepSafe
- Javascript Compatible
Dependency Graph
Release History
There have been 39 releases of IoC: