Binding Data

After introspecting your PHP service, your Flex project is now aware of the PHP service and the methods (operations) contained within it. The next step is to bind the data together.

Binding is the process of consuming the PHP methods into your Flex project by binding the data. This is achieved by tying your existing Flex components to an operation (a PHP method). Flash Builder 4.5 for PHP allows you to bind your data in the following ways: using the drag and drop functionality (as shown below), by going to Data | Bind to Data after selecting code in the Source view or a component in the Design view, by selecting Bind to Data from the Right Click Menu of a Flex component in the Design view, or by inserting it directly in the code.

 

For more information see Building the client application or Data binding from the Using Adobe Flash Builder 4.5.

data_binding02.png

Once you have completed data binding and developing your Flex and PHP code, you can launch your application.

 

 

Related Links

Related Links:
Introspecting PHP Services