<?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>Thu, 20 Jun 2013 06:01:32 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Community News: Make PHP-Based Android Applications with Zend Studio 10]]></title>
      <guid>http://www.phpdeveloper.org/news/18653</guid>
      <link>http://www.phpdeveloper.org/news/18653</link>
      <description><![CDATA[<p>
At this year's <a href="http://zendcon.com">ZendCon conference</a> a new technology was introduced (well, and upgrade to an existing product) that allows PHP developers to <a href="http://yourstory.in/2012/10/now-php-developers-can-build-android-apps-using-zend-studio-10/">create Android applications from Zend Studio 10</a>.
</p>
<blockquote>
ZendCon, the annual trade show for Zend, the PHP company, announced that Zend Studio 10 (Zend's IDE) will include functionalities that will let PHP developers prototype and build native mobile apps using PHP. The new capability includes a drag-and-drop mobile interface builder, integration with the Apache project's Cordova to access native mobile APIs such as those for cameras and accelerometers, and built-in PhoneGap integration for developers to publish native app packages to the various app stores.
</blockquote>
<p>
You can see an example of the software in action <a href="http://youtu.be/d7u2CYVUucY">here</a> (video) and get a bit more information about the offering from <a href="http://venturebeat.com/2012/10/23/huge-news-php-developers-can-now-design-build-and-publish-mobile-apps-right-in-zend-studio/">this article from VentureBeat</a>.
</p>]]></description>
      <pubDate>Wed, 24 Oct 2012 11:54:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Android Hive: Android Push Notifications using Google Cloud Messaging (GCM), PHP and MySQL]]></title>
      <guid>http://www.phpdeveloper.org/news/18617</guid>
      <link>http://www.phpdeveloper.org/news/18617</link>
      <description><![CDATA[<p>
On the Android Hive there's a recent tutorial posted showing you how to use <a href="http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/">Google Cloud Messaging and PHP+MySQL</a> to do push notifications on an Android phone.
</p>
<blockquote>
As per google's documentation "Google Cloud Messaging for Android (GCM) is a service that helps developers send data from servers to their Android applications on Android devices". Using this service you can send data to your application whenever new data is available instead of making requests to server in timely fashion. Integrating GCM in your android application enhances user experience and saves lot of battery power.
</blockquote>
<p>
You can either follow along with the tutorial via the screencast (and <a href="http://download.androidhive.info/download?code=iS5bX74qeLC9BJzKIwhYnSHv0vziNeO5we85USk3IGtj6%2Faczubg6fCH0vmiw9zHaMdsR5SffC%2Fre3MUd93rM%2Blp8F6fqJjFS%2B%2FniItFlnA551qjzzUItsLnCQCb%2Fzs0N8P%2FUOajn7DlOMPdl89grMIWwlyHPNtyzcfvHOlovZ8nAeR51mOro7aUYBA51MKIvxruyT">download the code</a>) or you can read through the text version, complete with code snippets, SQL and screenshots to help you along the way. The code for the Android side is included as well.
</p>]]></description>
      <pubDate>Wed, 17 Oct 2012 08:53:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Let's Talk: Efficient Communication for PHP and Android, Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/18052</guid>
      <link>http://www.phpdeveloper.org/news/18052</link>
      <description><![CDATA[<p>
On PHPMaster.com today they've posted the <a href="http://phpmaster.com/lets-talk-2/">second part of their series</a> looking at combining a PHP backend and an Android application (by <i>Matt Turland</i>). In the previous article, he helped you set up some of the Android side to be able to reach out to a PHP web service. In this second part he gets into the sending and receiving of messages between the client and server.
</p>
<blockquote>
Part 1 of this series focused on getting the Android application set up to make an HTTP request. In part 2, we'll focus on implementing the use of data serialization and compression on the Android and PHP sides of the request.
</blockquote>
<p>He has it broken up into the different steps of the process:</p>
<ul>
<li>Determining the Data Serialization Format
<li>Determining the Data Compression Format
<li>Sending the Response
<li>Decompressing the Response
<li>Deserializing the Response
</ul>
<p>
He also includes a section about caching the responses you get back from the server, an important step that can save you (and your users) some headaches and maybe even give a bit of a speed boost.
</p>]]></description>
      <pubDate>Tue, 05 Jun 2012 13:19:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Let's Talk: Efficient Communication for PHP and Android, Part 1]]></title>
      <guid>http://www.phpdeveloper.org/news/18010</guid>
      <link>http://www.phpdeveloper.org/news/18010</link>
      <description><![CDATA[<p>
On PHPMaster.com today, they've started a new series about integrating two popular technologies - PHP and the Android OS - in <a href="http://phpmaster.com/lets-talk-1/">this new tutorial</a> from <i>Matthew Turland</i>. He'll show both sides of the code needed to get your Android app talking to a PHP backend.
</p>
<blockquote>
This two-part article will guide you through the process of building an efficient PHP-based REST web service to be consumed by an Android-based application. Some of the concepts presented here are also applicable to other mobile platforms, such as iOS. I assume you already know the basics of PHP and Android development and that you have a suitable development environments set up for both. I'll focus mainly on showing you how to handle data serialization and compression in both environments.
</blockquote>
<p>
In this <a href="http://phpmaster.com/lets-talk-1/">first part</a>, he starts from the client side, creating the code (Java) that's needed to create the connection to the backend. He stets it up as a background task so its execution won't block the main app from working. He shows how to execute it, running an "on create" method and checking to ensure the network is available for the request.
</p>]]></description>
      <pubDate>Mon, 28 May 2012 16:20:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: Selenium on Android]]></title>
      <guid>http://www.phpdeveloper.org/news/17835</guid>
      <link>http://www.phpdeveloper.org/news/17835</link>
      <description><![CDATA[<p>
On DZone.com there's a recent post from <i>Giorgio Sironi</i> looking at <a href="http://css.dzone.com/articles/selenium-android">running Selenium tests on the Android platform</a> via the <a href="http://phpunit.de">PHPUnit</a> Selenium interface.
</p>
<blockquote>
Testing web applications is not only based on unit and functional tests for the server-side (PHP, Java) and client-side (JavaScript) components, but also on end-to-end tests like the ones performed with Selenium. Selenium is capable of driving a real browser like Firefox in the same way a user would do, letting you express a test with a series of page to load, element selections, clicks and typed characters. [...] In this tutorial, we'll experiment with the Android Driver and set up a couple of tests to run inside an Android virtual device.
</blockquote>
<p>
He walks you through the basic setup of an Android environment (based on the <a href="http://source.android.com/source/initializing.html">Android SDK</a>) and how to start up the Android driver installed from <a href="http://code.google.com/p/selenium/downloads/list">the Selenium site</a>. An example test is included, showing how to make a request for a test page and checking its title as well as checking that the input from the "keyboard" is successful.
</p>]]></description>
      <pubDate>Wed, 18 Apr 2012 12:43:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[AndroidHive: Android Login and Registration with PHP, MySQL and SQLite]]></title>
      <guid>http://www.phpdeveloper.org/news/17487</guid>
      <link>http://www.phpdeveloper.org/news/17487</link>
      <description><![CDATA[<p>
On the AndroidHive site there's a <a href="http://www.androidhive.info/2012/01/android-login-and-registration-with-php-mysql-and-sqlite/">recent tutorial</a> (plus screencast) about combining PHP, MySQL and SQLite to act as the backend authorization for your Android application.
</p>
<blockquote>
In my previous article <a href="http://www.androidhive.info/2011/10/android-login-and-registration-screen-design/">Android Login and Registration Screen Design</a> i explained designing the login and registration interfaces, but it has no functionality. In this tutorial i am explaining how to build complete login and registration system in android using PHP, MySQL and SQLite. Also this tutorial covers how to build simple API using PHP and MySQL.
</blockquote>
<p>
<a href="http://www.androidhive.info/2012/01/android-login-and-registration-with-php-mysql-and-sqlite/">The tutorial</a> walks you through each step of the process:
</p>
<ul>
<li>Creating MySQL Database and Tables
<li>Building PHP API Classes
<li>Starting Android Project
<li>Making the JSON Parser, SQLite Database Handler and User Functions Classes
<li>Designing the Screens
<li>Switching between Activities
<li>Finally Updating AndroidManifest.xml
</ul>
<p>
If you want to get started quickly, you can just <a href="http://www.box.com/s/kscvgpb1iadv5ppxgrie">download the final result</a> and go.
</p>]]></description>
      <pubDate>Thu, 02 Feb 2012 10:41:21 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[CodeForest.net: Android JSON-RPC client and PHP Zend Framework server]]></title>
      <guid>http://www.phpdeveloper.org/news/16585</guid>
      <link>http://www.phpdeveloper.org/news/16585</link>
      <description><![CDATA[<p>
In a recent post to CodeForest <i>Luka Peharda</i> shows you how to <a href="http://www.codeforest.net/android-json-rpc-client-and-php-zend-framework-server">create a JSON-RPC frontend</a> for your application based on the Zend Framework.
</p>
<blockquote>
XML-RPC rules, but the amount of data it generates is its big disadvantage. This is where JSON-RPC steps in. Data it generates is significally smaller, but this isn't suprising as JSON is known as fat free XML.This articles is based on my earlier <a href="http://www.codeforest.net/how-to-build-php-xml-rpc-server-client-and-android-app">Android XML-RPC article</a>. Its PHP code and Zend Framework setup will be used so you should go through it if you haven't earlier (at least as far as XMLRPC Android client chapter).
</blockquote>
<p>
You need to have some of the base code from <a href="http://www.codeforest.net/how-to-build-php-xml-rpc-server-client-and-android-app">the previous article</a> in place to follow along, but if you're experienced with Zend Framework, keeping up won't be a problem. He uses <a href="http://www.tanabi.com/projects/jsonrpc">this JSON-RPC client</a> that was made for use with a ZF application and creates a basic jsonAction to handle the request. He then uses <a href="http://code.google.com/p/android-json-rpc/">this Android JSON-RPC library</a> to connect from the Android application and fetch some basic data.
</p>]]></description>
      <pubDate>Wed, 13 Jul 2011 10:14:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org Blog: 2010: Yet another great year for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/15623</guid>
      <link>http://www.phpdeveloper.org/news/15623</link>
      <description><![CDATA[<p>
On the PHPClasses.org blog today there's <a href="http://www.phpclasses.org/blog/post/138.html">a new post</a> from <i>Manuel Lemos</i> looking back at 2010 an the life of PHP - yet another great year.
</p>
<blockquote>
2010 was an year full of interesting happenings for the PHP development and its community of developers. This article presents a balance of what were the most important happenings in the PHP community in 2010, as well a reflection of what we can expect for 2011 for PHP, as well for the PHPClasses site.
</blockquote>
<p>
Among the important happenings of this past year he mentions the issues surrounding PHP6, HipHop and PHP running on the Andriod platform. He speculates on a few things that we can expect from PHP in the upcoming year(s) like the release of PHP 5.4. Also included are some updates that were made to the <a href="http://phpclasses.org">PHPClasses.org</a> site itself.
</p>]]></description>
      <pubDate>Thu, 23 Dec 2010 08:50:54 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Project: PHP on Android]]></title>
      <guid>http://www.phpdeveloper.org/news/14786</guid>
      <link>http://www.phpdeveloper.org/news/14786</link>
      <description><![CDATA[<p>
<i>Ivan Mosquera Paulo</i> dropped me a line today about a project that's been gaining some traction lately - <a href="http://phpforandroid.net/">PHP for Android</a>, an effort to make PHP development on the platform possible (and easy). <a href="http://www.talkandroid.com/6211-php-for-android-install-it-and-start-testing/">This new post</a> shows you how to get started.
</p>
<blockquote>
Yes you read that correctly, PHP is coming (well it's here) for Android. Irontec is the company behind the project and their aim is to make PHP development in Android not only possible but also feasible providing tools and documentation. 
</blockquote>
<p>
<a href="http://www.talkandroid.com/6211-php-for-android-install-it-and-start-testing/">The post</a> gives you links to download and install the software you'll need as well as a screencast on how to get started on a test application. You can find out more about the project (and how you can get involved) from <a href="http://phpforandroid.net/">phpforandriod.com</a>.
</p>]]></description>
      <pubDate>Tue, 13 Jul 2010 18:16:01 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jakob Westhoff's Blog: From Revelation security to Android password managers]]></title>
      <guid>http://www.phpdeveloper.org/news/14377</guid>
      <link>http://www.phpdeveloper.org/news/14377</link>
      <description><![CDATA[<p>
New on his blog today <i>Jakob Westhoff</i> <a href="http://westhoffswelt.de/blog/0046_from_revelation_security_to_android_password_managers.html">describes a system</a> he's created to let him keep all of his passwords with him (and safe) where he can get to them from his Android phone. He wanted to pull them from the local store of his Revelation password software.
</p>
<blockquote>
I am really enjoying my new smartphone. However there is still something missing. A way to have all my passwords with me on my phone in a safely encrypted container.
</blockquote>
<p>
The Revelation system pushes the passwords into subversion when they're updated and can be accessed from a desktop platform. He was missing the mobile branch of the access, so he decided to fill the gap with PHP by making a reverse transformer for the Revelation passwords. You can get <a href="http://github.com/jakobwesthoff/Revtrans">the code here</a> from github if you want to make use of it on your own systems.
</p>
]]></description>
      <pubDate>Mon, 19 Apr 2010 10:07:58 -0500</pubDate>
    </item>
  </channel>
</rss>
