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
Secure File Transfer for Windows with Cerberus by Redwood
Cerberus supports unlimited users and connections on a single IP, with built-in encryption, 2FA, and a browser-based web client — all deployable in under 15 minutes with a 25-day free trial.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of SwiftSuspenders!