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
Try Google Cloud Risk-Free With $300 in Credit
Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of SwiftSuspenders!