Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Foreword

Matt Horn, Adobe

Foreword

I remember 2004. That was the year the Olympics were held in Greece. Oil rose above $50 per barrel. The Return of the King swept the Oscars. The Red Sox won the World Series. The Serendib Scops Owl was discovered in Sri Lanka... What a year! Okay, that last one I ripped off from Wikipedia. But 2004 was a big year for those owls... and it was also a big year for Internet applications. It was the year Flex was born.

A lot has changed in just a few short years. Flex 1 was very exclusive and its applications were tied to a server. It required expensive licenses and few resources were available to help you out. Flex 1.5 cut the cord between the application and the server. Suddenly, anyone could write and deploy a killer Flex app, but most folks still had not heard of Flex. When Flex 2 came out, it was really making some headway into the mindshare of rich Internet application (RIA) developers, even as the industry struggled to define what a RIA developer was. Flex got more and more press, and the SDK was finally released for free. By the time the 2.0.1 update shipped, Flex had an impressive following of designers, developers, so-called devigners, and that rarest of beasts, the Serendib developer.

And now comes Flex 3, the most complete and usable version of Flex yet. You get a profiler, OLAP, CS3 integration, refactoring, framework RSLs, deep linking, an AJAX bridge, code generation for servers, automation, just about everything you could dream of. And if something isn’t in the box, you can bet someone in the community is working on it: frameworks, 3D libraries, maps, mashups, configurators, dashboards, monitors, widgets, you name it.

But with all those new features and functionality, what’s the biggest change in Flex 3?

Well, it’s not a new feature, or a refactored API. It’s not the splashy new box cover, and it’s not the low, low price. It’s not even that snazzy new “Getting Started Experience.” No, it’s none of these things. To see the biggest change in Flex 3, to really see it, you need to stand up, walk down the hall, step into the bathroom (after knocking politely, of course), and look in the mirror. The biggest change in Flex 3 is you. That’s right. With Flex 3, you, I, or anyone else can contribute to the open source Flex SDK. You can stick your hand into the belly of the beast, tweak its spleen, sew it up, and reawaken a whole new beast. With just a text editor and an Internet connection, you can become a contributor on this leading RIA technology.

So, where does this book fit in? Looking at the existing Flex 3 product documentation, I see more than 2,300 pages of content and nearly 1,200 example applications. I even wrote a couple of those, although if you corner me with a compiler error, I’ll deny it. And that doesn’t even include the Language Reference, with thousands more “virtual” pages of developer doc. So, why do we need a book about Flex 3 if so much content is already available?

Well, when they wrote Programming Flex 2, the first edition of this book, Chafic and Joey learned how to use Flex 2 from the outside in. This was before the source code was even available to look at. They managed to figure out how to do such things as work with remote data, navigate the complexities of the Flex layout schemes, and create incredible custom components. They were real developers solving real problems and writing real code. I remember looking at many of the topics in that edition and saying to myself, “I wish I had written that.” These guys took incredibly complex topics and distilled them into the information you needed.

For this edition, Chafic and Joey looked at the product from the inside out. They peeled back the skin and saw the sinewy skeleton of a dynamic framework that will define the next generation of web apps. If you’re designing a video player, there’s a chapter for you. If you’ve got a yen for currency formatters, this book has you covered. If you just want to get a handle on the application life cycle, you came to the right place.

So, this book will tell you what Flex 3 is. And after you read it, you might discover something that Flex 3 isn’t. But now there’s something you can do about it. At some late hour, when everyone else is asleep, if the inspiration strikes you, you might screw up your courage and heap on the moxie, and put your mark on the Flex world by joining the forces at http://opensource.adobe.com/flex. This book is just the beginning.