The ServeBox Foundry ( sbasfoundry ) is an ActionScript 3 / Java framework designed for Flex applications development. Its design is based on several design patterns, and includes tools built to resolve some of the recurrent Flex2 / Flex3 development issues : Model-View sync, screen-browsing, Access-Control Lists (currently in development), localization and labels externalization, etc. Originally, we (ServeBox) created it to respond to our customers development needs. It is now available as an open-source project under Apache-style license, so you can use it for commercial and/or open-source projects.
Current release is 1.0.0.
Servebox ActionScript Foundry is a project leaded by Servebox.
The framework has been designed for enterprise-scale RIA applications development. Though it is currently a beta release, it has already been deployed on such applications.
It is composed of four libraries :
Flex libraries are built using the Maven 2 - Flex 2 plugin.
The libraries binaries/sources can be downloaded here.
If you want to build your flex applications/libraries using Maven, use the maven repository : http://www.servebox.com/maven to find the Maven 2 - Flex 2 plugin and the required artifacts. The plugin project sources are now available on SF.net.
To install the Foundry, just download the SWC files and include them on your compiler library path. You can also download the sources if you want to compile the libraries by yourself.
The Foundry has been designed for medium to large applications development, so you should use a dedicated software, such as Ant or Maven to manage your applications build process / dependencies.
If you want to use compc to build from the source, open a command-line window, and go to the ServeBox-Commons directory, then type :
compc -compiler.source-path src/main/flex -include-sources src/main/flex -output servebox-commons.swc
The operation should be repeated for ServeBox-Foundry and ServeBox-Toolbox. For those projects, you will need to add dependencies to the other libraries.
For example, if you want to compile the ServeBox-Toolbox library :
compc -compiler.source-path src/main/flex -include-sources src/main/flex -compiler.external-library-path path/to/servebox-commons.swc -compiler.external-library-path path/to/servebox-foundry.swc -output servebox-toolbox.swc
Just add the library projects or SWCs to the flex build path into the project properties (Eclipse).
ServeBox-Foundry has dependencies onto ServeBox-commons, ServeBox-Toolbox on both ServeBox-Foundry and ServeBox-Commons.
Simply add the artifacts as dependencies using the Maven 2 - Flex plugin as shown in the example POM.
Flex is a registered trademark of Adobe, Inc.