<?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>Wed, 19 Jun 2013 23:21:39 -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>
    <item>
      <title><![CDATA[Manuel Pichler's Blog: PHP_Depend jumps on the D-BUS]]></title>
      <guid>http://www.phpdeveloper.org/news/13565</guid>
      <link>http://www.phpdeveloper.org/news/13565</link>
      <description><![CDATA[<p>
<i>Manuel Pichler</i> has <a href="http://manuel-pichler.de/archives/66-PHP_Depend-jumps-on-the-D-BUS.html">a new post</a> today about a feature he's added into the <a href="http://pdepend.org/news.html">PHP_Depend</a> application that tracks the dependencies in your code - a bit of <a href="http://pecl.php.net/package/DBus">DBus</a> magic.
</p>
<blockquote>
Sometimes the parsing and analysis process of PHP_Depend can consume a lot of time to finish, so I always put the shell aside and do something different. Normally I take a look at the shell every few minutes to check if the process has finished, but it also happens that I totally forget that I have started a PHP_Depend process on my system. So I need something that says to me, <i>"Hey, mapi PHP_Depend has finished its job..."</i>, and here comes D-BUS in the game. 
</blockquote>
<p>
With the help of the <a href="http://pecl.php.net/package/DBus">DBus</a> extension, he made a way to have the PHP_Depend process send a message (in his case one similar to a Growl popup) when the dependency checking is done. You'll need the <a href="http://svn.pdepend.org/branches/0.9.0/">0.9.0 branch</a> to get the "notify-me" command line option to make it all work.
</p>]]></description>
      <pubDate>Thu, 19 Nov 2009 12:46:17 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Joshua Eichorn's Blog: Webthumb API additions]]></title>
      <guid>http://www.phpdeveloper.org/news/6404</guid>
      <link>http://www.phpdeveloper.org/news/6404</link>
      <description><![CDATA[<p>
In light of the popularity of his <a href="http://bluga.net/webthumb/">WebThumb</a> site thumbnailing service, <i>Joshua Eichorn</i> is <a href="http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/">implementing a new feature</a> to help reduce the number of requests to the server. The most popular request is made to see if a thumbnail is ready, and the new feature - a GET callback to the server making the request - will help to reduce them.
</p>
<blockquote>
<p>
If you wondered an API that requires polling isn't a very good thing for scalability. On my current setup I can pretty easily handle about 20 status requests per second on top of my normal traffic, the problem is its not hard for a bad polling implmentation being run by one user to make that many requests.
</p>
<p>
To solve this problem im adding an addition to the Webthumb API that will allow you to skip polling all together. The basic idea is that your make an API request and when your thumbnail is complete i'll make a GET request back too your server telling you that the request is complete.
</p>
</blockquote>
<p>
It's a simple matter of including a new "notify" tag in the XML message to the server with a URL to make the callback to. He even <a href="http://blog.joshuaeichorn.com/archives/2006/10/02/webthumb-api-additions/">includes some sample PHP code</a> to get you started with the new feature. The script handles the automatic download of the thumbnails when called from the WebThumb service.
</p>]]></description>
      <pubDate>Mon, 02 Oct 2006 16:13:01 -0500</pubDate>
    </item>
  </channel>
</rss>
