<?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>Wed, 23 May 2012 12:20:27 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Using JIRA's REST API to Create a Dashboard]]></title>
      <guid>http://www.phpdeveloper.org/news/17743</guid>
      <link>http://www.phpdeveloper.org/news/17743</link>
      <description><![CDATA[<p>
In <a href="http://www.lornajane.net/posts/2012/using-jiras-rest-api-to-create-a-dashboard">this recent post</a> to her blog, <i>Lorna Mitchell</i> shows how to use the Jira REST API (provided as a part of some of the newer versions of the tool) to create a "dashboard" of the latest items added to the tracker.
</p>
<blockquote>
Today what you get is an example of integrating with JIRA's REST API, because their recent "upgrade" locked me out of the issue listings pages completely and I really do need to be able to see a list of bugs! Their bug editing screen is quite usable, so it's just the list that I need here, but you could easily call their <a href="http://docs.atlassian.com/jira/REST/latest/">other API methods</a> as you need to. These examples are PHP and use the <a href="http://pecl.php.net/pecl_http>PECL_HTTP</a> extension, because it's awesome, but these examples could be easily adapted to use another language or library.
</blockquote>
<p>
She includes an example of the REST-based URL to fetch the issues (based on the <a href="http://joindin.jira.com">Joind.in Jira tracker</a>), parsing the JSON results and displaying the results as a simple list, looping with a foreach and outputting some HTML.
</p>]]></description>
      <pubDate>Wed, 28 Mar 2012 10:57:56 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matt Farina's Blog: SplFixedArray, An Underutilized PHP Gem]]></title>
      <guid>http://www.phpdeveloper.org/news/16838</guid>
      <link>http://www.phpdeveloper.org/news/16838</link>
      <description><![CDATA[<p>
<i>Matt Farina</i> has a new post today looking at an "underutilized gem" he's found in the offerings of the Standard PHP Library (SPL) - the <a href="http://engineeredweb.com/blog/11/9/splfixedarray-underutilized-php-gem">SplFixedArray</a>.
</p>
<blockquote>
Arrays in PHP are not arrays per the typical <a href="http://en.wikipedia.org/wiki/Array_data_type">array data type</a>. Instead, as Matt Butcher recently pointed out <a href="http://technosophos.com/content/php-arrays-are-not-arrays">arrays in PHP are similar to hashes in other languages</a>. This can be a very important point to know when tracking down bugs in code and to programmers coming to PHP from other languages. But, what if we wanted something like a traditional array data type? Maybe something that preserved numeric order. Enter <A href="http://engineeredweb.com/blog/11/9/splfixedarray">SplFixedArray</a>.
</blockquote>
<p>
He gives an example of using the SplFixedArray object versus the normal array variables in a simple PHP snippet showing the preservation of numbering order. He also touches on the memory consumption difference between the two, with the fixed array coming in quite a bit lower than the normal array data type (around 25% based on his basic testing). There are some catches to using it, though including incompatibility with array methods and the fact that it doesn't implement things like Iterator or Countable interfaces.
</p>]]></description>
      <pubDate>Fri, 09 Sep 2011 10:43:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Announcing the February 2011 Zend Framework Bug-Hunt]]></title>
      <guid>http://www.phpdeveloper.org/news/15919</guid>
      <link>http://www.phpdeveloper.org/news/15919</link>
      <description><![CDATA[<p>
In a new post to the Zend Developer Zone, <i>Ralph Schindler</i> has posted about this month's <a href="http://devzone.zend.com/article/13063-Announcing-the-February-2011-Zend-Framework-Bug-Hunt-">Bug Hunt Days</a> for the Zend Framework. They start today (Thursday, February 17) and run through Saturday.
</p>
<blockquote>
For those who haven't put the reoccurring event in their calendar, this announcement is for you: Zend Framework Monthly Bug-hunt is here again! This Thursday, Friday and Saturday of February (the 17th, 18th and 19th 2011), we'll be hosting our monthly bug hunt. For those of you unfamiliar with the event, each month, we organize the community to help reduce the number of open issues reported against the framework.
</blockquote>
<p>
Last month the event closed 24 issues with a tie for first. If you're wanting to get involved and close even more of <a href="http://framework.zend.com/issues/secure/IssueNavigator.jspa?requestId=11385&sorter/field=issuekey&sorter/order=ASC">those issues</a>, <a href="http://devzone.zend.com/article/13063-Announcing-the-February-2011-Zend-Framework-Bug-Hunt-">the post</a> has the steps you'll need (including filing a <a href="http://framework.zend.com/cla">CLA</a> with Zend).
</p>]]></description>
      <pubDate>Thu, 17 Feb 2011 06:58:01 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Gthub API: Issues List]]></title>
      <guid>http://www.phpdeveloper.org/news/15717</guid>
      <link>http://www.phpdeveloper.org/news/15717</link>
      <description><![CDATA[<p>
<i>Lorna Mitchell</i> has a handy tip for those PHPers out there that use Github and want to pull off the issues from their project's Issues List quickly and easily - <a href="http://www.lornajane.net/posts/2011/Github-API-Issues-List">use their API</a> (super simple).
</p>
<blockquote>
I looked around for some export functionality for github but I got a lot of posts complaining it wasn't there. Since I hate applications that take your data and refuse to let you remove it, I was disappointed by this news but further inspection showed that although there might be no "export from github" button, there's <a href="http://develop.github.com/p/issues.html">an API that more than has it covered</a>.
</blockquote>
<p>
She gives an example of how to fetch only the currently open issues (the important ones) and pull then back through the API as a JSON message. Her little code snippet uses <a href="http://php.net/file_get_contents">file_get_contents</a>, but this can obviously be adopted to whatever use you might want. You can find out more about the things you can do with the Github API on the <a href="http://develop.github.com">develop.github.com</a> site including features to work with organizations, users, pull requests and <a href="http://gist.github.com">gists</a>.
</p>]]></description>
      <pubDate>Tue, 11 Jan 2011 09:56:26 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Lukas Smith's Blog: Lets talk about JSON in Symfony2]]></title>
      <guid>http://www.phpdeveloper.org/news/15349</guid>
      <link>http://www.phpdeveloper.org/news/15349</link>
      <description><![CDATA[<p>
<i>Lukas Smith</i> has <a href="http://pooteeweet.org/blog/0/1850#m1850">a new post</a> to his blog looking at some of his experiences with working with JSON in the upcoming version of the Symfony framework (<a href="http://symfony-reloaded.org/">Symfony2</a>), specifically in using the <a href="http://github.com/knplabs/DoctrineUserBundle">DoctrineUserBundle</a> and load views via JSON.
</p>
<blockquote>
Unfortunately right now there are quite a few issues with taking a 3rd party Bundle which wasn't specifically build to be accessible via JSON. So in the end I build a <a href="http://gist.github.com/648702">MultiplexController</a> that can JSON-ify any controller. The name derives from the fact that it also supports calling multiple routes at once and returning all the data from all these routes in one request. But being good OSS citizens here at Liip, we decided to use this opportunity to try and come up with a more sustainable solution. The goal would be to make it essentially possible to have a 3rd party controller return JSON without having to do anything on the controller level.
</blockquote>
<p>
He talks about the "magic" that lets you define the output format you'd like and how it works on the backend with the templating system to use templates based on the requested file. He points out a few issues with the method - a form request problem and that there's no good way to call <a href="http://php.net/json_encode">json_encode</a> from inside a twig template (as well as redirecting after submission).
</p>]]></description>
      <pubDate>Thu, 28 Oct 2010 12:13:43 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Blue Parabola Blog: How do you measure 'contribution'?]]></title>
      <guid>http://www.phpdeveloper.org/news/12042</guid>
      <link>http://www.phpdeveloper.org/news/12042</link>
      <description><![CDATA[<p>
On the Blue Parabola blog <i>Keith Casey</i> <a href="http://blueparabola.com/blog/how-do-you-measure-contribution">asks the question</a> "how do you measure an individual's contribution?"
</p>
<blockquote>
In the past few weeks, I've been working fast and furious at getting <a href="http://web2project.net/">web2project</a> to our v1.0 milestone.  As part of that effort, I track open issues, problematic modules, community feedback via the forums, death threats via all methods, and other related aspects. 
</blockquote>
<p>
He suggests a few different ideas for measuring how much a user has contributed: lines of code, commit count, issues they've reported, number of issues closed or community involvement. Of course, none of these can truly measure how much an individual has participated in a project, especially since it could be a mix of several of them combined into a whole as the "involvement persona" of any given person.
</p>]]></description>
      <pubDate>Mon, 02 Mar 2009 08:45:19 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jonathan Street's Blog: MSN contact grab script included in 'meta' contact grabber]]></title>
      <guid>http://www.phpdeveloper.org/news/7837</guid>
      <link>http://www.phpdeveloper.org/news/7837</link>
      <description><![CDATA[<p>
In his search for "contact grabber" classes, <i>Jonathan Street</i> <a href="http://torrentialwebdev.com/blog/archives/97-MSN-contact-grab-script-included-in-meta-contact-grabber.html">came across</a> one posted to the PHPClasses.org website recently, the <a href="http://www.phpclasses.org/browse/package/3895.html">Contact Grabber</a> class, and decided to give it a shot and report back his findings.
</p>
<blockquote>
I haven't tried it yet but apparently it can connect to hotmail, yahoo, gmail, orkut, rediff and myspace. It is an impressive collection of scripts. [...] Generally speaking I wouldn't have a problem with the script being included in another project. In fact I would encourage it. In this instance though there are a few problems.
</blockquote>
<p>
He breaks it up into a few different kinds of <a href="http://torrentialwebdev.com/blog/archives/97-MSN-contact-grab-script-included-in-meta-contact-grabber.html">issues</a>: inaccuracies, updates, licensing problems, and that the author wouldn't make contact back to <i>Jonathan</i> about some of his problems.
</p>]]></description>
      <pubDate>Mon, 14 May 2007 12:38:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Esser's Blog: Month of PHP Bugs Kicks Off]]></title>
      <guid>http://www.phpdeveloper.org/news/7365</guid>
      <link>http://www.phpdeveloper.org/news/7365</link>
      <description><![CDATA[<p>
<i>Stefan Esser</i> has <A href="http://blog.php-security.org/archives/73-The-Month-of-PHP-Bugs-Day-1.html">officially kicked off</a> his "Month of PHP Bugs" for the month of March (get more details <a href="http://www.phpdeveloper.org/news/7234">here</a>).
</p>
<blockquote>
You might have realised it already. March 2007 has begun and so has the long awaited Month of PHP Bugs. The initiative is hosted on dedicated servers, because serendipity cannot handle the traffic. You can reach it at <a href="http://www.php-security.org/">http://www.php-security.org</a>.
</blockquote>
<p>
As of the time of this post, there are currently three bugs <a href="http://www.php-security.org/">posted</a> - two dealing with stack overflows (one in the variable destructor and one in the executor) and a overflow issue in the ZVAL reference counter. Detailed descriptions of the issues are just a click away and, where is it needed, an explain example is provided.
</p>]]></description>
      <pubDate>Thu, 01 Mar 2007 09:15:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[The Register: PHP apps: security's low-hanging fruit]]></title>
      <guid>http://www.phpdeveloper.org/news/7084</guid>
      <link>http://www.phpdeveloper.org/news/7084</link>
      <description><![CDATA[<p>
There's <a href="http://www.theregister.co.uk/2007/01/11/php_apps_security/">a new article</a> on The Register about a topic that's constantly argued in any language, much less PHP - application security.
</p>
<blockquote>
PHP has become the most popular application language on the web, but common security mistakes by developers are giving PHP a bad name. Here's how PHP coding errors have become the new low-hanging fruit for attackers, contributing to the phishing problems on the web.
</blockquote>
<p>
They <a href="http://www.theregister.co.uk/2007/01/11/php_apps_security/">talk first</a> about the "great rise of PHP" on the web and how this surge of popularity also helped to show the great number of PHP security issues - both in applications written in it and in the language itself.
</p>
<p>
There's a mention of some of the upheaval that the PHP security community has had this year as well. They talk about the security of a LAMP installation versus a Windows machine, and their suggestions on helping to make the PHP world a better place.
</p>]]></description>
      <pubDate>Fri, 12 Jan 2007 08:37:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: PHP 4.4.4 and PHP 5.1.5 Released]]></title>
      <guid>http://www.phpdeveloper.org/news/6067</guid>
      <link>http://www.phpdeveloper.org/news/6067</link>
      <description><![CDATA[<p>
The latest version of both major branches of PHP have been released - PHP 4.4.4 and PHP 5.1.5 - fixing some of the major security problems that have been found in recent versions.
</p>
<blockquote>
PHP development team would like to announce the immediate availability of PHP <a href="http://www.php.net/downloads.php#v5">5.1.5</a> and <a href="http://www.php.net/downloads.php#v4">4.4.4</a>. The two releases address a series of security problems discovered since PHP 5.1.4 and 4.4.3, respectively. 
</blockquote>
<p>
Some of these problems included:
<ul>
<li>Added missing safe_mode/open_basedir checks inside the error_log(), file_exists(), imap_open() and imap_reopen() functions.
<li>Fixed possible open_basedir/safe_mode bypass in cURL extension and on PHP 5.1.5 with realpath cache.
<li>Fixed a buffer overflow inside sscanf() function.
<li>Fixed memory_limit restriction on 64 bit system.
</ul>
</p>
<p>
All information about the updates for these versions can be found in the Changelogs - <a href="http://www.php.net/ChangeLog-4.php#4.4.3">PHP 4.4.4</a> and <a href="http://www.php.net/ChangeLog-5.php#5.1.5">PHP 5.1.3</a>. It's recommnded that you <a href="http://www.php.net/downloads.php">download these new versions</a> and update your installation.
</p>]]></description>
      <pubDate>Thu, 17 Aug 2006 13:58:17 -0500</pubDate>
    </item>
  </channel>
</rss>

