SomaCore
What is SomaCore?
SomaCore is a lightweight event-based MVC framework written in AS3 that provides a structure, models, views management and commands. Somacore can be used for Flash, Flex and AIR projects.
SomaCore is completely event-based and use a concept of wires to code in a efficient decoupled way. SomaCore can be used with or without dependency injection, and provide an injector adapter for the included DI library: SwiftSuspenders.
You can use SomaCore in anything, except to include/distribute it in another framework, application, template, component or structure that is meant to build, scaffold or generate source files.
Few things to know:
- SomaCore requires the stage to be instantiated.
- SomaCore can be used as a registry framework, dependendy injection framework, or both in the same time.
- Another Dependency Injection library can easily be used instead of the default one.
- Commands are normal built-in Flash events with the bubbles property set to true.
- Commands can be used in the views as they are not framework code.
- Wires are the glue of the frameworks elements (models, commands, views, wires) and can be used the way you wish, as proxy/mediators or managers.
- Wires can manage one class or multiple classes.
- Mediators are automatically created and removed when a view is added or removed from a display list (with or without injection enabled).
- Parallel and sequence commands are built-in.
- You can create and register customs plugins to the framework (such as the SomaDebugger plugin).
- You can access to all the framework elements that you have registered (stage, framework instance, wires, models, views, injector, reflector, mediators and commands) from commands, wires and mediators.
Download Source
Repository (Github)
SomaCore Framework.
SomaCore Demos.
SomaCore Plugins.
Documentation
Click here to see the documentation (asdoc).
Manual (wiki).
Diagram
Tutorials
Getting started (made with SomaCore v1)
Hello World

With dependency injection
View Demo
View Source
Download Source
Without dependency injection
View Demo
View Source
Download Source
Demo Flash

With dependency injection
View Demo
View Source
Download Source
Without dependency injection
View Demo
View Source
Download Source
Demo Flash (garbage collection monitor)

View Demo
View Source
Download Source
Demo Flex (CafeTownSend)

With dependency injection
View Demo
View Source
Download Source
Without dependency injection
View Demo
View Source
Download Source
Twitter Search

With dependency injection
View Demo
View Source
Download Source
Without dependency injection
View Demo
View Source
Download Source






Entries (RSS)
September 30th, 2010 at 4:29 pm
[...] http://www.soundstep.com/blog/downloads/somacore/ [...]
October 18th, 2010 at 8:14 pm
[...] SomaCore [...]
October 24th, 2010 at 5:33 pm
[...] SomaCore [...]