1 Reply Latest reply on Dec 28, 2010 7:49 AM by Gregory Lafrance

    What is the difference between using PHP and BlazeDS to connect to a service?

    Jun yuan Level 1

      Definition from wikipedia:

      BlazeDS is a server-based Java remoting and web messaging technology that allows you to connect to back-end distributed data and push data in real-time to Adobe Flex and Adobe Integrated Runtime (AIR) Rich Internet applications (RIA). Because of its open licensing, BlazeDS is not precluded from being used with other client platforms, such as JavaScript/Ajax.

       

      that means BlazeDS acts like a server like Apache?

      What is back-end distributed data?

        • 1. Re: What is the difference between using PHP and BlazeDS to connect to a service?
          Gregory Lafrance Level 6

          Basically, is you use straight PHP, then you do everything yourself, unless you are using a framework written in PHP like AMFPHP.

           

          So with PHP you typically use Flex HTTPService controls to call your PHP scripts, and the communication is one-way, you call the script and handle the returned data.

           

          With BlazeDS and AMFPHP, you can use Flex RemoteObject controls for two-way "server push" functionality, like a stock ticker updating automatically without the user doing anything if the price of a stock goes up.

           

          Backend distributed data just means you have the data elsewhere (not on the user's machine), and it could be distributed (on serveral servers).

           

          If this post answers your question or helps, please mark it as such. Thanks!

          http://www.chikaradev.com
          Adobe Flex Development and Support Services