Aglyph cookbook¶
Release: | 3.0.0.post1 |
---|
- Understand the general features of Aglyph
- Choose a configuration approach for Aglyph
- Common usage scenarios
- Describe a simple component (a class or an unbound factory function)
- Describe any Python builtin type as a component
- Use a reference to another component as a dependency
- Defer the resolution of injection values until assembly time
- Declare a method to be called on an object after its dependencies have been injected
- Declare a method to be called on a singleton, borg, or weakref object before it is cleared from cache
- Avoid circular dependencies
- Component inheritance using templates
- Other notable usage scenarios
- Describe components for static methods, class methods, or nested classes
- Describe components for module or class members
- Describe components for Python implementation-specific objects (Stackless, PyPy, IronPython, Jython)
- Use a custom XML parser for XMLContext
- Clear the Aglyph singleton, weakref, and borg memory caches
- Integrating Aglyph