<?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>Sun, 19 May 2013 10:38:19 -0500</pubDate>
    <ttl>30</ttl>
    <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[Nerds Central: Facebook Moving To The JVM]]></title>
      <guid>http://www.phpdeveloper.org/news/18348</guid>
      <link>http://www.phpdeveloper.org/news/18348</link>
      <description><![CDATA[<p>
According to <a href="http://nerds-central.blogspot.fr/2012/08/facebook-moving-to-jvm.html">this new post</a> on Nerds Central, there's been speculation that Facebook, needing even more of a performance boost than <a href="http://developers.facebook.com/blog/post/2010/02/02/hiphop-for-php--move-fast/">hiphop</a> gave them, is moving into using PHP in a JVM.
</p>
<blockquote>
The presence of Facebook engineers at the JVM Language Summit in San-Francisco along with their interest in implementing PHP using invoke-dynamic on the JVM is a the shock. The main seismic event will be nothing less than the complete removal of interpretors from main stream general purpose programming. 
</blockquote>
<p>
He talks some about the JVM environment (and the <a href="http://en.wikipedia.org/wiki/Magik_(programming_language)">Magik</a> project) as well as wondering about what sort of performance boost it might actually give. 
</p>
<blockquote>
So Are Facebook Doing The Right Thing? Yes! The rise and rise of Javascript over the last 4 years as shown us just how powerful JIT compilation of once interpreted languages can be. The fall and fail of complete re-writes has shown us just how unrealistic it is to completely move a working system from one language to another. Facebook has a stupid amount of PHP and so it is by far the most sensible thing to port that to mlvm. Actually it should be pretty easy.
</blockquote>]]></description>
      <pubDate>Mon, 13 Aug 2012 08:04:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Server-Side Magazine: 10 Questions with Facebook Research Engineer - Andrei Alexandrescu]]></title>
      <guid>http://www.phpdeveloper.org/news/17482</guid>
      <link>http://www.phpdeveloper.org/news/17482</link>
      <description><![CDATA[<p>
The Server-Side Magazine site has posted <a href="http://www.serversidemagazine.com/news/10-questions-with-facebook-research-engineer-andrei-alexandrescu/">an interview (10 questions)</a> with <i>Andrei Alexandrescu</i>, a research engineer currently working at Facebook.
</p>
<blockquote>
Today we caught up with Andrei Alexandrescu for a "10 Question" interview. He is a Romanian born research engineer at Facebook living in the US, you can contact him on his website <a href="http://erdani.com/">erdani.com</a> or <a href="https://twitter.com/incomputable">@incomputable</a>. We will talk about some of the juicy stuff that going on at <a href="https://www.facebook.com/">Facebook</a>, so let's get started.
</blockquote>
<p>Their questions include:</p>
<ul>
<li>What's your development setup?
<li>What do you think of PHP as a language from your perspective, regarding that Facebook was initially written in PHP then transformed to C++ using HipHop for PHP. What are the pros and cons of using C++ over PHP at Facebook?
<li>Currently, what kind of research do you conduct at Facebook? (or is this confidential?)
<li>Tell us a little bit about the D programming language, in contrast to C, PHP, Ruby and others. In what fields can someone apply D?
<li>Also, what kind of advice can you give for developers who are considering to apply to Facebook? What kind of skills is Facebook looking for in a potential candidate. Is it really important to be a graduate CS? What kind of skills do the majority of Facebook employees possess?
</ul>
<p>
<a href="http://www.serversidemagazine.com/news/10-questions-with-facebook-research-engineer-andrei-alexandrescu/">Read the full interview</a> for his answers to these and other interesting questions.
</p>]]></description>
      <pubDate>Wed, 01 Feb 2012 14:56:09 -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[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[DZone.com: Speed Up Your PHP Like Facebook]]></title>
      <guid>http://www.phpdeveloper.org/news/17182</guid>
      <link>http://www.phpdeveloper.org/news/17182</link>
      <description><![CDATA[<p>
On DZone.com <i>John Esposito</i> <a href="http://css.dzone.com/articles/speed-your-php-facebook">reminds you</a> about another technology Facebook has introduced to the world of PHP (besides HipHop) - <a href="https://github.com/facebook/xhprof">XHProf</a>, a PHP profiler.
</p>
<blockquote>
Facebook did more for PHP: they also created XHProf, a PHP profiler with a (supposedly) easy-to-use HTML interface, designed to pinpoint exactly where your bottlenecks are appearing, so that you can optimize at every stage in the pipeline. [...] If you haven't tried XHProf, you might want to <a href="https://github.com/facebook/xhprof">look into it</a>. Installation apparently requires a little nudging, but Nick Lewis just posted a <a href="http://nicklewis.org/node/1087">full, practical guide</a> to benchmarking and performance tuning your PHP and MySQL, using XHProf (as well as other techniques) -- a very nice overview of many common bottlenecks and how to open them up.
</blockquote>
<p>
There's also a link to some <a href="http://groups.drupal.org/node/187209">Drupal 6 benchmarks</a> that shows how it has helped that project (including both small and large improvements).
</p>]]></description>
      <pubDate>Tue, 29 Nov 2011 10:13:03 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Talking to Facebook's Social Graph with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17154</guid>
      <link>http://www.phpdeveloper.org/news/17154</link>
      <description><![CDATA[<p>
On PHPBuilder.com there's a recent post showing you how to <a href="http://www.phpbuilder.com/columns/facebook_social_graph/facebook_social_graphing_11-17-2011.php3">connect your application with Facebook's graph API</a> and grabbing the current user's public profile information. 
</p>
<blockquote>
In recent years, [Facebook's] influence has dramatically grown thanks to the Facebook Platform, a set of APIs which third-parties can use to create or extend applications which tightly integrate with Facebook.com's features and users. [...] PHP-minded developers are particularly fortunate, as the Facebook PHP SDK doesn't only provide users a powerful solution for interacting with the social graph, but because it's actively maintained by the Facebook development team is often the first of several available APIs to offer the latest features and bug fixes.
</blockquote>
<p>
He points out the <a href="https://github.com/facebook/php-sdk">github repostory</a> for grabbing the Facebook SDK, the information you'd get (at a minimum) from the API and the sort of detail you can expect from a user logged into your application. Sample code is included for this last example.
</p>]]></description>
      <pubDate>Mon, 21 Nov 2011 11:26:54 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[VentureBeat.com: Exclusive: Facebook opens up about open-source software]]></title>
      <guid>http://www.phpdeveloper.org/news/16797</guid>
      <link>http://www.phpdeveloper.org/news/16797</link>
      <description><![CDATA[<p>
On VentureBeat today there's a post (the first of two parts) looking at <a href="http://venturebeat.com/2011/08/30/facebook-open-source-software/">Facebook's involvement in Open Source software</a>, including their work on <a href="http://github.com/facebook/hiphop-php">HipHop</a> and <a href="http://github.com/facebook/xhp">XHP</a> for PHP (an interview with David Recordon and Amir Michael).
</p>
<blockquote>
The social media company has, without question, taken the time to work on those projects. The hackers at Facebook have done perhaps more than any other single entity to advance and optimize PHP, the programming language on which the network is primarily built.
</blockquote>
<p>
They talk about some of the projects, both PHP-related and not, that the developers of Facebook have either created or contributed to. There's mentions of Facebook's "hacker culture" and a mention of their workflow and how they decided on going forward with something like HipHop.
</p>]]></description>
      <pubDate>Wed, 31 Aug 2011 11:48:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Casey's Blog: Make Your Life as a PHP Developer Twice as Easy With phpsh]]></title>
      <guid>http://www.phpdeveloper.org/news/16553</guid>
      <link>http://www.phpdeveloper.org/news/16553</link>
      <description><![CDATA[<p>
In his (Python) blog today <i>Casey</i> reminds the developer community <a href="http://pythonprojectwatch.blogspot.com/2011/07/make-your-life-as-php-developer-twice.html">about a handy tool</a> that the developers at Facebook have made available to make a PHP coder's life easier - <a href="http://phpsh.org/">phpsh</a>.
</p>
<blockquote>
The developers at Facebook have brought PHP developers a powerful REPL now ala-Python to round out a solid toolbox that PHP developers already have. The project is called phpsh and is written in Python.
</blockquote>
<p>
He includes the commands you'll need to get it pulled from github and working, providing you with an interactive shell right on your local machine (more powerful than the built-in PHP shell). You can also grab a <a href="http://github.com/facebook/phpsh/zipball/master">zip</a> or <a href="http://github.com/facebook/phpsh/tarball/master">gzipped</a> archive for download. For complete details on the tool and how to use it, see <a href="http://phpsh.org/">phpsh.org</a>. 
</p>]]></description>
      <pubDate>Tue, 05 Jul 2011 11:50:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Integrate Facebook Comments Code with Wordpress or PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16512</guid>
      <link>http://www.phpdeveloper.org/news/16512</link>
      <description><![CDATA[<p>
On DevShed today there's a new tutorial showing you how to <a href="http://www.devshed.com/c/a/PHP/How-to-Add-Facebook-Comment-Boxes-with-PHP/">integrate Facebook commenting</a> with your PHP application via the Facebook Connect API.
</p>
<blockquote>
Facebook comments are a great way to optimize your site for social media and add a level of user-engagement to you site. Quality website comments can increase your website's credibility, as well as its traffic. This tutorial will teach you how to use Facebook's API Connect to integrate comment boxes on your website in a few simple steps, utilizing a little PHP and some elbow grease.
</blockquote>
<p>
You'll need to <a href="http://www.facebook.com/developers/createapp.php">set up an application</a> for your PHP app to make the connection. This will give you the unique keys for your application that'll be used in setting up the commenting. By including a Facebook javascript file, all you'll need to do is output a special "fb" HTML tag with the right attributes and a meta tag or two to configure it with your application's keys.
</p>]]></description>
      <pubDate>Thu, 23 Jun 2011 12:16:19 -0500</pubDate>
    </item>
  </channel>
</rss>
