/flails

Simple Flex and Rails integration.

Primary LanguageRubyMIT LicenseMIT

Installation:
1) Download the swc file in the pkg folder.
2) Include the swc file into your library path
3) Setup your rails app to respond to json requests (TODO: Provide examples)
4) Profit!

Flails is now integrated into the Mate framework. 

Example code:

<Injectors target="{ListView}">
  <fl:ResourcefulServiceInvoker resource="{resources.posts}" type="index">
    <fl:resultHandlers>
      <PropertyInjector targetKey="dataProvider" source="{currentEvent}" sourceKey="result" />
    </fl:resultHandlers>
  </fl:ResourcefulServiceInvoker>
</Injectors>

ListView.mxml:
<mx:List height="100%" width="100%"
         xmlns:mx="http://www.adobe.com/2006/mxml"
         xmlns:mt="http://mate.asfusion.com/">
</mx:List>