July 30, 2009
by Keenan
The geeks over at Automata Studios are this week’s guest on Adobe XD’s INSPIRE. Today's post is all about the challenges surrounding creating occasionally connected applications.
The geeks over at Automata Studios are this week’s guest on Adobe XD’s INSPIRE. Today's post is all about the challenges surrounding creating occasionally connected applications.
I was playing around with Flash Builder 4 & Flex 4 after the public beta was announced, and decided to whip up a quick, very simple AIR client for Basecamp. It's pretty straight forward and there's not much code, but if you're having trouble getting started with AIR, Flex 4, or Gumbo, perhaps it will help.
Basecamp provides a very simple REST-based API, which is documented at http://developer.37signals.com/basecamp/. I just used URLLoader and URLRequest to pull the data, with authentication turned on. When authentication is turned on, your OS will handle username and password requests.
I ended up using anchor-based layouts because I couldn't figure out, with the spark components, how to center my screens. Maybe this is the way you're supposed to do it...I'm not sure. If anyone has any input as to best practices for the new layout mechanisms in Flex 4, I'd love to hear about them.
Beyond that, there's not much to the application...just a sample. Maybe I'll flush this thing out as I continue to play with Flash Builder 4. All in all, in regards to my feelings about Flash Builder 4 and Flex 4, I am going to reserver judgement until I have a larger data set to work with. Building this sample was very easy, but I don't think I accessed enough of the new features to cast judgement yet.