<?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>Thu, 24 May 2012 15:32:14 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPMaster.com: 10 Tips for Better Coding]]></title>
      <guid>http://www.phpdeveloper.org/news/18001</guid>
      <link>http://www.phpdeveloper.org/news/18001</link>
      <description><![CDATA[<p>
PHPMaster.com has a new post with <a href="http://phpmaster.com/10-tips-for-better-coding/">ten helpful tips</a> for you to consider using during your development. These tips can help to not only make your current development simpler but make for easier to maintain, stronger code in the future.
</p>
<blockquote>
Good code is maintainable, reusable, and testable. The following tips address how you and/or your development team can handle various coding tasks and how to keep everything as neat as possible. I will introduce you to some "best practices" that will help you write better code and help make you and your team happy and efficient.
</blockquote>
<p>Among the suggestions on the list, there's things like:</p>
<ul>
<li>Use a Coding Standard
<li>Refactor
<li>Use Meaningful Names
<li>Use Automated Build Tools
<li>Use a Testing Framework
</ul>
<p>
Links are provided in several of the tips to other resources/tools that can provide you with more information about how to use it in your development.
</p>]]></description>
      <pubDate>Thu, 24 May 2012 10:30:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[BinaryTides.com: 40+ Techniques to enhance your php code (3 Part Series)]]></title>
      <guid>http://www.phpdeveloper.org/news/17802</guid>
      <link>http://www.phpdeveloper.org/news/17802</link>
      <description><![CDATA[<p>
On the BinaryTides blog there's a <a href="http://www.binarytides.com/blog/tag/php-advanced-techniques/">series of posts</a> that share some tips and suggestions aimed at helping you and your code be the best they can be - things to enhance your application (including suggestions not just about code but also about environment and development practices).
</p>
<p>
The <a href="http://www.binarytides.com/blog/35-techniques-to-enhance-your-php-code/">three</a> <a href="http://www.binarytides.com/blog/40-techniques-to-enhance-your-php-code-part-2/">posts</a> <a href="http://www.binarytides.com/blog/40-techniques-to-enhance-your-php-code-part-3/">in the series</a> include tips like:
</p>
<ul>
<lI>Maintain debugging environment in your application
<li>Collect all output at one place , and output at one shot to the browser
<li>Set the correct character encoding for a mysql connection
<li>Do not gzip output in your application , make apache do that
<li>Don't check submit button value to check form submission
<li>Process arrays quickly with array_map
<li>Avoid direct SQL query , abstract it
<li>Never set error_reporting to 0
<li>Make a portable function for executing shell commands
</ul>
<p>
Obviously, not all of these will apply in all situations, but they're an interesting list. Most will come with good explanations and code samples when appropriate.
</p>]]></description>
      <pubDate>Wed, 11 Apr 2012 09:52:57 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: Thoughts on Testing APIs]]></title>
      <guid>http://www.phpdeveloper.org/news/17575</guid>
      <link>http://www.phpdeveloper.org/news/17575</link>
      <description><![CDATA[<p>
In <a href="http://www.littlehart.net/atthekeyboard/2012/02/22/thoughts-on-testing-apis/">this new post</a> to his blog <i>Chris Hartjes</i> offers up a few of his own thoughts about testing APIs and some of the issues/concerns he's come across in his own testing (via <a href="http://behat.org/">Behat</a>).
</p>
<blockquote>
I have been asked a few times on Twitter for some advice on how to use testing tools in order to test APIs. It just so happens that I am writing a bunch of tests for an API at work so perhaps this is a very timely blog post. [...] When you are testing an API you main concern is your ability to reproduce the results of a specific API call. If your API is such that repeating a call several times will give you different results, you do have some challenges on your hands.
</blockquote>
<p>
He talks about functional testing, the "moving parts" they involve, using only known data sources and the creation of integration tests. He also mentions the testing of your local application to ensure it's handling (or transforming) the results of the API calls into something useful.
</p>
<blockquote>
In the end, it doesn't really matter what tools you are using to test either your own APIs or ones that your application depends on. Be clear in your mind about what it is you are actually trying to accomplish and don't get create tests that provide very little value to your application.
</blockquote>]]></description>
      <pubDate>Thu, 23 Feb 2012 08:53:14 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Artur Ejsmont's Blog: A few words on bugs and software quality]]></title>
      <guid>http://www.phpdeveloper.org/news/17519</guid>
      <link>http://www.phpdeveloper.org/news/17519</link>
      <description><![CDATA[<p>
In <a href="http://artur.ejsmont.org/blog/content/a-few-words-on-bugs-and-software-quality">this new post</a> to his blog <i>Artur Ejsmont</i> shares some of his thoughts on bugs and how they can effect the quality of your software. He touches on topics like handling bug reports, how random code changes effect them and how effective a code review can be.
</p>
<blockquote>
From time to time I see bugs in the code and I start thinking "really? is it possible that no one noticed that bug before? am i the first person to see this code?". I thought it might be worth writing a little post on what helps me to deal with bugs and software quality in general and what are the common pitfalls in developer's thought process. Although it is not a very extensive post i hope it may inspire some developers to try new approaches.
</blockquote>
<p>
Other topics he offers for consideration involve the fact that bugs will never fix themselves (they might disappear in a refactor though), that the bug is almost never in the language/data source's code and how automated (unit) testing can help to find new bugs before they're released to the users.
</p>]]></description>
      <pubDate>Wed, 08 Feb 2012 13:50:40 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: Better Remote Code Development]]></title>
      <guid>http://www.phpdeveloper.org/news/17359</guid>
      <link>http://www.phpdeveloper.org/news/17359</link>
      <description><![CDATA[<p>
<i>Chris Hartjes</i> is <a href="http://www.littlehart.net/atthekeyboard/2012/01/05/better-remote-code-development/">asking for suggestions</a> to help solve a common problem for developers (remote or otherwise) that have to develop in a non-local setup: a better method for remote code development.
</p>
<blockquote>
I've been playing around with <a href="http://www.sublimetext.com/">Sublime Text</a> (because of the awesome vim bindings) and was thinking about why do I always have to be logged into the remote server to do my work. Normally I connect using SSH, then attach to my <a href="http://tmux.sourceforge.net/">tmux</a> session and then fire up vim. This is okay but it lacks a certain elegance in it's approach. [...] What I'm chafing against is having to deal with multiple environments all the time to get my work done.
</blockquote>
<p>
His ultimate goal is to be able to update and commit code without having to be logged into the remote server - essentially to replicate the local development experience regardless of the underlying technology. Have a suggestion or a method that's currently working for you? <a href="http://www.littlehart.net/atthekeyboard/2012/01/05/better-remote-code-development/#comments">Leave him a comment</a>!
</p>]]></description>
      <pubDate>Fri, 06 Jan 2012 11:02:55 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[7php.com: Building Your PHP Geek Cred To Publicly Be An Awesome PHP Developer]]></title>
      <guid>http://www.phpdeveloper.org/news/17356</guid>
      <link>http://www.phpdeveloper.org/news/17356</link>
      <description><![CDATA[<p>
On the 7php.com blog <i>Khayrattee Wasseem</i> has <a href="http://7php.com/building-your-php-geek-cred-to-publicly-be-an-awesome-php-developer/">a few suggestions</a> about how to "build your geek cred" as a PHP developer - suggestions of resources and things you can do to get more involved in the language and its community.
</p>
<blockquote>
If you've read the <a href="http://www.phparch.com/magazine/2011-2/march/">PHP|Architect Magazine - March 2011 Edition</a>, you have surely enjoyed the nice article by Jason Austin (a PHP developer from Raleigh, NC) titled "<a href="http://www.jasonawesome.com/2011/04/01/phparchitect-article-good-php-help-is-hard-to-find/">Good PHP help is hard to find</a>". Jason talks about 'the why' and 'the how' to distinguish yourself as a qualified PHP Professional from the crowd. And the way to do that is: "You have to build your geek cred". I think he did a brilliant job with the article.
</blockquote>
<p>Some of <i>Khayrattee</i>'s suggestions include (each rated with a number of "cred points"):</p>
<ul>
<li>Get certified with recognised certifications like the Zend Certified Engineer program
<li>Start a PHP meetup group near you
<li>Sign up to attend PHP conferences around the world
<li>Blog about PHP { have a blog dedicated to it }
</ul>]]></description>
      <pubDate>Fri, 06 Jan 2012 08:50:12 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Bradley Holt's Blog: The Twelve-Factor App Applied to PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17188</guid>
      <link>http://www.phpdeveloper.org/news/17188</link>
      <description><![CDATA[<p>
Recently a site called <a href="http://www.12factor.net/">The Twelve Factor App</a> surfaced as a guideline for web applications to be at their best. <i>Bradley Holt</i> has taken these suggestions and has <a href="http://bradley-holt.com/2011/11/the-twelve-factor-app-applied-to-php/">applied them to PHP applications</a> in a few quick comments to each point.
</p>
<blockquote>
If you develop web apps, I encourage you to check out <a href="http://www.12factor.net/">The Twelve-Factor App</a>. This is an excellent resource for anyone building and deploying software-as-a-service. PHP has great support for many of the twelve-factors. I want to take a look at specifically how each factor may be applied to a PHP application.
</blockquote>
<p>
Some of the points the Twelve-Factor App makes aren't entirely relevant to PHP (like "Backing Services") but <i>Bradley</i> gets into details on others, providing technology that can be used to fill the need.
</p>]]></description>
      <pubDate>Wed, 30 Nov 2011 10:14:49 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Marco Tabini's Blog: Suggestions for a younger developer]]></title>
      <guid>http://www.phpdeveloper.org/news/16855</guid>
      <link>http://www.phpdeveloper.org/news/16855</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Marco Tabini</i> offers some quick advice to younger developers looking to make their mark in their profession (PHP-related or not). He <a href="http://blog.tabini.ca/2011/09/suggestions-for-a-younger-developer/">shares five tips</a> to keep in mind as you hone your process and write your code.
</p>
<blockquote>Every now and then, I get asked by developers who are just getting started in the trade if I have any suggestions to help them out - favourite language, tips and tricks, and the like. None of these things matter, really, but there are a few things I wish I had known when I started out that have nothing to do with the mechanics of software development.
</blockquote>
<p>His tips each come with a paragraph or so of explanation:</p>
<ul>
<li>Be humble
<li>There is no magic
<li>Programming is a craft, not an art
<li>Software solves problems
<li>Code doesn't leave sawdust
</ul>]]></description>
      <pubDate>Wed, 14 Sep 2011 08:54:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Factor3 Blog: Web Frameworks]]></title>
      <guid>http://www.phpdeveloper.org/news/16718</guid>
      <link>http://www.phpdeveloper.org/news/16718</link>
      <description><![CDATA[<p>
<i>Chris Anstey</i> has a new post to his blog with <a href="http://www.factor3.co.uk/blog/web-frameworks">some of his suggestions</a> to framework developers out there (those writing frameworks, not writing applications with them). He mentions some of the criteria he believes frameworks should have.
</p>
<blockquote>
 A framework provides you with many of the common components required to develop a website - for example, database access, templating systems and authorization systems. [...] These frameworks are all open source - which means that anyone can review and suggest improvements to the code.  Using a framework provides you with many benefits.
</blockquote>
<p>He suggests that a framework should be:</p>
<ul>
<li>Time-saving
<li>Reliable
<li>Adherent to well-structured patterns
<li>Fostering a good community
<li>Not too difficult to learn
<li>Well-performing (and easy to extend with something like caching)
</ul>]]></description>
      <pubDate>Mon, 15 Aug 2011 11:29:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brian Swan's Blog: PHP Driver for SQL Server - Request for Feature Feedback]]></title>
      <guid>http://www.phpdeveloper.org/news/16596</guid>
      <link>http://www.phpdeveloper.org/news/16596</link>
      <description><![CDATA[<p>
<i>Brian Swan</i> is <a href="http://blogs.msdn.com/b/brian_swan/archive/2011/07/14/php-driver-for-sql-server-request-for-feature-feedback.aspx">asking for user feedback</a> about the future of the Microsoft's SQL Server driver for PHP based on <a href="http://blogs.msdn.com/b/sqlphp/archive/2011/07/14/feature-feedback.aspx">a post</a> in the team's blog.
</p>
<blockquote>
I want to make sure that his request gets in front of lots of eyes, so I'm re-posting his request here (below). Jonathan included some links in his post so you can learn more about what the team is considering for the next release of the driver, but he didn't elaborate on "Buffered Queries". 
</blockquote>
<p>
They <a href="http://blogs.msdn.com/b/sqlphp/archive/2011/07/14/feature-feedback.aspx">suggest</a> a few features and ask for choices on which would be the most important to you as a developer - Always On support, SQL Server Serverless Express support, Buffered queries and LOB streaming support in PDO_SQLSRV. To give feedback, send an email to the address mentioned <a href="http://blogs.msdn.com/b/sqlphp/archive/2011/07/14/feature-feedback.aspx">in the post</a> or on <a href="https://twitter.com/#%21/kop48">twitter</a>/<a href="http://social.msdn.microsoft.com/Forums/en-US/sqldriverforphp/">their forums</a>.
</p>]]></description>
      <pubDate>Fri, 15 Jul 2011 10:22:49 -0500</pubDate>
    </item>
  </channel>
</rss>

