• Home
  • Products
  • Technology
  • Experience
  • Services
  • Our Company
  • Blog

Archives

  • February 2009
  • May 2008
  • April 2008
  • March 2008
  • December 2007
  • November 2007
  • October 2007
  • August 2007

Categories

  • Adobe AIR
  • Adobe Flex
  • Cairngorm
  • Encryption
  • General
  • Printing
  • UndoRedo Framework
  • Bookmarks

    • Adobe Labs
    • Planet Ubuntu

Log in
Announcing the Flex UndoRedo Framework

We at Soph-Ware Associates would like to announce the first release of the Flex UndoRedo Framework. The Flex UndoRedo Framework builds on Cairngorm to provide a lightweight but extensible framework for handling undo and redo.

The Flex UndoRedo Framework was built with the following goals in mind:

  • Integrate cleanly and transparently with Cairngorm
  • Provide a robust, extensible framework that would work without modification for basic needs
  • Support for different groups of undo events (one group per flexMdi window for example)
  • Allow undo and redo of an unlimited number of events

The Flex UndoRedo Framework is an OpenSource project available for all to use, for more information see the following links:

  • The Flex UndoRedo Framework project page
  • API Documentation
  • An Example Application (thanks Aaron)

As we have now been through a few iterations with the undo framework, we believe that it provides a solid 1.0 release. If you have thoughts or suggestions, we would love to hear about them.

I’m still fairly new to Flex, so I’m especially interested in language features that I could have leveraged and better ways that I could have handled certain things.

Finally, I like to thank the Soph-Ware Associates, Inc. for letting me open source this, the Adobe Flex team, the great Flex community and my co-worker Aaron Leavitt for the help in making this possible.

Posted by Kaleb Pederson on October 18, 2007 at 2:42 pm
14 Comments or LinksAdobe Flex, Cairngorm, UndoRedo Framework
  1. 1
    Dirk Stevens
    November 28, 2007 at 9:45 am

    Wow, nice work Kaleb!

    I tried the CairnCalc on this site and performed a “1+2-3*4/5″ calculation and it seems that there is a little problem at the “-3″ command. Maybe it is the calculator, maybe the framework?

    Anyways, thanks for opening this up to the community!

    = Dirk

  2. 2
    Kaleb Pederson
    November 28, 2007 at 10:10 am

    Thanks Dirk!

    As far as I can tell, it works correctly, although if there were an error, it would be in the calculator’s command classes rather than the undo framework. The calculator is built with support for operator precedence, so it’s calculated as follows:

    (1+2)-((3*4)/5) = 3 – (12/5) = 3 – 2.4 = 0.6

    Aaron and I actually discussed whether the precedence support was expected or not, and all we could come up with was “it depends.”

    If you try out the UndoRedo Framework, please let us know how it goes!

    Thanks.

    –Kaleb

  3. 3
    Todd
    July 16, 2008 at 1:33 am

    We were considering using this library in our project but is there a reason you chose to release under the GPL which is not very friendly for a commercial project? Would you consider changing the license to a more commercial friendly license such as MIT or Apache as described in this article: http://www.gskinner.com/blog/archives/2008/07/source_code_lic_1.html
    Thanks,

    Todd

  4. 4
    Kaleb Pederson
    July 18, 2008 at 11:05 am

    Thanks for the asking Todd. I’ve forwarded your request asking for consideration of BSD, MIT, and Apache licenses. I hope to have other news soon as well.

    Thanks.

    –Kaleb

  5. 5
    Simon Harvey
    July 31, 2008 at 10:54 am

    Hi Kaleb, any news on that License change? We need that exact functionality but we cant use it because of the GPL licence. Thanks

  6. 6
    Jean-Sebastien Gasse
    September 2, 2008 at 11:36 am

    Hi Kaleb, we are still waiting for the answer on the licenses change. Since we are getting close to a first internal release, we would like to know if we need to change API or cerate one ourself, which frankly, we do not have the time to do.

    BTW, your API woks great, we had it up and running in no time. Grate coding and a good implementation to a common functionality. Good work.

    Again, sorry for pushing the licensing issue. Thanks.

  7. 7
    Kaleb Pederson
    September 3, 2008 at 11:19 am

    For those who asked, we have re-licensed the project under the Apache License. The project home page has been updated and Subversion contains the latest re-licensed source. We’ll make a more formal announcement which will include an updated binary (swc).

    Thank you for your interest.

    –Kaleb

  8. 8
    Simon
    September 10, 2008 at 7:56 am

    Thanks a lot for the license change Kaleb.

  9. 9
    pyso
    October 27, 2008 at 6:09 am

    Hi, thanks for interesting article and framework. Is there any document which describe a little bit more how to work with this Undo/redo framework?
    I know there is API but does it exist also more general “How to work with” documentation?

    Thanks a lot,
    //pyso

  10. 10
    Luiz Henrique
    November 22, 2008 at 10:43 am

    Hi,

    I want to add undo/redo support for my app and i before I found your framework would be really suitable for this task.

    I think it would be really helpful to provide the source code of the example application, or as pyso said, a tutorial of how to use it.

    Thanks.

  11. 11
    ilias
    December 11, 2009 at 9:50 pm

    I would like to clearly know how to use this undo-redo framework. By the way this framework works nice so far i saw.

Incoming Links

  • Soph-Ware Associates | Blog
  • Soph-Ware Associates | Blog
  • Adobe Flex - Cairngorm « Panduramesh’s Weblog

Trackback this post | Subscribe to the comments via RSS Feed