What is the Foundry ?

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 :

  • Commons : Basic types and utils.
  • Foundry : Provides the micro-architecture classes.
  • Toolbox : High-level tools (browsing, ACL, dataprovider items search, etc).
  • Foundry-Java-Commons : Java helper classes, built to structure and fasten (Flex) Client / (FDS) Server development.

Flex libraries are built using the Maven 2 - Flex 2 plugin.

Getting started

Download

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.

Installation instructions

Intro

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.

Using command-line compilers

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

Using Adobe Flex Builder

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.

Using Maven 2.0

Simply add the artifacts as dependencies using the Maven 2 - Flex plugin as shown in the example POM.

Documentation

Software requirements

Links

Flex is a registered trademark of Adobe, Inc.

 
Back to top
welcome.txt · Last modified: 2008/09/01 09:19 by adesmarais
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0