<?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 02:25:03 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Mike Willbanks' Blog: Android C2DM with PHP and Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/15478</guid>
      <link>http://www.phpdeveloper.org/news/15478</link>
      <description><![CDATA[<p>
In <a href="http://blog.digitalstruct.com/2010/11/21/android-c2dm-with-php-and-zend-framework/">this new post</a> to his blog <i>Mike Willbanks</i> shows how to use PHP - more specifically the Zend Framework - to send push notifications to an Andriod device via <a href="http://code.google.com/android/c2dm/index.html">C2DM</a>.
</p>
<blockquote>
So you've got a new fancy Android application and you want to be able to send push notifications to the phone. Either for synchronization purposes or for notifications. Since <a href="http://code.google.com/android/c2dm/index.html">C2DM</a> is fairly new and is currently in the labs it is rather difficult to find code that already handles sending out the notifications correctly. This article will go through sending a push notification (or message) through the Android C2DM server utilizing PHP in the fashion of a Zend Framework component.
</blockquote>
<p>
His setup uses the Zend Framework for the heavy lifting and Gearman to handle the asynchronous sending of the messages. Of course you'll need a Google and <a href="http://code.google.com/android/c2dm/signup.html">C2DM</a> account to make things play nicely together. The solution also uses a <a href="http://code.google.com/android/c2dm/index.html#server">third-party server</a> for the C2DM messaging. Most of the remainder of the post is code ready for copy and pasting that defines C2dm service adapters for the Zend Framework, some exception handlers for common issues, some custom workers for Gearman and the Java code you'll need on the client side to receive the messages.
</p>]]></description>
      <pubDate>Tue, 23 Nov 2010 11:26:33 -0600</pubDate>
    </item>
  </channel>
</rss>
