Larry Ullman

Translating Geek Into English

Tour de Flex

A valuable Flex resource, in case you’re not familiar with it, is Adobe’s Tour de Flex. If you’re doing any kind of Flex development, this really is a “must have”. Besides showing off what you can do using Flex (and Adobe AIR), the Tour de Flex provides a single, simple interface for referencing:

  • Flex components (UI, containers, effects, validators, etc.)
  • Services (data and network interactions)
  • Cloud APIs (Amazon, eBay, Flickr, Google, Twitter, etc.)
  • Mapping (Google, Mapquest, Yahoo!)
  • Third-party tools

Most categories also have a “techniques” section, giving specifics for how to accomplish common tasks. There’s tons of sample code that are also visible in action, so you can easily understand how the code works in practice. And, of course, the related language reference is included.

Tour de Flex is available in both an online and desktop version (thanks to Adobe AIR for the latter).

Kindle Version of Blog Now Available

Through an Amazon service, this blog is now available for reading on Amazon’s Kindle. It’s a subscription service, priced at $1.99/month (for what it’s worth Amazon sets the price and keeps most of the money). I don’t know what kind of interest there is in this, but I thought I’d make it an option. This does mean I’ll need to work harder to make the blog content meaningful, though, if people will be paying good money for it! If there’s anything you’d like to see in this blog, or see more or less of, please let me know.

PHP Variables: Passing by Value or Reference

An issue to consider when programming is how variables are passed from one context to another. For example, the following code calls a function, referencing a variable in doing so:

$it = 'Larry';
some_function($it);

Will the function receive just the value of that variable ( Larry) or will it receive the variable itself? The answer depends upon how the function is defined. In this post, I’ll explain this concept further, in not too-technical terms.

Improving (Adobe AIR) Application Performance

I’m a big fan of Adobe’s AIR, and not just because I’ve written a book on it! I’ve been developing AIR applications, for in-house and client use, for a couple of years now, in both JavaScript/HTML and Flex. I’ve recently, and not so recently, come across these two good articles on Adobe AIR:

From the titles, the articles are self-explanatory, but the emphasis is on performance. The interesting thing about the first article is that it discusses the theory of performance, which people don’t think about enough (e.g., what does it mean to perform well?). The article uses a specific example for which one could easily come up with three different senses of “performance” (the article uses Flex for the code).

The second article has lots of specific, excellent tips, many of which being applicable to any application you develop (although the example also uses Flex for the code, it’s mostly ActionScript).