<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Mon, 20 May 2013 19:58:28 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Kevin Schroeder's Blog: Connecting PHP to ActionScript and Flex using Stomp]]></title>
      <guid>http://www.phpdeveloper.org/news/16427</guid>
      <link>http://www.phpdeveloper.org/news/16427</link>
      <description><![CDATA[<p>
<i>Kevin Schroeder</i> has a recent post to his blog today looking at how he used Stomp to <a href="http://www.eschrade.com/page/connecting-php-to-actionscript-using-stomp/">connect his backend PHP to frontend Flex</a>, a text-based protocol that can be used to connect to a MQ server instance.
</p>
<blockquote>
In <a href="http://www.eschrade.com/page/details-on-building-a-flex-based-dashboard-with-a-php-backend/">yesterday's post</a> I talked a little bit about some of the details on how I used messaging to connect a front end on demand request to a back end scheduled data processing mechanism.  In this post we're going to talk about how to send data from a web page to a running Flex application without using HTTP.  It is really quite easy.
</blockquote>
<p>
His demo application watches a Magento instance and notifies him whenever a new sales comes in. Because of Magento's event-based system, it made the setup relatively easy. He includes the code for the observer on the Magento side and the Zend Framework-based logger code that it calls. Using the <a href="http://code.google.com/p/as3-stomp/">AS3Stomp</a> library to make the connection, <i>Kevin</i> sets up the data provider for the Flex app to push the latest sale information into a list.
</p>]]></description>
      <pubDate>Mon, 06 Jun 2011 08:19:26 -0500</pubDate>
    </item>
  </channel>
</rss>
