<?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 00:14:30 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Symfony Blog: The Symfony Community Survey 2012: The Results]]></title>
      <guid>http://www.phpdeveloper.org/news/18280</guid>
      <link>http://www.phpdeveloper.org/news/18280</link>
      <description><![CDATA[<p>
On the Symfony Blog there's <a href="http://symfony.com/blog/the-symfony-community-survey-2012-the-results">a new post</a> sharing the results of a recent poll they took of some of their developers covering things like job title, how long they've been working with Symfony and their work with the framework.
</p>
<blockquote>
Before the Symfony Live Conference in Paris, we conducted the first Symfony community survey. The raffle winners will soon be contacted by Anne-Sophie. And without further ado, here are the survey results!
</blockquote>
<p>Results are posted both in numbers and in easy to read graphs to questions like:</p>
<ul>
<li>What is your job?
<li>How did you get to know symfony?
<li>Do you use any other PHP framework/CMS?
<li>What is the average size of projects that you/your company work on?
<li>How do you get trained?
</ul>
<p>
The last question is interesting - it asked the community how many would be interested in getting a Symfony certification. The results were almost broken into equal thirds of "yes", "no" and "somewhat interested. You can <a href="http://symfony.com/blog/the-symfony-community-survey-2012-the-results">see the full results here</a>.
</p>]]></description>
      <pubDate>Fri, 27 Jul 2012 07:22:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sameer Borate's Blog: Building a adjacency matrix of a graph]]></title>
      <guid>http://www.phpdeveloper.org/news/17555</guid>
      <link>http://www.phpdeveloper.org/news/17555</link>
      <description><![CDATA[<p>
Building on the graphing tutorial in <a href="http://phpdeveloper.org/news/17543">his last post</a> <i>Sameer</i> continues on looking at graphs in PHP with <a href="http://www.codediesel.com/algorithms/building-a-adjacency-matrix-of-a-graph/">this new post</a> showing how to create an "agency matrix" of a currently built graph.
</p>
<blockquote>
Building a graph is not enough; we also need the ability to search through it. To make it easier to build search algorithms, it is useful if we can represent the graph and its connections in a different way; adjacency matrix being one such representation. An adjacency matrix is a means of representing which vertices (or nodes) of a graph are adjacent to which other vertices.
</blockquote>
<p>
He includes some sample code to extract the data from a graph (built with the PEAR Structures_Graph package) and create a basic "table" of information about each nodes' connections. 
</p>]]></description>
      <pubDate>Fri, 17 Feb 2012 09:19:12 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Sameer Borate's Blog: Building a Graph data structure in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17543</guid>
      <link>http://www.phpdeveloper.org/news/17543</link>
      <description><![CDATA[<p>
In the <a href="http://www.codediesel.com/algorithms/building-a-graph-data-structure-in-php">latest post</a> to his blog <i>Sameer Borate</i> takes a look at using the <a href="http://pear.php.net/package/Structures_Graph/download">Structures_Graph</a> package from PEAR to create data structures in PHP with linked nodes for directed and undirected graphs.
</p>
<blockquote>
The Pear Structures_Graph package allows creating and manipulating graph data structures. It allows building of either directed or undirected graphs, with data and metadata stored in nodes. The library provides functions for graph traversing as well as for characteristic extraction from the graph topology.
</blockquote>
<p>
After sharing the one-line install, he shows how to create some instances of the package's Nodes and how to connect them to a graph and link them to other nodes. He includes a few examples - a simpler one with multiple nodes joined in a directed graph, another showing how to associate data with a node and how to query the graph for node connections and testing to see if the graph is <a href="http://en.wikipedia.org/wiki/Directed_acyclic_graph">acyclic</a>.
</p>]]></description>
      <pubDate>Wed, 15 Feb 2012 09:35:15 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Kurt Payne's Blog: User register_tick_function to profile your code]]></title>
      <guid>http://www.phpdeveloper.org/news/17512</guid>
      <link>http://www.phpdeveloper.org/news/17512</link>
      <description><![CDATA[<p>
<i>Kurt Payne</i> has a new post to his blog showing how to <a href="http://kpayne.me/2012/02/04/use-register_tick_function-to-profile-your-code/">use register_tick_function</a> with a callback to help benchmark and profile your application to find its pain spots.
</p>
<blockquote>
A profiler gives you the ability to trace the performance of your code through every function call and create an overview of your system's performance over a certain time period and helps you make intelligent decisions about where to look for problems. [...] But what if you're in an environment where you can't install [the xdebug or xhprof] extension? Luckily, php has a built-in function called <a href="http://php.net/register_tick_function">register_tick_function</a> that gives you a way to hook in to every user function that's called.  With this, you can write a profiler yourself.
</blockquote>
<p>
A bit of sample code illustrates his method - it defines a "do_profile" function and assigns it with the <a href="http://php.net/register_tick_function">register_tick_function</a> call. This function generates a debug backtrace and echos out the function path it took to get to that spot (output is included). He provides code for a bit more useful profiling and points out that it could easily be graphed to help visualize the problems. Also included are a few caveats to watch out for when using this method of profiling.
</p>]]></description>
      <pubDate>Tue, 07 Feb 2012 13:26:23 -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[PHPMaster.com: Charting with pChart]]></title>
      <guid>http://www.phpdeveloper.org/news/17209</guid>
      <link>http://www.phpdeveloper.org/news/17209</link>
      <description><![CDATA[<p>
On PHPMaster.com today there's a new post highlighting the <a href="http://phpmaster.com/charting-with-pchart/">use of pChart</a> to graph out the data from your PHP application. <a href="http://www.pchart.net/download">pChart</a> provides an easy interface to draw graphs with GD, supporting alpha transparency, shadowing, spline/cubic curves and much more.
</p>
<blockquote>
Created and maintained by Jean-Damien Pogolotti, a systems engineer based in Toulouse, France, pChart is a library that creates anti-aliased charts and graphs using PHP. It's object-oriented code has been recently redesigned and makes it easy to add beautiful, eye-catching data. The library is free for non-profit use and for inclusion in GPL distributed software; licensing plans for other uses start at just 50 Euro. In this article I'll take you through installing pChart and using it to generate a basic chart, line chart and plot graph.
</blockquote>
<p>
He walks you through the <a href="http://www.pchart.net/download">download</a> and installation of the tool as well as showing the code you'll need to include to get started with a first script. Their examples show how to create both single- and three-series charts with some sample data and some <a href="http://cdn.phpmaster.com/files/2011/10/pchart-011.png">screenshots</a> <a href="http://cdn.phpmaster.com/files/2011/10/pchart-021.png">of</a> <a href="http://cdn.phpmaster.com/files/2011/10/pchart-041.png">output</a>.
</p>]]></description>
      <pubDate>Mon, 05 Dec 2011 08:50:07 -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 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[Script-Tutorials.com: Creating a Smooth Curve Graphs with PHP and GD]]></title>
      <guid>http://www.phpdeveloper.org/news/17038</guid>
      <link>http://www.phpdeveloper.org/news/17038</link>
      <description><![CDATA[<p>
On Script-Tutorials.com there's a new tutorial posted showing you how you can <a href="http://www.script-tutorials.com/smooth-curve-graphs-with-php-and-gd/">get better curves on your graphs</a> with PHP and GD (the key is in the "CubicSplines" class, providing a few extra calculations to make "splines", a mathematical method for <a href="http://en.wikipedia.org/wiki/Spline_(mathematics)">smoothing out values</a>).
</p>
<blockquote>
Today I have new article for PHP. I will tell you about drawing graphs with GD. Plus - we will smooth our graph with curve lines using cubic splines interpolation method. You can read more about method at <a href="http://en.wikipedia.org/wiki/Cubic_splines">Wikipedia</a>.
</blockquote>
<p>
All of the code is included in the post, ready for cop and pasting - the HTML, CSS plus the PHP to generate the graph, plot the points and apply the cubic splines values. You can check out a <a href="http://www.script-tutorials.com/demos/169/index.html">live demo</a> of it in action or just <a href="http://www.script-tutorials.com/demos/169/source.zip">download the code</a> and get started on your own.
</p>]]></description>
      <pubDate>Tue, 25 Oct 2011 11:27:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Josh Adell's Blog: Path finding with Neo4j]]></title>
      <guid>http://www.phpdeveloper.org/news/16530</guid>
      <link>http://www.phpdeveloper.org/news/16530</link>
      <description><![CDATA[<p>
In a follow up to his previous post on <a href="http://phpdeveloper.org/news/16485">using Neo4j with PHP</a>, <i>Josh Adell</i> looks in a bit more detail about how to <a href="http://blog.everymansoftware.com/2011/06/path-finding-with-neo4j.html">find paths in the data</a> via a REST interface to the database.
</p>
<blockquote>
The thing that makes graphing databases useful is the ability to find relationship paths from one node to another. There are many algorithms for finding paths efficiently, depending on the use case.
</blockquote>
<p>
He includes some code showing the REST request (made via <a href="https://github.com/jadell/Neo4jPHP">this client</a>) to fetch <a href="http://1.bp.blogspot.com/-qteFgW-vvPE/TgK3beUyk_I/AAAAAAAAAA8/cstHGsCaLEU/s1600/street_graph.png">these street-based relationships</a>. He then creates a little sample script that provides driving directions from one intersection to another with a "findPathsTo" call. He modifies it a bit later on to use the <a href="http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm">Dijkstra algorithm</a>.
</p>]]></description>
      <pubDate>Tue, 28 Jun 2011 12:38:01 -0500</pubDate>
    </item>
  </channel>
</rss>
