Posts tagged as 'Flex'

Spring Actionscript example project with source

In preparation for my session at gotoAndSki I have created a Spring Actionscript version of my frameworks example application. The Spring Actionscript developers have released a version 1 release candidate and it’s time to include it in these comparisons.

For this Spring Actionscript example I’ve used exactly the same project as in the previous examples for other frameworks. Like many of the newer frameworks, Spring Actionscript is not prescriptive about your application’s architecture so I’ve used a similar MVC architecture to the one in my Swiz example.

What project will replace the Flex framework?

In my previous post I discussed the idea that a project might emerge to replace the Flex framework, in a similar manner to Spring replacing EJB in the Java world. Although I am not in a position to predict what that project will be, I did mention some characteristics that I think the project will have. They were

  1. It will start as something simple, with a strong foundation and the potential to grow.
  2. It will have some very strong developers at its core.
  3. It will have at least one project member with an ability to market effectively to the developer community.
  4. It will be open source.
  5. Its roadmap will develop through open discussion with the community.
  6. It will have a very active developer community around it.
  7. It’s probably a project that has already begun.

I can think of three excellent projects that meet most or all of these criteria. Whether any of them will one day replace the flex framework depends on many things, including in two cases whether the developers would even want to do such a thing. Here are the projects…

Is The Flash Platform waiting for a Spring moment?

I’ve dipped my toe back in the Java world recently, and I’m reminded of some interesting Java history that may be echoed in Flash’s future.

Back in the distant mist of Java’s past, most large Java web projects were built using something called Enterprise JavaBeans. EJB was a complex framework developed by Sun, the developers of Java itself (with some input from IBM). EJB had a number of good things going for it, but some developers also thought that the architecture and APIs were too complex.

Then a smart guy called Rod Johnson wrote a book about an idea, and he created a small framework called Spring to illustrate that idea, and the Java world started to change…

Smartypants-ioc and As3-signals example

During my recent presentation at LFPUG, Tink was very persistent in suggesting that the event bus used in most MVC frameworks might not be the best solution. This got me thinking about what it would be like to do MVC without an event bus. And so began this little experiment…

Robotlegs example project with source

Any comparison of frameworks wouldn’t be complete without Robotlegs. I included Robotlegs in my session at LFPUG recently, but didn’t post the example project here because the framework was in a state of flux. Robotlegs is now settling down as it approaches its imminent 1.0 release, and the MVCS implementation in it is unlikely to change further, so here’s my example.

For this Robotlegs example I’ve used exactly the same project as in the previous examples for other frameworks. Robotlegs is not prescriptive about your application’s architecture, but it does include a default MVCS implementation for those that wish to use it. I’ve used that default implementation here.

The example is below. Links to the other versions follow. All versions have identical functionality. Right click on the swf to view the source…

Parsley example project with source

I recently posted a number of versions of the same Flex project, built using various different frameworks. These related to my presentation at Flash on the Beach this year. I’m repeating that presentation, with variations, at the London Flash Platform User Group in a few days and for that talk I’ll be adding Parsley to the set of frameworks I’ll compare.

As a warm-up to that I’ve recreated the same example as before using the Parsley framework. The example is below. Links to the other versions follow. All versions have identical functionality. Right click on the swf to view the source…

Swiz example project with source

At Flash on the Beach this year, I presented a session on application frameworks. As part of that session, I had planned to show the source for an example application built using each of the four frameworks I covered. When I discovered that as planned my presentation would take three hours to present, I had to cut a lot of content and the example application was one of the items to be cut. But I still have the source for those applications so I’m posting it here today.

Below is the example built using the Swiz application framework. Another four posts will contain the other four versions. All five versions have identical functionality. Right click on the swf to view the source…

Mate example project with source

At Flash on the Beach this year, I presented a session on application frameworks. As part of that session, I had planned to show the source for an example application built using each of the four frameworks I covered. When I discovered that as planned my presentation would take three hours to present, I had to cut a lot of content and the example application was one of the items to be cut. But I still have the source for those applications so I’m posting it here today.

Below is the example built using the Mate application framework. Another four posts will contain the other four versions. All five versions have identical functionality. Right click on the swf to view the source…

next page