by Danny Patterson on May 29th, 2009
I downloaded the Hulu Desktop application today and when it threw a runtime error (since I have my shared objects disabled by default) I decided it was finally time to blog about best practices when working with Shared Objects.
First, your code should never be “dependant” on a Shared Object being set. The user has full control to disable Shared Objects just like they can with browser cookies. If it absulutely must be set, then you should at least show a graceful degredation to the user explaining that they won’t get the full expereince without enabling shared objects.
Second, you should allways put your shared object code inside a try…catch statement. If the user does have Shared Objects disabled by default, a runtime error will be thrown (and shown if they have the debug player) when you try to write to a Shared Object.
by Danny Patterson on May 16th, 2009
As you may have heard, Adobe has decided to rebrand Flex Builder as Flash Builder to go along with the Flash Platform initiative. I actually think this is a really good idea. Flash Player has always been the platform and the vehicle that has allowed developers to deliver amazing experiences for years. Flex is a great framework that I personally use on 90% of my projects, but I don’t think the IDE (Flash Builder) should be limited to a single framework.
The only problem I have with the name change is that it doesn’t go far enough. When I say Flash, what is the first thing you think of? If you’re a Flash developer, you probably think of Flash Professional. This is an authoring tool that has been around for years and until Flex Builder it was our only “Adobe” tool for creating SWFs. It’s NOT a programming tool. Therefore most Flash programmers welcomed Adobe’s attempt at a real programmers IDE with Flex Builder. It isn’t perfect, but it’s better than any alternative. (Yes I’ve tried FDT, but I can’t live without the debugger.)
So my problem with the new Flash branding is the name of Flash Professional. This tool is based on a timeline and is geared toward designers. I personally think this should be renamed to Flash Designer. This would help reduce confusion for new developers to the Flash Platform and put clarity into the entire Flash product line.
by Danny Patterson on May 15th, 2009
I just got an invitation to join the Trillian Astra Beta and so far I’m very impressed. I’ve been a Trillian user for years and for me it’s always been the best way to manage my IM contacts across AOL, Yahoo, MSN, etc. Astra also adds support for Facebook and twitter, maybe I’ll start using those more now that they are in a familiar place for me. The main barrier for me not using Facebook or twitter much was because I didn’t want to constantly login to those sites or install a dedicated application. I always hated that about the old messenger applications when you had to have three different apps running. Looks like the Beta signup page is open for anyone, if you’re an existing Trillian users, I think you’ll really like this new version.