<?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>Sat, 11 Feb 2012 17:40:29 -0600</pubDate>
    <ttl>30</ttl>
    <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[PHPMaster.com: Where on Earth are You?]]></title>
      <guid>http://www.phpdeveloper.org/news/17485</guid>
      <link>http://www.phpdeveloper.org/news/17485</link>
      <description><![CDATA[<p>
In PHPMaster.com's latest tutorial <i>Lukas White</i> introduces you to using the Yahoo "Placemaker" web service to <a href="http://phpmaster.com/where-on-earth-are-you/">geographically locate a place from a free-form text string</a>. The results include "place details" like the type of the location, latitude, longitude and how confident they are in their match.
</p>
<blockquote>
The challenge then is to do two things: work out what place you could be talking about, disambiguate if necessary, and then identify exactly where on Earth that is. That's what I'll show you how to do in this article; by using a freely available web service, we'll write a simple program to ask users where they are (and ask them to clarify if necessary) before identifying their responses in concrete terms.
</blockquote>
<p>
He shows how to make a request to the <a href="http://developer.yahoo.com/geo/placemaker/">Placemaker</a> web service, passing it a string coming from the user, to be located. The POST request contains a few pieces of data including an application ID 
, your desired output type and the language you're using for the input. His example code uses <a href="http://php.net/curl">curl</a> to make the request and handles it (the XML response at least) with a call to <a href="http://php.net/simplexml_load_string">simplexml_load_string</a>.
</p>]]></description>
      <pubDate>Thu, 02 Feb 2012 08:52:54 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jakub Zalas' Blog: Mocking Symfony Container services in Behat scenarios with Mockery]]></title>
      <guid>http://www.phpdeveloper.org/news/17428</guid>
      <link>http://www.phpdeveloper.org/news/17428</link>
      <description><![CDATA[<p>
<i>Jakub Zalas</i> has <a href="http://www.zalas.eu/mocking-symfony-container-services-in-behat-scenarios-with-mockery">a recent post</a> to his blog with a hint about how to test Symfony container services by mocking them (when testing with <A href="http://behat.org/">Behat</a>) with the help of <a href="https://github.com/padraic/mockery">Mockery</a> (and the <a href="https://github.com/PolishSymfonyCommunity/PSSMockeryBundle">PSSMockeryBundle</a>).
</p>
<blockquote>
Mocking objects in unit tests is pretty straightforward as every object used in a test case is usually created in a scope of one test class. In functional tests it's a bit harder since we either don't have full control over objects being created or it's simply too laborious to mock half the framework. [...] We're getting the service from a container [in the example] and calling a method which should send a lead. The problem is we don't want to actually call an API while executing Behat scenarios.
</blockquote>
<p>
Rather than hitting up the API for each test, he opts to create mock objects and results with the tools <a href="https://github.com/padraic/mockery">Mockery</a> has to offer. He gives code for a "is API available" method that either returns a valid container or a mocked object, depending on how it was called.
</p>]]></description>
      <pubDate>Fri, 20 Jan 2012 13:54:52 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Kevin Schroeder's Blog: Call for webinars (Zend)]]></title>
      <guid>http://www.phpdeveloper.org/news/17412</guid>
      <link>http://www.phpdeveloper.org/news/17412</link>
      <description><![CDATA[<p>
<i>Kevin Schroeder</i> is <a href="http://www.eschrade.com/page/looking-for-some-webinars">looking for suggestions</a>. He wants to know what the PHP community wants to hear about in upcoming webinars from <a href="http://zend.com">Zend</a>.
</p>
<blockquote>
Just wrapped up a call working on our webinar schedule for the year.  We've got a bunch of ideas but we'd like to also get your input as well.  Yes, I know y'all want ZF2 webinars.  We have that down.  I would also like to do an HTML5 and mobile webinar but I need an SME (Subject Matter Expert) for that. [...] I would also love to have webinars on how to use various API's, even if there is not native PHP support.  So, what kinds of webinars do you want?
</blockquote>
<p>
Leave your suggestions <a href="http://www.eschrade.com/page/looking-for-some-webinars#comments">in his comments</a> along with one already suggesting a "Why PHP?" checklist of sorts to help encourage companies/employers to go with the language.
</p>]]></description>
      <pubDate>Wed, 18 Jan 2012 11:50:07 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NetTuts.com: Creating an API-Centric Web Application]]></title>
      <guid>http://www.phpdeveloper.org/news/17340</guid>
      <link>http://www.phpdeveloper.org/news/17340</link>
      <description><![CDATA[<p>
On NetTuts.com there's a recent post from <i>Nikko Bautista</i> about <A href="http://net.tutsplus.com/tutorials/php/creating-an-api-centric-web-application/">creating an API-centric application</a> and how it can help you make a more flexible, accessible application overall. <a href="http://nettuts.s3.amazonaws.com/1115_apiWebApp/demo.zip">Code</a> is included to make a simple TODO list application based on this idea.
</p>
<blockquote>
Planning to start working on a new web application? In this tutorial, we'll discuss how to create an API-centric web application, and explain why this is essential in today's multi-platform world. [...] An API-Centric Web Application is a web application that basically executes most, if not, all its functionality through API calls. [...] Another characteristic of an API-Centric Web Application is that the API will always be stateless, meaning it can't recognize API calls by session.
</blockquote>
<p>
He talks about how doing the work like this, though it might seem like more trouble up front, can lead to an easier time later when you need to add multi-platform support (or even open it to customers directly). In the sample application, he shows the creation of a TODO application that can create, read, update and delete items via an API. Also included is a bit of code to help secure your service with an APP ID and APP SECRET authentication set. Full code for the backend API and the frontend to interface with it can be <a href="http://nettuts.s3.amazonaws.com/1115_apiWebApp/demo.zip">downloaded here</a>.
</p>]]></description>
      <pubDate>Tue, 03 Jan 2012 13:18:19 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[XPertDeveloper.com: Get Facebook Page Detail Using Graph API and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17338</guid>
      <link>http://www.phpdeveloper.org/news/17338</link>
      <description><![CDATA[<p>
New from the XPertDeveloper.com blog there's a tutorial showing how to <a href="http://www.xpertdeveloper.com/2012/01/facebook-page-detail-using-graph-api-and-php/">use the Facebook graph API to get page details</a> via a simple cURL request (<a href="http://pecl.php.net/curl">cURL PHP support required</a> for the example).
</p>
<blockquote>
Here is the technique to get the detail of the Facebook page with Graph API and PHP. This is the very easy method to get the Facebook page detail. So Let's see how to get this done. With this method you can get details of any Facebook page [inluding] name, picture, link, website, products, description and if the user can post to it.
</blockquote>
<p>
The sample code is only a few lines - it uses the Facebook page ID (easy to grab from the URL) and fetches a URL with it as a parameter. The output is returned as a standard PHP object with all of the properties attached (decoded from JSON). This is just one of many methods the Facebook graph API has, so check out <a href="http://graph.facebook.com">their documentation</a> for more methods and details on returned values.
</p>]]></description>
      <pubDate>Tue, 03 Jan 2012 11:06:04 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Sameer Borate's Blog: Amazon Advertising API BrowseNodes]]></title>
      <guid>http://www.phpdeveloper.org/news/17331</guid>
      <link>http://www.phpdeveloper.org/news/17331</link>
      <description><![CDATA[<p>
In <a href="http://www.codediesel.com/libraries/amazon-advertising-api-browsenodes/">this new post</a>, <i>Sameer Borate</i> shows you how to use his <a href="http://www.codediesel.com/downloads/amazon-bnodes">Amazon BrowseNodes script</a> to work with the returned data from the Amazon Advertising API.
</p>
<blockquote>
The BrowseNodes tool automatically gets all the child BrowseNodes and their names. The program recursively traverses the BrowserNode hierarchy and returns all the BrowseNodes and their respective names. You can display the nodes on the console or save it to a CSV file. You can also include the library in your existing projects to process BrowseNodes.
</blockquote>
<p>
You'll need <a href="http://pecl.php.net/curl">curl support</a> on your system to make it work. Several code examples are included showing how to grab a certain node, showing a list of nodes, saving the node information to a CSV, changing locales and getting the parent node for the current node.
</p>]]></description>
      <pubDate>Mon, 02 Jan 2012 11:02:56 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Project: PHP-Powered MyFcc.gov Portal Launches (Beta)]]></title>
      <guid>http://www.phpdeveloper.org/news/17321</guid>
      <link>http://www.phpdeveloper.org/news/17321</link>
      <description><![CDATA[<p>
As is mentioned in <a href="http://seabourneinc.com/2011/12/22/fcc-launches-myfcc-beta/">this new post</a> to the Seabourne site by <i>Mike Reich</i>, the <a href="http://fcc.gov">FCC</a> (Federal Communications Commission) has launched their new portal, <a href="http://my.fcc.gov/">MyFcc</a> (beta). The Seaborne post talks about the technology they used to create this widget-based dashboard.
</p>
<blockquote>
MyFCC is a personalized dashboard for power users that provides a simple way to access a broad range of content coming out of the agency. MyFCC content is powered by the <a href="http://seabourneinc.com/2011/09/19/announcing-the-content-api-drupal-module/">Content API module</a>, and is built using our very own <a href="http://cumula.org/">Cumula Framework</a>.
</blockquote>
<p>
The site is based on an API the FCC provides and makes it simpler to hone it down to just the information you need.
</p>
<blockquote>
MyFCC is a new approach to open government - making the content easily available to everyone, everywhere via APIs. Using the Content APIs, the public can create their own tools like MyFCC.
</blockquote>
<p>
You can find out more about the launch of MyFcc <a href="http://www.fcc.gov/blog/introducing-myfcc-beta">in this official press release</a>.
</p>]]></description>
      <pubDate>Thu, 29 Dec 2011 11:58:27 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NetTuts.com: Wrangling with the Facebook Graph API]]></title>
      <guid>http://www.phpdeveloper.org/news/17207</guid>
      <link>http://www.phpdeveloper.org/news/17207</link>
      <description><![CDATA[<p>
On the NetTuts.com site today they have a (very complete) guide to help you <a href="http://net.tutsplus.com/tutorials/php/wrangling-with-the-facebook-graph-api/">wrangle the Facebook Graph API</a> and make it useful for your application. It makes use of the official <a href="https://github.com/facebook/php-sdk">Facebook PHP SDK</a> to interface with the Graph API.
</p>
<blockquote>
Have you ever wanted to learn how to make your applications more social with Facebook? It's much easier than you think! In this tutorial, we'll be building an application that reads and publishes data to and from Facebook using Facebook's Graph API.
</blockquote>
<p>
The tutorial helps you get signed up on the Facebook <a href="http://developers.facebook.com/">developer site</a>, create a first sample application, set up the SDK and make a simple page (with an added bonus of using the <a href="http://twitter.github.com/bootstrap/">Twitter Boostrap</a> for look/feed). There's a section covering permissions, what kind of data you can expect publicly for both users and posts. They wrap it up with an example of posting back to Facebook though the API and updating the status on your account. The complete code for the tutorial is also <a href="http://nettuts.s3.amazonaws.com/1097_fbapi/source.zip">available for download</a>.
</p>]]></description>
      <pubDate>Fri, 02 Dec 2011 13:37:09 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Talking to GitHub with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17197</guid>
      <link>http://www.phpdeveloper.org/news/17197</link>
      <description><![CDATA[<p>
PHPBuilder.com has a new tutorial posted about <a href="http://www.phpbuilder.com/columns/github/github-api-php_11-29-2011.php3">interfacing with GitHub in PHP</a>, using their API to hook into and pull down information about users and repositories.
</p>
<blockquote>
The <a href="http://git-scm.com/">Git</a>-based project hosting service <a href="http://www.github.com/">GitHub</a> is certainly the belle of today's technology ball, having attracted more than 1 million registered users and amassed more than 2 million hosted projects in less than three years. [...] <a href="http://github-high-scores.heroku.com/">GitHub High Scores</a> and <a href="http://github-badges.heroku.com/">GitHub Badges</a> are two examples of third-party services created using the GitHub API, which is capable of carrying out any task you might wish to perform via GitHub.com. With it you can create, edit and search repositories, learn more about fellow GitHub users, and manage repository issues.
</blockquote>
<p>
<i>Jason</i> shows how to use the <a href="http://github.com/ornicar/php-github-api">php-github-api library</a> to connect to the API, search repository information, get user details, finding their repositories and accessing restricted resources (things only available for the authenticated user like updating your account or working with your own repositories).
</p>]]></description>
      <pubDate>Thu, 01 Dec 2011 11:28:40 -0600</pubDate>
    </item>
  </channel>
</rss>

