/customers/iconara.net/iconara.net/httpd.www/blog/wp-content/plugins/wp-super-cache/wp-cache-phase1.php Iconara » 2007 » March

Archive for March, 2007

On SWX

Nowadays a new data interchange format is born more or less every day. Today I saw a couple of posts on MXNA announcing SWX, so, curious as I am I checked it out. Now I shake my head in wonder of how people find the time to reinvent the wheel time and time again.

Read the rest of this entry →

Using Dependency Injection to simplify parallel development in Flex and Apollo

In this article I’m going to show you how to use dependency injection in Flex and how to use that to support parallel development in Flex and Apollo. Along the way I’m also going to talk about the Data Access Object pattern.

Read the rest of this entry →

A simple solution for parallel development in Flex and Apollo

One of my first thoughts when Apollo came out was how to support parallel development. I would like to use Apollo to deploy my Flex applications on the web and as desktop applications. In this post I’ll show you a simple way to port your Flex application to Apollo.

Read the rest of this entry →

LiveDocs WTF

Take a look at this screencast of Adobe’s LiveDocs loading in FireBug’s network debugging panel, it’s completely priceless and explains why the LiveDocs suck so beyond anything else:

http://codesoup.org/adobe_livedocs/

60 requests before you can actually click on anything, and almost 700 requests before it tells you that a search for “adobesucks” didn’t yield any results – and searching for “MovieClip” aparently loads just as much. It’s over 2 Mb of data, and only 10 Kb of it is cacheable.

It’s a good thing the ActionScript 3.0 and Flex API docs are generated by ASDoc and are not accessed through LiveDocs, otherwise I would go mad.

Found via http://forums.worsethanfailure.com/forums/thread/116913.aspx, which actually contains a explanation and apology from a Adobe representative.

The Apollo SDK will be free

Adobe is continuing the trend they started with the Flex SDK and will provide the Apollo SDK free of charge.

This is an excerpt from the Apollo for Flex Developers Pocketguide:

The Apollo SDK provides a number of free command-line tools that make it possible to test, debug, and package Apollo application swith virtually any web development and design tool. [...] While Adobe will be adding support to its own web development and design tools for authoring Apollo content, they are not required. Using the Apollo command-line tools, you can create an Apollo application with any web development tool. You can use the same web development and design tools that you are already using today.

This is really good news, and probably a very good strategy on Adobe’s part. Instead of shying away from buying a full development environment for hundreds of dollars, potential new developers can try out the platform for free and without restriction.

I for one have changed my view of Adobe/Macromedia as a company over the last year, from mildly sceptical to very entusiastic.

Planes, trains and autobuses

I’m going to London in April, and as the environmentally aware person I am, I would prefer not to fly. The problem is that I live in Gothenburg, Sweden, which isn’t connected to the British isles in any way. Really, it’s not far, but there are a few obstacles in the way – look at a map and you’ll understand. Ferry would be ideal, but the last connection was shut down a year ago – outcompeted by RyanAir. So what am I to do?

Read the rest of this entry →

Architectural Atrocities, part 7 / MXMLC WTF (6): Some types are less equal than others

An object of type Number, int, uint and Boolean cannot contain null. You may find it obvious, but I find it weird and disturbing. Disturbing enough to include it in my series on architectural atrocities in ActionScript.

Read the rest of this entry →

MXMLC WTF (5)

Today I discovered yet another reason why properties aren’t such a good idea. When trying to declare the setter of a property internal and the getter public, mxmlc refuses to compile, complaining that there is an ambiguous reference.

Read the rest of this entry →

Amazon image finder component for Flex

I have created a component which uses Amazon’s E-Commerce Service (ECS) to retrieve and display an image based on a query. This is quite handy if you, for example, have a music player and want to display the cover art for the currently playing track.

Read the rest of this entry →