<?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 04:00:56 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPMaster.com: Integrating Open Authentication using Opauth]]></title>
      <guid>http://www.phpdeveloper.org/news/19296</guid>
      <link>http://www.phpdeveloper.org/news/19296</link>
      <description><![CDATA[<p>
On PHPMaster.com there's a new tutorial showing you how to <a href="http://phpmaster.com/integrating-open-authentication-using-opauth/">implement OAuth authentication</a> in your application using the <a href="http://opauth.org/">Opauth</a> Php library. This library lets you connect to any of a number of OAuth service providers and authenticate.
</p>
<blockquote>
Open Authentication has evolved as a standard for third-party authentication in recent years and allows us to securely authenticate our application's users through a standard interface. Twitter and Facebook has been the standouts among dozens of authentication service providers. [...] In this article we'll explore how we can effectively use Opauth to standardize our authentication strategies. I'll be using CodeIgniter here, but even if you're not familiar with CodeIgniter, I suggest you continue reading since it will be similar for other frameworks as well. Once you understand the necessary details for integration, adapting to any framework is super simple.
</blockquote>
<p>
He talks some about the Opauth library and shows <a href="http://cdn.phpmaster.com/files/2013/03/opauth-01.png">the full authentication flow</a> that your script will follow when using it. Code is included showing how to include and integrate the <a href="https://github.com/opauth/opauth">Opauth</a> library including setup and configuration of the object and the controller/view code to implement the login form. 
</p>]]></description>
      <pubDate>Mon, 11 Mar 2013 09:07:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Oauth Authentication for Social Apps in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/19155</guid>
      <link>http://www.phpdeveloper.org/news/19155</link>
      <description><![CDATA[<p>
On PHPBuilder.com today there's a tutorial <a href="http://www.phpbuilder.com/articles/application-architecture/miscellaneous/oauth-authentication-for-social-apps-in-php.html">introducing you to OAuth</a> and how to use it in your PHP applications.
</p>
<blockquote>
Oauth is an open standard for authorization that allows secure authorization from web, mobile and desktop applications. This standard allows a third-party application to gain access to a HTTP service, i.e. it enables users to share their resources from one website with another website without having to give out their credentials (usually username and password). [...] Oauth authorization is carried out in 3 steps: obtain a request token, authorize request token and exchange request token for an access token.
</blockquote>
<p>
They introduce you to some of the basic concepts behind OAuth and how the process works (complete with a <a href="http://www.phpbuilder.com/imagesvr_ce/2463/Oauth-image001.png">handy graphic</a>). They then show how to use OAuth to connect to the Facebook API, both in Javascript then PHP. This is followed with two other examples referencing popular social sites Twitter and Foursquare, hitting their APIs with simple authentication requests.
</p>]]></description>
      <pubDate>Fri, 08 Feb 2013 10:27:18 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Creating a PHP OAuth Server]]></title>
      <guid>http://www.phpdeveloper.org/news/18976</guid>
      <link>http://www.phpdeveloper.org/news/18976</link>
      <description><![CDATA[<p>
On PHPMaster.com today there's <a href="http://phpmaster.com/creating-a-php-oauth-server/">a new tutorial posted</a> about creating your own OAuth server in PHP using the <a href="http://code.google.com/p/oauth-php/">oauth-php package</a> to do the "heavy lifting".
</p>
<blockquote>
If you've ever integrated with another API that requires security (such as Twitter), you've probably consumed an OAuth service. In this article, I'll explore what it takes to create your own three-legged OAuth server allowing you, for example, to create your own secure API which you can release publicly.
</blockquote>
<p>
They include a <a href="http://cdn.phpmaster.com/files/2012/12/diagram.png">visual representation</a> of the OAuth authentication flow (it's not the simplest thing) and the database structure/sample code you'll need to get the server up and listening. Also included is a registration form and how to generate a request token and give back an access token. There's also some sample code showing how to validate the request and it's access token to check for a correct (and allowed) request.
</p>]]></description>
      <pubDate>Tue, 01 Jan 2013 11:56:46 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: Lately in PHP, Episode 28 - Should PHP be Copying the Java features and practices?]]></title>
      <guid>http://www.phpdeveloper.org/news/18741</guid>
      <link>http://www.phpdeveloper.org/news/18741</link>
      <description><![CDATA[<p>
PHPClasses.org has posted the latest episode of their "Lately in PHP" podcast series - episode #29, <a href="http://www.phpclasses.org/blog/post/194-Should-PHP-be-Copying-the-Java-features-and-practices-Lately-in-PHP-podcast-episode-29.html">Should PHP be Copying the Java features and practices?</a>.
</p>
<blockquote>
Particularly since version 5.0, PHP has been copying many of Java features and practices of Java programmers. This means that if Java programmers practices tend to be bureacratic and less productive, PHP programmers that use those features or adopt those Java practices may also become less productive. This was one of the main topics discussed by Manuel Lemos and Michael Kimsal on the episode 29 of the Lately in PHP podcast.
</blockquote>
<p>
There's also a bit of discussion about adding generics to PHP and using OAuth in PHP. You can listen to this latest episode either via the <a href="http://www.phpclasses.org/blog/post/194-Should-PHP-be-Copying-the-Java-features-and-practices-Lately-in-PHP-podcast-episode-29.html">in-page player</a>, by <a href="http://www.phpclasses.org/blog/post/194/file/149/name/Lately-In-PHP-29.mp3">downloading the mp3</a> or by <a href="http://youtu.be/BNdVierzZxg">watching the video</a> of the recording. You can also <a href="http://www.phpclasses.org/blog/category/podcast/post/latest.rss">subscribe to their feed</a> to get the latest in the podcast series.
</p>]]></description>
      <pubDate>Tue, 13 Nov 2012 13:31:04 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Rob Allen: Setting up PHP & MySQL on OS X 10.8 Mountain Lion]]></title>
      <guid>http://www.phpdeveloper.org/news/18422</guid>
      <link>http://www.phpdeveloper.org/news/18422</link>
      <description><![CDATA[<p>
<i>Rob Allen</i> has posted some notes to his site helping you get <a href="http://akrabat.com/computing/setting-up-php-mysql-on-os-x-10-8-mountain-lion/">PHP set up on OSX Lion (10.8)</a> successfully.
</p>
<blockquote>
With OS X 10.8, Apple continues to ship PHP 5.3 with Xdebug, PEAR, GD and PDO_MYSQL. This is how to set it up from a clean install of 10.8.
</blockquote>
<p>
He's broken it up into a few sections including the MySQL setup, Apache configuration 
, updating the main php.ini and setting up PHPUnit ("and friends") for your testing. He also includes setup instructions for the mcrypt and the PECL <a href="http://php.net/manual/en/book.oauth.php">OAuth</a> extensions.
</p>]]></description>
      <pubDate>Thu, 30 Aug 2012 09:09:12 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Script-Tutorials.com: Google API - Get contact list]]></title>
      <guid>http://www.phpdeveloper.org/news/18275</guid>
      <link>http://www.phpdeveloper.org/news/18275</link>
      <description><![CDATA[<p>
In <a href="http://www.script-tutorials.com/google-api-get-contact-list/">this new tutorial</a> on the Script-Tutorials.com site, they show you how to use the Google API (and OAuth) to access contacts information from your Gmail account.
</p>
<blockquote>
In our new tutorial I am going to tell you about inviting friends. I think that this is the most important part for every website, a key to success. Today I will show you how to create simple and effective Gmail contact importer using OAuth authorization and API. Also, I will tell about obtaining Google API access too.
</blockquote>
<p>
Screenshots show you how to get to the access token information you'll need to connect and the <a href="http://www.script-tutorials.com/demos/291/source.zip">full code</a> is included to help you get authenticated and pull down the contacts list to display in the page's HTML output.
</p>]]></description>
      <pubDate>Thu, 26 Jul 2012 09:26:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Script-Tutorials.com: Vimeo API - OAuth and Upload Example]]></title>
      <guid>http://www.phpdeveloper.org/news/18230</guid>
      <link>http://www.phpdeveloper.org/news/18230</link>
      <description><![CDATA[<p>
On the Script-Tutorials.com site there's <a href="http://www.script-tutorials.com/vimeo-api-oauth-and-upload-example/">a new tutorial</a> showing how to use the Vimeo API to upload your content to their service:
</p>
<blockquote>
Today I would like to continue talking about video. Last time we talked about Youtube, but today I decided to select Vimeo. [...] Our second example - Vimeo. In our new tutorial I will tell you how you can create Vimeo cross-uploader for your website. To achieve our idea we will use <a href="https://developer.vimeo.com/apis/advanced/upload">Vimeo Upload API</a>. In the beginning, we should register at Vimeo <a href="http://vimeo.com/join">here</a>.
</blockquote>
<p>
The full code for the upload script, the HTML for the frontend for it and the CSS to give it a little bit of style. You can <a href="http://www.script-tutorials.com/demos/282/index.php">see a demo of it here</a> or just <a href="http://www.script-tutorials.com/demos/282/source.zip">download the source</a>.
</p>]]></description>
      <pubDate>Mon, 16 Jul 2012 12:03:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[9Lessons.info: Login with Instagram OAuth using PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17993</guid>
      <link>http://www.phpdeveloper.org/news/17993</link>
      <description><![CDATA[<p>
On the 9Lessons blog there's a recent tutorial showing you how to <a href="http://www.9lessons.info/2012/05/login-with-instagram-php.html">log into Instagram via OAuth</a> with the help of their <a href="https://www.box.com/s/4b763153ca5d99efa1e3">Instagram class</a>.
</p>
<blockquote>
The very quick registration gives you many users to your web project, we already published login with Facebook, Twitter and Google Plus now time to think about very popular photo sharing portal Instagram. This post explains you how to login with instagram Oauth API and importing user data. Create an instagram account and take a quick look at this demo thanks!
</blockquote>
<p>
The tutorial walks you through the process of setting up an application in the Instagram service, configuring the scripts with the API key/secret and callback as well as the code for a simple login page. They've also included code to grab the user's information and "popular media" from the web service and pull that information into a local MySQL database.
</p>]]></description>
      <pubDate>Wed, 23 May 2012 08:46:46 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SpyreStudios.com: Connecting with API Data from Instagr.am using PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17556</guid>
      <link>http://www.phpdeveloper.org/news/17556</link>
      <description><![CDATA[<p>
On SpyreStudios.com there's a post showing you how to <a href="http://spyrestudios.com/connecting-with-api-data-from-instagr-am-using-php/">connect to the Instagr.am API</a> and pull data back with a bit of simple PHP.
</p>
<blockquote>
The process of connecting into API data via OAuth is tricky. Some of the more notable social networks which have adopted this technology include Foursquare, Twitter, and Facebook. But Instagram is a very popular mobile app which has grown tremendously fast. Their recent API v1.0 release has some really neat features where you can pull popular photos, recent users, follower lists, and a whole bunch more.
</blockquote>
<p>
He points to <a href="https://github.com/macuenca/Instagram-PHP-API">the Instagr.am PHP API scripts</a> that the service already provides and shows how to set up an application on your Instagr.am account. This application then has OAuth keys you can use to connect to the service (via the PHP API scripts) and pull back basic user information - profile picture, number of photos, followers, etc. There's also <a href="http://spyrestudios.com/demos/instagram-api/index.php">a live demo</a> you can test out.
</p>]]></description>
      <pubDate>Fri, 17 Feb 2012 10:02:43 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ibuildings techPortal: DPC Radio: Implementing OAuth]]></title>
      <guid>http://www.phpdeveloper.org/news/17520</guid>
      <link>http://www.phpdeveloper.org/news/17520</link>
      <description><![CDATA[<p>
On the Ibuildings techPortal today they've posted the latest in their DPC Radio series of podcasts as recorded at last year's <a href="http://phpconference.nl">Dutch PHP Conference</a>. In <a href="http://techportal.ibuildings.com/2012/02/08/dpc-radio-implementing-oauth/">this new episode</a> they share <i>Lorna Mitchell</i>'s talk "Implementing OAuth".
</p>
<blockquote>
With Twitter moving its API to OAuth the idea of using tokens rather than passwords for authentication went mainstream. Many explanations of OAuth make it seem complicated whereas in reality the "OAuth Dance" is a series of simple steps executed in sequence. This talk covers consuming and providing OAuth services, includes implementation examples, and is recommended for all technical leads, architects, and integration specialists.
</blockquote>
<p>
You can listen to this latest episode either via <a href="http://techportal.ibuildings.com/2012/02/08/dpc-radio-implementing-oauth/">the in-page player</a> or by <a href="http://dpcradio.s3.amazonaws.com/2011_010.mp3">downloading the mp3</a>. You can follow along with the presentation in <a href="http://www.slideshare.net/lornajane/oauth-7990565">her slides</a>.
</p>]]></description>
      <pubDate>Wed, 08 Feb 2012 14:20:29 -0600</pubDate>
    </item>
  </channel>
</rss>
