Crux
An Apache Royale library based on Swiz Framework
The Crux framework for Apache Royale provides:
- Inversion of Control (IoC) and Dependency Injection (DI) with Metadata
- Event handling with Metadata
- Simple life cycle for asynchronous remote method invocations
- Decoupling from application code
In contrast to other major frameworks for Royale, Crux:
- Imposes no JEE patterns on your code
- No repetitive folder layouts
- No boilerplate code on your development
- Does not require you to extend framework-specific classes
Crux represents best practices learned from the top front end developers at some of the best consulting firms in the industry, enabling Crux to be simple, lightweight, and extremely productive.
Start here:
- User Guide
- Quick Start
- Configuration
- IoC Container
- Dependency Injection
- View Mediator and ViewNavigator (check if we support this on Royale)
- Bean Life Cycle Management
- Event Handling
- Service Layer
- Client Persistence
- Interfaces
- Advanced Topics
- AutowiredTestCase
- Chaining API
- Custom Metadata Processors
- Module support
- Support for the Command pattern
- Presentation Model
- Examples
- CruxQuickStart
- This is the example showcased in the Quick Start above. It uses Crux and the Jewel UI Set.
- CruxQuickStartBasic
- CruxGitHubCommitLogViewer
- This is the same tutorial here, but refactored to use Crux.
- TodoMVC
- This is the TodoMVC Application example inspired in the todomv.com site, done with Jewel, but refactored to use Crux.
- CruxQuickStart
- Presentations
- ApacheCon2002: Starting from a blank file (Youtube presentation) - How to build a brand-new application using Royale’s off-the-shelf resources including CRUX. PDF of the slide presentation
This documentation is a migration from the official Swiz Framework docs here. The original documentation was created for the original Flex framework so it’s not 100% accurate for Royale.