<?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, 12 Feb 2012 20:53:51 -0600</pubDate>
    <ttl>30</ttl>
    <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>
    <item>
      <title><![CDATA[PHPBuilder.com: Harness the Scripting Power of PHP and cURL to Update Facebook]]></title>
      <guid>http://www.phpdeveloper.org/news/15916</guid>
      <link>http://www.phpdeveloper.org/news/15916</link>
      <description><![CDATA[<p>
On PHPBuilder.com today there's a new article from <i>Marc Plotz</i> looking at how you can use <a href="http://www.phpbuilder.com/columns/curl-facebook/marc_plotz02152011.php3">PHP and cURL with Facebook</a> to update your status.
</p>
<blockquote>
You probably know that cURL is a wonderful tool for extracting data from a Web page -- that's a given if you are a developer worth your salt. However, in this article, I want to show you how to use cURL to do things for you. We will start by exploring cURL in detail and then move on to use a very cool script to update our Facebook status.
</blockquote>
<p>
He introduces cURL for those that aren't familiar with it already (including how to tell if it's installed) and some basic code to show a GET request on a remote file. Things get a little more complicated from there - you'll need to set up some cookies for Facebook, use some regular expression matching to find the form to submit to and send the POST data correctly for the update. 
</p>]]></description>
      <pubDate>Wed, 16 Feb 2011 13:30:19 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Rafael Dohms' Blog: Managing Test Users in Facebook]]></title>
      <guid>http://www.phpdeveloper.org/news/15872</guid>
      <link>http://www.phpdeveloper.org/news/15872</link>
      <description><![CDATA[<p>
In a recent post to his blog <i>Rafael Dohms</i> has shared a mini-application he's developed to work with his test users on <a href="http://facebook.com">Facebook</a> when developing his applications - <a href="https://github.com/rdohms/facebook-testuser-manager">his Facebook Test User Manager</a>.
</p>
<blockquote>
Its possible to create up to 100 test users per app, creation allows you to choose whether the user already should have the application installed and which permissions you want them to have, using API calls. You can also remove users, list all of your app's test users and even create friend connections between them using the API. This really is a great resource, but using an API to get this information all the time is cumbersome and might take time away from your time to develop the application itself. This is where the Test User Manager comes in.
</blockquote>
<p>
He explains some of his thoughts behind the development structure of the tool and includes some basic descriptions (and screenshots) of listing out the test users for an application, making a new user and creating/viewing the relationships between those users. As of the writing of his post, he's in <a href="https://github.com/rdohms/facebook-testuser-manager/archives/v0.9">version 0.9</a> which you can download from github. Obviously, you can also clone the repository and submit your own enhancements too if you'd like.
</p>]]></description>
      <pubDate>Tue, 08 Feb 2011 10:03:57 -0600</pubDate>
    </item>
  </channel>
</rss>

