InfoQ

News

OpenFlux Component Framework for Flex

Posted by Jon Rose on Jun 20, 2008 03:40 AM

Community
Java
Topics
Web 2.0 ,
Rich Internet Apps ,
Rich Client / Desktop
Tags
Flash ,
Adobe ,
Flex
OpenFlux offers Flex developers an open source component framework based on the Model-View-Controller (MVC) Architecture. The library has a set of components that currently includes Buttons, Lists, and ScrollBars. The goal of OpenFlux is to make it easy to “dramatically” customize components within a Flex application, without fear of breaking other parts of the component

Ben Stucki, the project founder, describes the component model this way:
Each component in OpenFlux is comprised of three core parts which work together to define the API (Model), graphics (View), and behavior (Controller) of a component. At first glance I’m sure this seems like it may be overkill for creating a component, and it does add a little bit of complexity. However, there is a huge advantage in that you can very quickly and easily add entirely custom graphics and/or behavior to a component without having to worry about rewriting or breaking the existing pieces.
Project contributor, Ryan Campbell, discusses the differences between the standard Flex components and the OpenFlux components:
The general difference between an OpenFlux component and the current Flex components is that the logic is separated in to a MVC architecture. This allows you to easily swap out one part of a component while keeping the functionality of the others. A List component goes a step further and separates the layout logic so you can easily invent new ways to layout your list items.
In Ben Stucki’s post announcing the release earlier this year, he detailed the motivations for building OpenFlux:
The real purpose of OpenFlux is to be customized and used in your projects. Using a viewless component system means that you can create dramatically new and interesting components quickly and easily, without having to worry about breaking the other parts of the component. Ever spent days hacking away at the Accordian, TabNavigator, or List components? Me too, that’s why I built this. The answer isn’t to make everything protected, it’s to have a better component model!
If you are interested in learning more about OpenFlux, InsideRIA has a good post that walks through getting started with the framework. Also, theflexshow.com posted an audio interview earlier this year with Ben Stucki.
how does it compare to aswing by spambl spambl Posted Jun 20, 2008 9:58 AM
  1. Back to top

    how does it compare to aswing

    Jun 20, 2008 9:58 AM by spambl spambl

    aswing is a framework that let you code flex application in a similar way to swing
    it use of course MVC but also the same class names as swing (JTextField, JTree, JTable...) you can even skin your component with LookAndFeel class
    alpha1 of aswing was released in September 2005 !

Educational Content

Bindings, Platforms, and Innovation

This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.

Orchestrating Long Running Activities with JBoss / JBPM

This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.

Neo4j - The Benefits of Graph Databases

This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.

Realistic about Risk: Software development with Real Options

This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.

Communication Flexibility Using Bindings

This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.

Writing DSLs in Groovy

After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.

Scaling Agile with C/ALM (Collaborative Application Lifecycle Management)

IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.

Concurrent Programming with Microsoft F#

Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.