IoC Config 1.1.0
An IoC library for providing injectable config values

IoC Config is an IoC library for providing injectable config values.

Config values are essentially constants, but their value may be overridden on registry startup.

This makes them great for use by 3rd party libraries. The libraries can set sensible default values, and applications may then optionally override them.

IoC Config also grabs values from environment variables and .props files. It even provides environmental overrides allowing your test server to run with different configuration than your dev, or prod server!

Read more...

Install

To install IoC Config with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install IoC Config 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.

afIocConfig.pod (49.53 kB)

Use

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

depends = ["sys 1.0", ..., "afIocConfig 1.1.0 - 1.1"]

Documentation

Information

Meta information on the IoC Config pod:

Published by
Steve Eynon
Organisation
Alien-Factory
Pod file size
49.53 kB
Licence
ISC Licence (ISC)
Built on
9th Apr 2016
Source code
via Mercurial at https://bitbucket.org/AlienFactory/afiocconfig
Depends on
afBeanUtils, afIoc, sys
Referenced by
afBedNap, afBedSheet, afBedSheetEfan, afBedSheetEfanExtra, afBedSheetMoustache, afBounce, afColdFeet, afDuvet, afEfanExtra, afEfanXtra, afEggbox, afGoogleAnalytics, afIocEnv, afMorphia, afPillow
Javascript Compatible

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 13 releases of IoC Config: