SwiftSuspenders is a lightweight dependency injection framework for ActionScript, providing a flexible and metadata-driven way to manage object dependencies in AS3 applications. Chaining multiple injectors to create modular dependency-mapping graphs much like inheritance works in OOP. Defining local and shared scope for mappings, akin to public and private members of a class. Support object live-cycle management (note: The latter part of that management, i.e. the destruction, is not yet implemented, but will be for 2.0 final). Injection requests configurable using standardized metadata.
Features
- Metadata-based injection requests configuration ([Inject])
- Supports injection into variables, setters, methods, and constructors
- Optional injections to gracefully handle missing dependencies
- Dependency mappings by class and optional name identifiers
- Custom providers: instance, singleton, value, or user-defined
- Support for injector chaining and scoped (local/shared) configurations
Categories
LibrariesLicense
MIT LicenseFollow SwiftSuspenders
Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform
Build, govern, and optimize agents and models with Gemini Enterprise Agent Platform.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of SwiftSuspenders!