5 Replies Latest reply on Apr 15, 2009 4:41 PM by Michael Borbor

    How to best retrieve data for Tree control?

    Miggl Level 1

      Hi All,

       

      I am using ZendFramework as a back-end for FLEX via ZEND_AMF and Flex RemoteObjects. One of my RemoteObjects will be responsible for providing the data for a tree control. The tree control can use hierarchically nested arrays as a data source. My question is how do I best prepare the data to be served to the tree control:
      A) do I collate/structure the array in the PHP back-end, or
      B) do I pass a collection of objects to FLEX, and the collate everything on the FLEX side?

       

      Thoughts?

       

      Thanks!
      Mike