IoC 3.0.6
A 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.

Read more...

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.

afIoc.pod (343.56 kB)

Use

To use IoC in a Fantom project, add a dependency to the project's build.fan:

depends = ["sys 1.0", ..., "afIoc 3.0.6 - 3.0"]

Documentation

Information

Meta information on the IoC pod:

Published by
Steve Eynon
Organisation
Alien-Factory
Pod file size
343.56 kB
Licence
ISC Licence (ISC)
Built on
7th Sep 2017
Source code
via Mercurial at https://bitbucket.org/AlienFactory/afioc
Depends on
afBeanUtils, concurrent, sys
Referenced by
afBedNap, afBedSheet, afBedSheetDraft, afBedSheetEfan, afBedSheetMoustache, afBounce, afColdFeet, afDuvet, afEfanXtra, afEscapeTheMainframe, afExplorer, afFindEmma, afGenesis, afGoogleAnalytics, afIocConfig, afIocEnv, afMorphiaIoc, afPillow, afReflux, afSitemap, afSleepSafe
Javascript Compatible

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 39 releases of IoC: