<?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>Fri, 24 May 2013 17:59:09 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Brandon Savage: "Do This, Not That" Now Available!]]></title>
      <guid>http://www.phpdeveloper.org/news/18924</guid>
      <link>http://www.phpdeveloper.org/news/18924</link>
      <description><![CDATA[<p>
<i>Brandon Savage</i> has <a href="http://www.brandonsavage.net/do-this-not-that-now-available/">officially released his book</a>, "Do This, Not That" - a book targeted at beginners to the PHP language, trying to teach them best practices for some of the most common situations they might come across.
</p>
<blockquote>
Too many books on best practices read like a manual. They are dry, boring and cover topics that you don't care about. "Do This, Not That" is different. A collection of essays, it highlights those areas for which best practices are either not well known or not well defined. It offers clear solutions that will be easy to implement. I've taken the time to research and identify what I feel are the best practices, and condensed it into a two hour read that will leave you feeling empowered, not exhausted.
</blockquote>
<p>
If this sounds interesting to you, you can pick up a copy <a href="http://dothisnotth.at/">on the official site</a> for about $30 USD and, if you're more of a try-before-you-buy sort, you can <a href="http://dothisnotth.at/assets/samplechapter.pdf">read a sample chapter</a> covering type hinting.
</p>]]></description>
      <pubDate>Thu, 20 Dec 2012 10:50:36 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Joshua Thijssen: Introducing the REST cookbook]]></title>
      <guid>http://www.phpdeveloper.org/news/18886</guid>
      <link>http://www.phpdeveloper.org/news/18886</link>
      <description><![CDATA[<p>
In an effort to share the REST-related information he's been helping people out with over time, <i>Joshua Thijssen</i> has <a href="http://www.adayinthelifeof.nl/2012/12/12/introducing-the-rest-cookbook/">created a new resource</a> that's less about the basics of REST and more about how to handle specific situations - <a href="http://restcookbook.com/">restcookbook.com</a>.
</p>
<blockquote>
This is why I decided to setup a simple website, that pretty much tries to answer any question about REST.  It's not completed yet.. Actually, it hasn't got many posts to begin with :), but a start has been made and we will fill it with questions and answers about REST and HTTP issues.
</blockquote>
<p>As of the time of this post, it only has a few articles, but they're a good start like:</p>
<ul>
<li><a href="http://restcookbook.com/HTTP%20Methods/patch/">when to use PATCH</a>
<li><a href="http://restcookbook.com/HTTP%20Methods/400-vs-500/">when to send 400 or 500 codes</a>
<li><a href="http://restcookbook.com/HTTP%20Headers/acceptlanguage/">handling an unsatisfied accept-language header</a>
<li>
</ul>]]></description>
      <pubDate>Thu, 13 Dec 2012 10:18:57 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Brandon Savage: Private Methods Considered Harmful ("Do This, Not That" Excerpt)]]></title>
      <guid>http://www.phpdeveloper.org/news/18867</guid>
      <link>http://www.phpdeveloper.org/news/18867</link>
      <description><![CDATA[<p>
A while back <i>Brandon Savage</i> <a href="http://www.brandonsavage.net/introducing-do-this-not-that-for-php-developers/">mentioned a book he was writing</a> ("Do This, Not That") to help PHP developers learn some of the best practices associated with the language. Today he's <a href="http://www.brandonsavage.net/private-methods-considered-harmful/">posted an excerpt</a> from the book for your enjoyment.
</p>
<blockquote>
This great series of highly focused e-books will offer tips, tricks and best practices focused on core areas of PHP development, including databases, security, filtering, regular expressions, configuration and more. Since it will be a series of tightly targeted solutions, developers will be able to pick all, some or just one of the offerings that solves their specific problem(s).
</blockquote>
<p>
<a href="http://www.brandonsavage.net/private-methods-considered-harmful/">This excerpt</a> looks at private method use in your applications and why they could be considered "evil" if not used correctly.
</p>]]></description>
      <pubDate>Mon, 10 Dec 2012 11:26:42 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: PHPBestPractices.org - A Short Practical Guide]]></title>
      <guid>http://www.phpdeveloper.org/news/18396</guid>
      <link>http://www.phpdeveloper.org/news/18396</link>
      <description><![CDATA[<p>
There's another site tossing their hat into the "best practices in PHP" ring (the other being <a href="http://phptherightway.com">PHP The Right Way</a>) with what they call a "short, practical list for common and confusing tasks" in PHP - <a href="http://phpbestpractices.org/">PHPBestPractices.org</a>.
</p>
<blockquote>
[Outdated tutorials and information is] one of the reasons why new PHP programmers are so frequently blamed for ugly, outdated, or insecure code. They can't help it if the first Google result was a four year old article teaching a five year old method! This document tries to address that. It's an attempt to compile a set of basic instructions for what can be considered best practices for common and confusing issues and tasks in PHP. If a low-level task has multiple and confusing approaches in PHP, it belongs here.
</blockquote>
<p>The site has sections for topics like:</p>
<ul>
<li><a href="http://phpbestpractices.org/#mysql">PHP & MySQL</a>
<li><a href="http://phpbestpractices.org/#quotes">Single vs Double Quotes</a>
<li><a href="http://phpbestpractices.org/#regex">PHP regular expressions</a>
<li><a href="http://phpbestpractices.org/#validating-emails">Validating emails</a>
<li><a href="http://phpbestpractices.org/#checking-for-null">Checking null and false values</a>
</ul>
<p>
If you're interested in helping out and adding more content to the site, <a href="http://phpbestpractices.org/#maintainers">contain the maintainer</a> and let him know.
</p>]]></description>
      <pubDate>Thu, 23 Aug 2012 10:07:01 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Anthony Ferrara's Blog: The Secure Programmer's Pledge]]></title>
      <guid>http://www.phpdeveloper.org/news/18236</guid>
      <link>http://www.phpdeveloper.org/news/18236</link>
      <description><![CDATA[<p>
<i>Anthony Ferrara</i> has <a href="http://blog.ircmaxell.com/2012/07/secure-programmers-pledge.html">posted a pledge he recommends all developers take</a> to improve the security of their applications.
</p>
<blockquote>
Every day I come across code that is insecure. Sometimes the code is so hilariously insecure that any 10 year old could break it. I've also gotten into discussions with people who should know better about their practices. It's very, how to put this, disheartening. It's sad that the average developer knows (and cares) so little about proper security practices. So, I've put together a simple pledge (or manifesto, if you'd like).
</blockquote>
<p>
The pledge includes the ideas of data storage techniques, taking responsibility for user data, reusing existing/tested libraries instead of writing your own and being open to constantly learning. He elaborates on each point, giving a little context for each.
</p>
<blockquote>
Are you a secure programmer? Do you want to be? Then take the pledge, and fight for the security of your applications. It's all of our responsibility, so do your part!
</blockquote>]]></description>
      <pubDate>Tue, 17 Jul 2012 12:23:22 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: PHPEasy.co.uk Launched]]></title>
      <guid>http://www.phpdeveloper.org/news/18217</guid>
      <link>http://www.phpdeveloper.org/news/18217</link>
      <description><![CDATA[<i>Carl Gresswell</i> has put together a new site that aims to provided tutorials for budding PHP developers out there looking to advance their knowledge of the language and some of the best practices surrounding it - <a href="http://phpeasy.co.uk/">PHPEasy.co.uk</a>.
</p>
<blockquote>
I have created PHPeasy with the aim of providing tutorials, tips, code snippets and news on the subject of PHP.  I rarely get the opportunity to discuss PHP and share thoughts with other like minded developers, so I'm hoping that this blog will allow me to do that. I aim to provide resources that will be useful to coders of all levels, whether a newbie or master I'm hoping that there will be something for everyone.
</blockquote>
<p>
It's a relatively new site, but there's already a series posted (parts 1-3) about some of the basics of working with object-oriented programming in PHP:
</p>
<ul>
<li><a href="http://phpeasy.co.uk/tutorial-object-orientation-basics-part-1-classes-and-objects/">Classes and Objects</a>
<li><a href="http://phpeasy.co.uk/tutorial-object-orientation-basics-part-2-accessor-methods/">Accessor Methods</a>
<li><a href="http://phpeasy.co.uk/tutorial-object-orientation-basics-part-3-crud-and-pdo/">Connecting to MySQL using PDO</a>
</ul>]]></description>
      <pubDate>Thu, 12 Jul 2012 09:29:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: PHP, The Right Way Site Launches]]></title>
      <guid>http://www.phpdeveloper.org/news/18205</guid>
      <link>http://www.phpdeveloper.org/news/18205</link>
      <description><![CDATA[<p>
In response to some of the recent talk about the quality of PHP and some of the <a href="http://blog.ircmaxell.com/2012/07/true-problem-with-php.html">recent suggestions</a> about the right and wrong ways to write PHP, the <a href="http://www.phptherightway.com/">PHP The Right Way</a> site has been lunched.
</p>
<blockquote>
There's a lot of bad information on the Web (I'm looking at you, W3Schools) that leads new PHP users astray, propagating bad practices and bad code. This must stop. PHP: The Right Way is an easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative tutorials around the Web. It is important to understand there is no canonical way to use PHP. That's the beauty of it. This website introduces new PHP developers to best practices, available options, and good information.
</blockquote>
<p>
The site has some "getting started" tips for working with PHP 5.4, links to some of the current PSR standards and gets into some of the best practices for things like proper OOP structure, namespacing and using the SPL. There's also hints on using <a href="http://getcomposer.org">Composer</a> for package management, working with databases and some basic parts on security and testing.
</p>
<p>
Additionally, the site is also <a href="https://github.com/codeguy/php-the-right-way">an open source project</a> so you can contribute your own content (it'll have to be approved before merging) on topics you might not see or want to improve.
</p>]]></description>
      <pubDate>Tue, 10 Jul 2012 08:12:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Anson Cheung's Blog: Top 10 PHP Best Security Practices for Sys Admins]]></title>
      <guid>http://www.phpdeveloper.org/news/17467</guid>
      <link>http://www.phpdeveloper.org/news/17467</link>
      <description><![CDATA[<p>
In <a href="http://www.ansoncheung.tk/articles/top-10-php-best-security-practices-sys-admins">this recent post</a> to his blog <i>Anson Cheung</i> provides a set of helpful hints for sysadmins to follow when installing (or just securing) the PHP installations on their systems.
</p>
<blockquote>
PHP is widely used for various of web development. However, misconfigured server-side scripting would create all sorts of problem. And here are php security best practices that you should aware when configuring PHP securely. Nowadays most of the web servers are operated under Linux environment (like: Ubuntu, Debian...etc). Hence, in the following article, I am going to use list top 10 ways to enhance PHP Security Best Practices under Linux environment.
</blockquote>
<p>His tips include:</p>
<ul>
<li>Reducing the built-in PHP modules
<li>Logging all PHP errors
<li>Disabling remote code execution
<li>Disabling dangerous PHP functions 
<li>Write protection on Apache, PHP & MySQL configuration files
</ul>]]></description>
      <pubDate>Mon, 30 Jan 2012 14:52:26 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jason Gilmore's Blog: Sixteen Best Practices- and Productivity-Related PHP Tutorials]]></title>
      <guid>http://www.phpdeveloper.org/news/16336</guid>
      <link>http://www.phpdeveloper.org/news/16336</link>
      <description><![CDATA[<p>
<i>Jason Gilmore</i> has put together a list of <a href="http://www.wjgilmore.com/blog/entry/sixteen_best_practices-_and_productivity-related_php_tutorials">sixteen best practices</a> and tools you can use to help make your PHP development life easier and the quality of your code better.
</p>
<blockquote>
[I spent so] much time in fact that in 2010 I penned more than 130 articles. Many of these articles focused on PHP-specific best practices and productivity, two topics which should resonate closely with anybody involved in building websites for a living. So I thought it would be useful to compile a list of the sixteen tutorials which touch upon these topics. In this list you'll find tutorials introducing testing, debugging, advanced object-oriented features, code profiling, security, enforcing coding standards, and more. 
</blockquote>
<p>His list of articles includes:</p>
<ul>
<li><a href="http://www.phpbuilder.com/columns/10-Testing-Debugging-Tools/Jason_Gilmore11172010.php3?aid=1881">10 Productive PHP Tools for Testing and Debugging</a>
<li><a href="http://www.phpbuilder.com/columns/Jason_Gilmore061510.php3?aid=1834">Three Advanced Object-Oriented PHP Features You Need to Know</a>
<li><a href="http://www.phpbuilder.com/columns/PHP-Debugging/Jason_Gilmore11042010.php3?aid=1879">Four Sane Solutions for PHP Debugging</a>
<li><a href="http://www.phpbuilder.com/columns/PHP_CodeSniffer/Jason_Gilmore10212010.php3?aid=1877">Enforcing Coding Standards with PHP_CodeSniffer</a>
<li><a href="http://www.phpbuilder.com/columns/Jason_Gilmore052510.php3?aid=1825">Use PHPUnit to Implement Unit Testing in Your PHP Development</a>
</ul>]]></description>
      <pubDate>Fri, 13 May 2011 09:18:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: ZendCon Sessions Episode 042: Best Practices in PHP Application Deployment]]></title>
      <guid>http://www.phpdeveloper.org/news/16090</guid>
      <link>http://www.phpdeveloper.org/news/16090</link>
      <description><![CDATA[<p>
The Zend Developer Zone has posted their latest episode in the ZendCon Sessions series of podcasts today as recorded at the Zend/PHP Conference 2010. This new episode is <i>Shahar Evron</i>'s talk <a href="http://devzone.zend.com/article/13217-ZendCon-Sessions-Episode-042-Best-Practices-in-PHP-Application-Deployment">Best Practices in PHP Application Deployment</a>.
</p>
<blockquote>
Welcome to the ZendCon 2010 edition of the <a href="http://devzone.zend.com/podcasts/zendconsessions">ZendCon Sessions</a>. The ZendCon Sessions are live recordings of sessions that have been given at previous Zend Conferences. Combined with the slides, they can be the next best thing to having attended the conference itself. [...] This episode of The ZendCon Sessions was recorded live at <a href="http://zendcon.com/">ZendCon 2010</a> in Santa Clara, CA and features Shahar Evron giving his talk: "Best Practices in PHP Application Deployment"
</blockquote>
<p>
This new episode can be listened to in a few ways - either <a href="http://devzone.zend.com/article/13217-ZendCon-Sessions-Episode-042-Best-Practices-in-PHP-Application-Deployment">in-page</a>, <a href="http://devzone.zend.com/content/audio/zendcon_sessions/zendcon_sessions_podcast_042.mp3">downloaded</a> or by <a href="http://feeds.feedburner.com/zendcon_sessions?format=xml">subscribing to their feed</a>. You can also find the slides <a href="http://www.slideshare.net/shahar/best-practices-inphpappdeployment">on SlideShare</a>.
</p>]]></description>
      <pubDate>Wed, 23 Mar 2011 13:54:54 -0500</pubDate>
    </item>
  </channel>
</rss>
