assertTrue is the professional blog of Luke Bayes and Ali Mills

What is Continuous Integration and how do I use it with ActionScript or Flex applications?

Posted by: Luke Bayes Fri, 08 May 2009 17:00:00 GMT

We recently got a question on the Sprouts Group about Continuous Integration (CI) and I thought I’d try to give it a quick explanation here.

The idea behind Continuous Integration is that you have a machine somewhere on the network that will check out, compile and test your application after almost every check-in. Whenever failures are encountered anywhere in that process, the entire team is notified. This helps us discover unexpected regressions or injections early which helps us pinpoint and address their root causes more efficiently.

This process can be useful in any project, but is especially helpful when working with teams that are all checking into different components of a larger project.

There are essentially three major problems when attempting to introduce ActionScript or Flex applications to typical CI systems:

  • The Flash Player requires a visual window manager to execute your test harness (Usually X-Windows on Linux)
  • The Flash Player does not give us the ability to capture all runtime exceptions, and when an uncaught runtime exception is encountered in the Debug Flash Player, a GUI dialog box is presented that must be manually clicked with a mouse in order to continue or abort execution. This can hang a typical CI set up, and result in an unhelpful “execution timeout” failure.
  • It can be challenging to get a Linux machine properly configured to compile your ActionScript or Flex application, run your test harness, and collect trace output and error messages.
Read more...

Tags , ,  | 4 comments

Execute any preprocessor on your ActionScript or Flex project with Sprouts!

Posted by: Luke Bayes Tue, 13 Jan 2009 22:52:00 GMT

Preprocessing? Check.

With more big thanks to Dru Nelson of BrightRoll, we have just dropped new releases of the sprout and as3 gems that support preprocessing for any compiler task.

You can add the preprocessor directive to any compilation task (or project model if you’re using task ‘helpers’).

The rdoc for the base ToolTask has more detailed information.

To get the latest version open a new terminal and enter the following:

gem update sprout-as3-bundle

As always, please let us know if you run into any issues!

Tags , ,  | no comments

Sprouts now supports Flex Debugger (FDB), Flex Compiler SHell (FCSH) and Continuous Integration (CI)!

Posted by: Luke Bayes Wed, 07 Jan 2009 19:32:00 GMT

Today brings a major set of improvements to the Sprouts ActionScript 3 bundle (and related gems).

We have introduced three major features that you can retrieve by opening a terminal and entering:

gem update sprout-as3-bundle
Read more...

Tags , ,  | 1 comment

FlexMVCS Application Framework Released!

Posted by: Luke Bayes Wed, 16 Jul 2008 01:01:00 GMT

I just wanted to get a quick announcement out there.

While Ali and I were working at Bunchball, we built out a huge application using PureMVC.

As we worked with PureMVC, we encountered some issues that didn’t quite feel right. One of the major factors that drew us to PureMVC in the first place was that Cliff designed everything to work with interfaces instead of hard-coded object references.

This proved to be a critical feature that helped support our desired modifications.

Since leaving Bunchball, Rajat Praharia (the CEO) has generously agreed to let us open-source the modifications under a new project we called, FlexMVCS.

It looks like some of the modifications we made have been integrated with later releases of PureMVC, and to be honest, we haven’t really kept up with changes in the underlying project.

As it stands, we’re not planning on putting much time into this project, but we wanted to get it out there for people that might find it useful.

Please check it out and let us know what you think!

Tags , ,  | 1 comment

SilVaFUG Flex Application Frameworks Presentation

Posted by: Luke Bayes Wed, 17 Oct 2007 20:50:00 GMT

As per our earlier post, Ali and I presented on Flex Application Frameworks last week at SilVaFUG.

You can watch a recording of the preso here, check out our slides here and grab the source files here

SilveFUG Application Frameworks Recording
Read more...

Tags  | 12 comments | no trackbacks

Speaking at Silicon Valley Flex User Group Tomorrow

Posted by: Ali Mills Wed, 10 Oct 2007 17:54:00 GMT

Update January 20, 2009: Many of the frameworks covered in this presentation have evolved considerably since it was given. At the time of this update, my opinions about Cairngorm remain unchanged, but other projects such as the Servebox Foundry warrant closer inspection.

Thanks go to the Servebox team for bringing this to my attention!


Luke bayes

Tomorrow, Thursday, October 11th, 2007 at 7:30pm Luke and I will present on Flex microarchitectures at the Silicon Valley Flex User Group (SilVaFUG) in Adobe’s San Francisco building. We’ll be comparing and contrasting the many frameworks/microarchitectures/seedworks known to us. We’ve been looking into Cairngorm, PureMVC, ARP, MVCS, Flest, Model-Glue: Flex, ServeBox Foundry, Guasax, and Slide to prepare.

If you’re in San Francisco near 601 Townsend at 7:30pm tomorrow, you might consider stopping by. If you’re an expert with any of these projects, it’d be great to see you and hear what you have to say. Neither Luke nor I are, so I’m sure you could teach us and the group something when we roll into the discussion.

And, if you’re aware of other projects, please leave a comment and tell us about them.

Tags  | no comments | no trackbacks

Open Source Flex (Camp)

Posted by: Ali Mills Sat, 28 Jul 2007 07:33:00 GMT

Besides the opportunity to hang with so many great Flex developers and Adobe engineers, the part of Flex Camp I enjoyed most tonight was clarifying the multiple levels of participation available to the community now that the Flex framework is open source. Basically, there are three levels of participation. They are researcher, adviser, and contributor. Details follow…

Read more...

Tags ,  | no comments | no trackbacks

Announcing Sprouts! (was AsProject)

Posted by: Luke Bayes Wed, 13 Jun 2007 17:17:00 GMT

I just wanted to get out a quick announcement before too much more time went by….

I introduced AsProject in April and have since been redesigning it under a new, much more manageable project called Sprouts. Just yesterday it reached a point where it’s at least testable on both OS X and Windows (with Cygwin).

I’m looking for some help getting it production ready (check out the issues list) and feature feedback from the community before I go much further.

Please check it out and let me know what you think, what it needs, and what doesn’t work the way you expect.

Read more...

Tags , , , ,  | no comments | no trackbacks

Issues with Embedded Fonts in Flex Modules

Posted by: Ali Mills Fri, 08 Jun 2007 18:18:00 GMT

We’re working on a modular application in Flex and until recently were having issues with embedded fonts in modules. The main issue was that we wanted fonts embedded in the main CSS to be available in the loaded modules, and we were having a heck of a time getting this to work.

Some research led me to Alex Harui’s post about how to use embedded fonts in modules and late-load the embedded font. Alex’s example demonstrates Flex 2.0.1’s new runtime CSS approach and uses the StyleManager class.

We’re not, however, interested in loading the CSS at runtime (although we reserve the right to change our mind, because it’s a really handy thing to be able to do), so I modified Alex’s example to more closely represent our application structure with hopes of finding my mistake. After the modification, it became clear that I wasn’t making a mistake, but that I had run into a bug. Can you spot it? Here’s the code…

Read more...

Tags , , ,  | no comments | no trackbacks

Open Source Flex?!

Posted by: Luke Bayes Thu, 26 Apr 2007 18:09:00 GMT

Apparently Adobe is planning on going open-source with the Flex framework.

It seems this release will include not only the Flex Framework, but also the mxmlc compiler and debugger!

This is really exciting news, thanks to whoever made this call!

Tags  | no comments | no trackbacks

Older Posts

Older posts: 1 2