Login

    Register

This is to notify all, that we will be decommissioning http://riaforge.org/ ("Site") soon. This decision has been taken due to business reasons. If you are interested in reviewing or downloading any project or files available at Site, please do so, by April 16, 2019, 12 noon PST , as per license terms associated therewith. Past that, you will not be able to access the projects or files.Should you have any concerns/suggestions/query, feel free to Contact Us.
Managed Hosting

PROJECT CATEGORIES

 

Legato Framework for Flex
Project Home Forums Wiki Known Issues External Project Link Contact Project

Author: Piotr (All RIAForge projects by this author)
Last Updated: May 21, 2009 4:07 PM
Version: 0.9.1
Views: 11,739
Downloads: 441
License: GPL (GNU General Public License), Version 2

Description:

There are two separate modules:
Legato Actions - extension of well known command pattern to make tasks and actions.
Legato Injection - Depedency Injection Container based on MXML configuration and metadata injection

Legato Actions

Actions framework solves some common tasks and problems that exist during rich application development:
- multiple access methods to functionalities (by button, menu item, context menu etc.),
- building multilingual interfaces,
- building sequences of tasks (for example to show dialog and save document before closing it ),
- organizing business components.


Features:
- Multilingual support:
Names, icons, tooltips are loaded from resources file . Changing language on runtime changes actions and visual components language.


- Actions aware visual components
Just add your action to button, menu or context menu - visual components will take the look from action and execute it on click.



Legato Injection

It's an implementation of the pattern as described by Martin Fowler in “Inversion of Control Containers and the Dependency Injection pattern”. It contains setter injection and constructor injection implementations. Main ideas are to : connect simple components in depedency injection container, make use of Flex features e.g. use MXML files (with code completition etc.) rather than external XML files for depedency injection configuration,

This container can be used also as a service locator.

Features:
- Simple MXML configuration
For both setter injection and constructor injection
- Metadata Injection

Example:
//Injection by id
[Inject(id="component1")]
public var a:Object ;

//injection by id simpler
[Inject("component2")]
public var b:Object;

//injection by type
[Inject(type="poc.SimpleComponent2")]
public var c:SimpleComponent2;

//Injection by type guess
[Inject]
public var d:ExplicitCommandImpl;


//Injection by type works with interfaces, basic classess too
[Inject]
public var e:IExplicitCommand;

Read more on project page and wiki

Requirements:

Flex 3 SDK

Issue Tracker:

This project has an external bug tracker. You can find it here:
http://code.google.com/p/legato/issues/list


This is to notify all, that we will be decommissioning http://riaforge.org/ ("Site") soon. This decision has been taken due to business reasons. If you are interested in reviewing or downloading any project or files available at Site, please do so, by April 16, 2019, 12 noon PST , as per license terms associated therewith. Past that, you will not be able to access the projects or files.Should you have any concerns/suggestions/query, feel free to Contact Us.