13 Read the Source!

Goal

You want to figure out why something in Flex or Rails works the way it does. For instance, how does all this data binding and active record association magic work?

Solution

Look at the source!

The Beauty of Open Source

You’re wary of magic. On the other hand, take an SQL-select statement: now there’s something you can understand. It does what it says, and returns a result you can manage. Setting a variable to a new value; nothing magic there—you change the variable and it has a new value. Nothing else did it for you; you took action and manipulated it yourself, and now it has a new value.

Flex makes things easy and declarative. You have an XML tag that describes what you want to see, like a List ...

Get Flex on Rails: Building Rich Internet Applications with Adobe Flex 3 and Rails 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.