IoC 3.0.4
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 (344.92 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.4 - 3.0"]

Documentation

Information

Meta information on the IoC pod:

Published by
Steve Eynon
Organisation
Alien-Factory
Pod file size
344.92 kB
Licence
ISC Licence (ISC)
Built on
16th Aug 2016
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, afEggbox, afExplorer, afFormBean, afGenesis, afGoogleAnalytics, afIocConfig, afIocEnv, afMorphia, afPillow, afReflux, afSitemap
Javascript Compatible

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 37 releases of IoC: