Articles for April, 2007
The arguments are being made, and not just by the stereotypical open source advocates: some big-name industry analysts are suggesting that Flash Player should go open source, and that it won’t have the negative impacts that I and many others worry about:
- Anne Zelenka: “Why Open is Good and How Open Could Be Good for Flash” (and it’s predecessor, linked to from that article).
- Ted Leung: “Adobe wants to be the Microsoft of the Web” (and its followup article, linked at the bottom)
- Ryan Stewart: “How Adobe can overcome the issues around open sourcing the Flash Player” (he previously stated that Adobe shouldn’t open source Flash Player, so this is an interesting article with some new ideas I hadn’t seen before.)
I’ve been finishing up migrating my XML-RPC client library to ActionScript 3.0. First task, according to my own recommendation: write more unit tests.
Even though the unit tests I wrote for the ActionScript 2.0 version of the library used ASUnit, this time around I decided to go with the “home team” (i.e. developed by Adobe employees) solution and try out FlexUnit. Fortunately, at least for the tests I had already written, the two systems are pretty similar, so I only had a few tweaks to make to migrate them. (Too bad there wasn’t any way for me to unit-test my unit tests, to make sure they worked the same across frameworks.)
Anyway, along the way I found a couple of resources that were very helpful in getting started, especially since the FlexUnit documentation is rather sketchy (only limited API reference docs available). These were the articles that helped the most:
- Darron Schall: How to use FlexUnit with Flex Builder 2 (A great “getting started” article. This article was actually written while Flex Builder was still in public alpha, so it’s not perfectly accurate when describing Flex Builder’s dialog boxes — but it’s close enough that it was easy to figure out.)
- Daniel Rinehart: Asynchronous Testing with FlexUnit (Naturally, it doesn’t take long with ActionScript 3.0 before you want to test something involving events…so you need to do some asynchronous tests. The docs are no help here, and the included examples are really convoluted. I don’t know how Daniel figured it out, but I found his article very helpful for getting going with asynchronous tests.)
Book Review: ActionScript 3.0 Cookbook
With the release of Flex 2 and ActionScript 3.0, I started to watch for new books coming out. Admittedly the numbers have been smaller than I expected, but the first book to hit the shelves — one I’ve been anticipating with enthusiasm — is the ActionScript 3.0 Cookbook by Joey Lott, Darron Schall, and Keith […]
» Keep reading Book Review: ActionScript 3.0 Cookbook