Articles for May, 2006
If you’re interested in building large-scale Flex apps and not sure where to start, Brian Riggs has a nice article on Architecting a Flex App, where he gives a good overview and introduction to structuring an application using the Model-View-Controller pattern, as implemented in the Cairngorm framework.
Brian is one of two (at least so far, maybe there are more) authors writing on the Adobe Kiwi Project blog. The Kiwi Project (as stated in the tagline of the site) is a project which is working on creating “Read/Write Web Components for Flex.” I’m not sure of the details of what that means, but parts of it can be seen in the open-source NoteTag note-taking application which Brian uses as his example in this and other articles, and which is available on the Adobe Labs site.
Darrick Brown, who also writes on the site, has put up a couple of nice articles on ActionScript 3 from a C/C++ perspective. I don’t know either of those languages, although I work a lot in C# so I understood all his examples just fine. In any case he’s got what I think are some nice examples and thoughts for someone coming from any modern language.
Slides and notes from “Flash to external data communication”
As I mentioned last week, I gave a presentation to the Indiana University Multimedia Users’ Group on the topic of “Flash and external data communication.”
As promised, here are the slides, example files, and notes from that presentation.
“Flash and external data communication” slides and example code (288 KB .zip)
Recording of the presentation (I only got through […]
» Keep reading Slides and notes from “Flash to external data communication”
Users’ group presentation “Flash to external data communication”
Update: I’ve now posted a link to the slides, notes, and examples.
In case you’re in the Bloomington, Indiana area, or if you’re just curious what I look/sound like… =)
Next week (May 24) I’ll be the presenter at the IU Multimedia (formerly Macromedia) Users’ Group’s May meeting. My presentation is titled “Flash to external data communication.” […]
» Keep reading Users’ group presentation “Flash to external data communication”
If you bother to read this set of links, maybe you can guess what my newest potential side project is…
- JSON Spec
- JSON-RPC Spec
- Jayrock (.NET JSON-RPC Service implementation)
- Jayrock Google Group
- JSON-RPC-Java (a project which includes a JSON-RPC Client in JavaScript)
(Hint: JSON is a more-terse-than-XML format for serializing data (e.g. to transfer over networks). It’s still not as terse as AMF (which is a binary format), but there’s a good JSON-RPC service available for .NET, unlike for AMF, and it’s better than XML-RPC, which I already wrote an ActionScript client for. Oh, and Adobe just released an open-source JSON library for ActionScript 3, authored by Darron Schall, so it would seem that half the work is already done…)
ServiceCapture is a commercial tool for viewing HTTP traffic, particularly specialized for AMF. I haven’t taken it for a spin myself, but it received strong recommendations on the OSFlash (Open Source Flash) list from such notables as Aral Balkan.
It’s been something of a golden egg that everyone’s been looking for, and now some people are starting to figure out how to do it:
(“It” being “access a non-Flex Data Services AMF service from Flex/AS3”)
- Using OpenAMF with Flex 2 (can easily be adapted to AMFPHP etc.)
- Flex and PHP using AMFPHP
Darron Schall put together a quick intro to using FlexUnit in FlexBuilder 2, in case anyone else is looking for such a thing.
Since I’ve done most of my “major” programming in C#, one thing I’ve missed in ActionScript is the built-in enumerations which are convenient to use for sets of related constants.
I’ve come up with a couple of ways to create pseudo-enumerations, and Sho Kuwamoto just wrote a post describing his approach to pseudo-enums — which happens to be pretty much the same as my favorite approach to this. (So he saved me the trouble of having to write about it =)
A couple of Flex component examples that I want to dig into some more when I have a chance:
- Flex auto-complete text input control, by Sho Kuwamoto (Flex Builder project manager)
- “Fisheye” menu component, by Ely Greenfield (Flex SDK)