concept component in category rails

appears as: components, component, components, Component, A component
Flexible Rails: Flex 3 on Rails 2

This is an excerpt from Manning's book Flexible Rails: Flex 3 on Rails 2.

Let’s understand what this code is doing. First, look at the top-level tag: mx:Application . The root of a Flex application is always an Application. The mx: part identifies the XML namespace[4] that the Application component is from. We use a vertical layout to make the components flow vertically. Other choices are horizontal (for horizontal flow) and absolute (where you specify the x,y of each top-level container). The backgroundGradientColors specify the start and end of the gradient fill for the background—and what Web 2.0 era application would be complete without a gradient fill?

9.7. Modifying the components

Finally, we’ll modify the components. Some of these changes are easy; others are tedious. The dominant theme is that we’re abstracting ourselves from the messy details of XML, keys, values, and so on and dealing with Tasks, Projects, and Locations. This is much better.