<?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>Tue, 21 May 2013 21:22:49 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NetTuts.com: Round Table #1: Should Exceptions Ever be Used for Flow Control?]]></title>
      <guid>http://www.phpdeveloper.org/news/19376</guid>
      <link>http://www.phpdeveloper.org/news/19376</link>
      <description><![CDATA[<p>
On the NetTuts.com site today they've <a href="http://net.tutsplus.com/articles/general/round-table-1-should-exceptions-ever-be-used-for-flow-control/">posted the transcript</a> of a panel discussion they had with several developers about exceptions and whether or not they should be used for flow control.
</p>
<blockquote>
I'm pleased to release our first ever round table, where we place a group of developers in a locked room (not really), and ask them to debate one another on a single topic. In this first entry, we discuss exceptions and flow control.
</blockquote>
<p>
The opinions vary among the group as to what exceptions should be used for (even outside of the flow control topic). Opinions shared are things like:
</p>
<ul>
<li>Exceptions are situations in your code that you should never reach
<li>Errors cause Failures and are propagated, via Exceptions.
<li>So, essentially, exceptions are an "abstraction" purely to model the abnormality.
<li>Personally, I envision exceptions more as "objections." 
<li>Exceptions like this should be caught at some point and transformed into a friendly message to the user.
</ul>
<p>
There's lots more than this in <a href="http://net.tutsplus.com/articles/general/round-table-1-should-exceptions-ever-be-used-for-flow-control/">the full discussion</a> so head over and read it all - there's definitely some good points made.
</p>]]></description>
      <pubDate>Thu, 28 Mar 2013 10:20:39 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[/Dev/Hell Podcast: Episode 29: Snappy Answers to Stupid Questions]]></title>
      <guid>http://www.phpdeveloper.org/news/19297</guid>
      <link>http://www.phpdeveloper.org/news/19297</link>
      <description><![CDATA[<p>
The /Dev/Hell podcast has posted the latest episode of their podcast (as hosted by <i>Chris Hartjes</i> and <i>Ed Finkler</i>) - <a href="http://devhell.info/post/2013-03-07/snappy-answers-to-stupid-questions/">Episode #29</a>, "Snappy Answers to Stupid Questions".
</p>
<blockquote>
Being totally out of ideas, we turned things over to our legions of fans who joined us on <a href="http://webchat.freenode.net/?channels=devhell&uio=d4">IRC</a>. Lots of interesting questions, and people learned what Ed thought was horseshit.
</blockquote>
<p>
As you can imagine, there's lots of topics covered including some discussion of PHP IDEs, if PHP has <a href="http://sloblog.io/~zynisch/qI3DyGJd0yo/php-has-reached-its-limit">reached its limit</a> and <a href="https://plus.google.com/110981030061712822816/posts/KaSKeg4vQtz">liberal versus conservative programmers</a>. You can listen to this latest episode either through the <a href="http://devhell.info/post/2013-03-07/snappy-answers-to-stupid-questions/">in-page player</a>, by <a href="http://devhell.s3.amazonaws.com/ep29-64mono.mp3">downloading the mp3</a> or by <a href="http://feeds.feedburner.com/devhell-podcast">subscribing to their feed</a>.
</p>]]></description>
      <pubDate>Mon, 11 Mar 2013 10:44:22 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Town Hall Podcast: Episode #2 - Talk about PHP 5.5]]></title>
      <guid>http://www.phpdeveloper.org/news/18856</guid>
      <link>http://www.phpdeveloper.org/news/18856</link>
      <description><![CDATA[<p>
The latest episode of the PHP Town Hall podcast has been release - <a href="http://phptownhall.com/blog/2012/12/04/episode-2-php-5.5/">Episode #2</a>, "a Node Hipster, Beardy Python Fan, PHP Contributor and a Bristolian Talk About PHP 5.5"
</p>
<blockquote>
We're back for an "IRL" episode, with <a href="https://twitter.com/zackkitzmiller">Zack Kitzmiller</a>, <a href="https://twitter.com/seejohncode">John Crepezzi</a> and <a href="https://twitter.com/ircmaxell">Anthony Ferrera</a>, discussing PHP 5.5 and the new features it will bring.
</blockquote>
<p>
You can listen to this latest episode through the <a href="http://phptownhall.com/blog/2012/12/04/episode-2-php-5.5/">in-page player</a>, by <a href="http://s3.amazonaws.com/phptownhall/2.mp3">downloading the mp3</a> or by <a href="http://phptownhall.com/atom.xml">subscribing to their feed</a> to get the latest as they're released.
</p>]]></description>
      <pubDate>Thu, 06 Dec 2012 13:57:09 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Jones: How (and when) to move users to mysqli and PDO_MYSQL?]]></title>
      <guid>http://www.phpdeveloper.org/news/18803</guid>
      <link>http://www.phpdeveloper.org/news/18803</link>
      <description><![CDATA[<p>
Related to a recent discussion on the <a href="http://news.php.net/php.internals">php.internals</a> mailing list, <i>Chris Jones</i> has <a href="https://blogs.oracle.com/opal/entry/how_and_when_to_move">posted about moving away from the MySQL extension</a> in favor of the MySQLi functionality and the effort bubbling up to make the old functionality <a href="https://wiki.php.net/rfc/mysql_deprecation">deprecated</a>.
</p>
<blockquote>
An important discussion on the PHP "internals" development mailing list is taking place. It's one that you should take some note of. It concerns the next step in transitioning PHP applications away from the very old mysql extension and towards adopting the much better mysqli extension or PDO_MYSQL driver for PDO. This would allow the mysql extension to, at some as-yet undetermined time in the future, be removed.
</blockquote>
<p>
He links to a <a href="https://wiki.php.net/rfc/mysql_deprecation">RFC</a> that's been posted to help promote and push this idea forward with mentions of the "carrot" and "stick" methods for pushing users towards <a href="http://php.net/mysqli">mysqli</a>.
</p>
<blockquote>
As always, there is a lot of guesswork going on as to what MySQL APIs are in current use by PHP applications, how those applications are deployed, and what their upgrade cycle is. [...] I want to repeat that no time frame for the eventual removal of the mysql extension is set. I expect it to be some years away.
</blockquote>]]></description>
      <pubDate>Mon, 26 Nov 2012 11:04:25 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Reddit.com: What would you consider to be 'advanced PHP skills?']]></title>
      <guid>http://www.phpdeveloper.org/news/18564</guid>
      <link>http://www.phpdeveloper.org/news/18564</link>
      <description><![CDATA[<p>
On Reddit.com there's an interesting discussion going on about what's <a href="http://www.reddit.com/r/PHP/comments/10m9z3/what_would_you_consider_to_be_advanced_php_skills/">considered to be 'advanced skills'</a> for a PHP developer to have.
</p>
<blockquote>
I'm going to throw out here some potential advanced skills from off the top of my head - not at all a complete list.... PHP objects? PHP regular expressions? Frameworks? Security measures? Ability to use PHP to do cool things like recursive node walking of XML files? Use of third party libraries? Or would you add something else entirely? Just curious, because I'm looking for work and want to know if I can reasonably bill myself as having advanced PHP skills. Thanks for the input!
</blockquote>
<p>Responses cover a wide range of topics including:</p>
<ul>
<li>the Zend Certification(s)
<li>Clean, easy to understand coding practices
<li>How to effectively test your applications
<li>Addressing security concerns
</ul>]]></description>
      <pubDate>Fri, 05 Oct 2012 12:56:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[P&aacute;draic Brady: PHP Escaper RFC: Consistent Escaping Functionality For Killing XSS]]></title>
      <guid>http://www.phpdeveloper.org/news/18496</guid>
      <link>http://www.phpdeveloper.org/news/18496</link>
      <description><![CDATA[<p>
There's been a lot of chatter about a recent RFC from <i>P&aacute;draic Brady</i> on the php.internals maling list - his proposal to add native escaping to the PHP core. He <a href="http://blog.astrumfutura.com/2012/09/php-esaper-rfc-consistent-escaping-functionality-for-killing-xss/">shares some of his own thoughts</a> about the proposal in a new post to his site.
</p>
<blockquote>
A short time ago today, I <a href="https://wiki.php.net/rfc/escaper">submitted a PHP RFC</a> for discussion which proposes adding an SPL Escaper class and, quite possibly, a related set of functions dedicated to escaping data for output to HTML/XML to PHP: <a href="https://wiki.php.net/rfc/escaper">https://wiki.php.net/rfc/escaper</a>. The RFC itself should be a good read if you want to understand why I'm proposing this but the basics are quite simple. Cross-Site Scripting (XSS) is one of the two most common security vulnerabilities in web applications - the other being SQL Injection. Despite this, PHP's offering of escaping functions is extremely limited. 
</blockquote>
<p>
He talks about what problems the proposed solution solves and how it could help protect PHP programmers more effectively than the more complicated methods they have to go through now. If you're interested in reading the conversations so far, you can <a href="http://news.php.net/php.internals/63049">start here</a> and walk through the messages.
</p>]]></description>
      <pubDate>Wed, 19 Sep 2012 13:02:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Reddit.com: Login Security (Best Practices Recommendations)]]></title>
      <guid>http://www.phpdeveloper.org/news/18359</guid>
      <link>http://www.phpdeveloper.org/news/18359</link>
      <description><![CDATA[<p>
On Reddit.com there's a good conversation going on in the PHP category about <a href="http://www.reddit.com/r/PHP/comments/y4wuc/login_security/">login security</a> and best practices surrounding it.
</p>
<blockquote>
So I was handed an ancient project which was up to me to fix / improve. About a week later I am about done but there is 1 thing I left...Login security. As it is now, it's just md5(password) that's saved in the database. Better then nothing, but far from good enough. My plan was to have a constant pepper in the class which handles the logins, then do something like crypt(pepper . $password) to store it, since that should generate a random salt and is slower then sha1 / md5 / etc. I feel this should be save enough, do any of you have any ideas on how to improve it (without non-standard extensions)?
</blockquote>
<p>
There's lots of <a href="http://www.reddit.com/r/PHP/comments/y4wuc/login_security/#comments">comments</a> so far and a lot of them are following along the same lines - use a better method of encryption, something like <a href="http://php.net/manual/en/function.crypt.php">crypt</a> with Blowfish or something similar as well as some hashing (like <a href="http://php.net/manual/en/function.hash-hmac.php">HMAC</a>). 
</p>]]></description>
      <pubDate>Tue, 14 Aug 2012 12:20:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Voices of the ElePHPant Podcast: It's the booze talking, episode 03: APIs]]></title>
      <guid>http://www.phpdeveloper.org/news/18140</guid>
      <link>http://www.phpdeveloper.org/news/18140</link>
      <description><![CDATA[<p>
The Voices of the ElePHPant podcast has released their latest episode in the "It's the Booze Talking" series. In this new episode (Ep. #3) the group <a href="http://voicesoftheelephpant.com/2012/06/26/its-the-booze-talking-episode-03-apis/">talks about APIs</a>. The host this time is <i>Keith Casey</i>.
</p>
<p>
They talk about common problems and solutions around their company's APIs (and others they've dealt with). They cover one of the most important part of any API's structure, security, and different methods of handling it (HMAC, Oauth, etc).
</p>
<p>
Others involved in the discussion are <a href="http://www.jasonawesome.com/">Jason Austin</a>, <a href="http://www.brandonmwest.com/">Brandon West</a>, <a href="http://cdatazone.org/index.php?/authors/1-Rob-Richards">Rob Richards</a> and <a href="http://bestoked.blogspot.com/">Luke Stokes</a>. You can listen to this latest episode either through the <a href="http://voicesoftheelephpant.com/2012/06/26/its-the-booze-talking-episode-03-apis/">in-page player</a>, by <a href="http://voices.of.the.elephpant.s3.amazonaws.com/vote_058.mp3">downloading the mp3</a> or by <a href="http://voicesoftheelephpant.com/feed/podcast/">subscribing to their feed</a>.
</p>]]></description>
      <pubDate>Tue, 26 Jun 2012 11:03:39 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Anthony Ferrara's Blog: Open Standards - The Better Way]]></title>
      <guid>http://www.phpdeveloper.org/news/17999</guid>
      <link>http://www.phpdeveloper.org/news/17999</link>
      <description><![CDATA[<p>
In <a href="http://blog.ircmaxell.com/2012/05/open-standards-better-way.html">this new post</a> to his blog <i>Anthony Ferrara</i> responds to some of the recent news about PHP standards being up for voting (PSR-1 and PSR-2). He has an issue with how they were created, though, and notes that the current PSR process doesn't encourage open standards.
</p>
<blockquote>
There has been a lot of traction lately on the topic of the PSR "PHP Framework Interoperability Group". They are introducing two new proposed standards: PSR-1and PSR-2, both dealing with code formatting standards. [...] I have read both, and actually agree and think they are quite good. However, there's a deeper problem. Open Standards is something that the internet was built upon. From HTTP, E-Mail and HTML to ECMA Script (JavaScript), OAuth and JSON, open standards are everywhere. The problem with the entire PSR process is that it is not designed to produce open standards. 
</blockquote>
<p>
He describes an "open standard" and points to <a href="http://tools.ietf.org/html/rfc2026#section-6">this RFC</a> as an example of the open process they should result from. He talks about the importance of the process and how having more people reviewing and contributing their ideas could help find issues in the proposal. He issues a "call to the PSR team" to adopt this practice, allowing a more open flow to the ideas that are being proposed. 
</p>
<blockquote>
Note that I'm not asking to open the vote to anyone else. I'm not saying that standards should be approved by everyone in the community. There should still be a standards body that makes the final decision. But they should make that decision based on community input. They should actively look for and encourage open discussion prior to voting. 
</blockquote>]]></description>
      <pubDate>Thu, 24 May 2012 08:18:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Voices of the ElePHPant Podcast: FIG, FUD & FOMO]]></title>
      <guid>http://www.phpdeveloper.org/news/17893</guid>
      <link>http://www.phpdeveloper.org/news/17893</link>
      <description><![CDATA[<p>
On the Voices of the ElePHPant podcast, the latest episode has been released - <a href="http://voicesoftheelephpant.com/2012/05/01/fig-fud-fomo/">FIG, PUD & FOMO</a>, a discussion with members of the PHP Standards Group: <i>Matthew Weier O'Phinney</i>, <i>Jeremy Lindblom</i> and <i>Paul Jones</i>.
</p>
<p>
<i>Cal</i>'s questions center around the Standards group and what kinds of discussions they have about the language and the progress the group has made so far (like PSR-0):
<ul>
<li>What's the purpose of the group?
<li>Is the purpose of this group to take PHP from everyone's hands and enforce the "one true grace" on everyone?
<li>Is the group fulfilling its purpose or is it wandering off the path?
</ul>
<p>
You can listen to this latest episode either via the <a href="http://voicesoftheelephpant.com/2012/05/01/fig-fud-fomo/">in-page player</a>, by <a href="http://voices.of.the.elephpant.s3.amazonaws.com/vote_050.mp3">downloading the mp3</a> or <a href="http://voicesoftheelephpant.com/feed/podcast/">subscribing to their feed</a>.
</p>]]></description>
      <pubDate>Tue, 01 May 2012 14:01:25 -0500</pubDate>
    </item>
  </channel>
</rss>
