<?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 20:04:56 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Volker Dusch: If it's not written in PHP it's irrelePHPant!]]></title>
      <guid>http://www.phpdeveloper.org/news/18773</guid>
      <link>http://www.phpdeveloper.org/news/18773</link>
      <description><![CDATA[<p>
<i>Volker Dusch</i> has a new <a href="http://edorian.posterous.com/if-its-not-written-in-php-its-irrelephpant">tongue-in-cheek post</a> to his site talking about a few pieces of useful software that are not written in PHP...and why not?
</p>
<blockquote>
Dear PHP Community, we need to have a talk about the insufferable state of your software stacks. It was recently brought to my attention that there is software out there, software we use every day!, that is NOT written in PHP. This is completely unacceptable! We are PHPeople! We're not "Web" Developers, we are the web. And we sure as hell are not some fancy "Software Developer", you can ask anyone on the internet! Seriously: If it's not PHP how will we ever be able to extend and adapt it to our needs! We are slaves of our tools!
</blockquote>
<p>
He mentions several tools that, yes, while not written in PHP are very useful to just about any developer out there (including git, Puppet and Apache). But, more seriously:
</p>
<blockquote>
PHP is a language that enables absolute beginners to start creating on the web using FTP and notepad! It let's us realize and validate our ideas blazingly fast and allows us to adapt our successful ideas to beautifully scale with our requirements providing and relying on solid, battle-proof tools.
</blockquote>]]></description>
      <pubDate>Tue, 20 Nov 2012 09:11:51 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Anthony Ferrara's Blog: To Comment Or Not To Comment - A Tale Of Two Stories]]></title>
      <guid>http://www.phpdeveloper.org/news/18066</guid>
      <link>http://www.phpdeveloper.org/news/18066</link>
      <description><![CDATA[<p>
In <a href="http://blog.ircmaxell.com/2012/06/to-comment-or-not-to-comment-tale-of.html">this recent post</a> to his blog <i>Anthony Ferrara</i> looks at commenting in your application's code and how to be effective (and not so effective) when using them.
</p>
<blockquote>
A few weeks ago I was sparked into a twitter conversation with Larry Garfield (<a href="https://twitter.com/#!/Crell">@Crell</a>) about the value of comments in code. [...] A pretty innocuous comment [about code that doesn't have comments] that is quite insightful. [...] That led to an interesting discussion that just couldn't fit on twitter. So let me explain...
</blockquote>
<p>
He defines what he means by "comments" (DocBlock, general comments and legal information) and what sort of things should be inside of them. He also points out a few things not to do in you comments including being overly descriptive and restating what the code is doing (they should be less about that and more about the "Why"). Of course, there's exceptions and he touches on those briefly to finish out the post.
</p>]]></description>
      <pubDate>Fri, 08 Jun 2012 11:02:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Phil Sturgeon's Blog: Why Write A New Framework?]]></title>
      <guid>http://www.phpdeveloper.org/news/16174</guid>
      <link>http://www.phpdeveloper.org/news/16174</link>
      <description><![CDATA[<p>
<i>Phil Sturgeon</i>, a developer on the <a href="http://fuelphp.com">Fuel framework project</a>, has a new post to his blog asking a common question of all developers that set out to make the "Next Big Framework" - <a href="http://philsturgeon.co.uk/blog/2011/04/why-write-a-new-framework">why write a new framework</a>?
</p>
<blockquote>
So we all know that the internet is full of frameworks. They've been the popular thing for the last 5 or 6 years and it seems to have become the "barrier for entry" or the "passage of rights" that 8 or 9 years ago used to be "hey I just wrote a phpBB clone!". There are plenty around but in this day in age, why would anyone write a new one? As somebody involved in a new PHP framework - <a href="http://fuelphp.com/">Fuel</a> - that has shaken a few opinions up I thought it would be interesting to share my thoughts and views on the situation.
</blockquote>
<p>
While he agrees that there are plenty of other frameworks out there, maybe too many to choose from, he thinks that there's value in making something that's useful to you and the toolsets you're already used to. One of their goals with Fuel is to "make PHP as fun to use" as possible and things like built-in migrations and scaffolding (along with a command-line tool, Oil) help towards that goal.
</p>
<blockquote>
A framework is essentially a way to put all of your best practises into a single place so that you can reuse them over and over again. This should make you more efficient and make your time more financially viable to clients. If the framework you use slows you down or does not cater for the way you like to develop then sack it off and do your own thing.
</blockquote>]]></description>
      <pubDate>Mon, 11 Apr 2011 11:30:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[CatsWhoCode.com: 10 super useful PHP snippets]]></title>
      <guid>http://www.phpdeveloper.org/news/16146</guid>
      <link>http://www.phpdeveloper.org/news/16146</link>
      <description><![CDATA[<p>
The CatsWhoCode.com blog has a new post today with what they call <a href="http://www.catswhocode.com/blog/10-super-useful-php-snippets">super useful PHP snippets</a> that could help you out in a pinch. 
</p>
<blockquote>
Having the right code snippet at the right time can definitely be a life saver for web developers. Today, I've compiled 10 really awesome PHP code snippets that will, I hope, be very helpful in your forthcomming developments.
</blockquote>
<p>Their list of ten includes bits of code for:</p>
<ul>
<li>Super simple page caching (file-based)
<li>Convert seconds to time (years, months, days, hours...)
<li>Get current weather using Google API
<li>Get latitude and longitude from an address
<li>Save url to PDF
</ul>]]></description>
      <pubDate>Tue, 05 Apr 2011 08:38:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer.com: 10 Powerful PEAR Packages]]></title>
      <guid>http://www.phpdeveloper.org/news/15526</guid>
      <link>http://www.phpdeveloper.org/news/15526</link>
      <description><![CDATA[<p>
On Developer.com there's <a href="http://www.developer.com/lang/php/10-pear-packages-for-every-php-developers-toolbox.html">a new article</a> with what they think are the top ten <a href="http://pear.php.net">PEAR</a> packages that every developer should know and use in their applications.
</p>
<blockquote>
PHP developers also have another community-driven treasure trove at their disposal, one which is host to almost 600 high-quality libraries yet never seems to garner the attention it deserves. I'm referring to the <a href="http://pear.php.net/">PHP Extension and Application Repository</a>, better known as PEAR, and in this article I'll try to shine the spotlight just a bit brighter on this fantastic community resource by highlighting 10 useful PEAR libraries (better known as packages) that have become an indispensable part of my programming toolkit.
</blockquote>
<p>Included in their list of "Top Ten" are things like:</p>
<ul>
<li>Authenticating Users with <a href="http://www.developer.com/lang/php/the%20http:/pear.php.net/package/Auth">Auth</a>
<li>Cleaning Up Your Code with <a href="http://pear.php.net/package/PHP_Beautifier/">PHP_Beautifier</a>
<li>Downloading Files with <a href="http://pear.php.net/package/HTTP_Download">HTTP_Download</a>
<li>Enforcing Coding Standards with <a href="http://pear.php.net/package/PHP_CodeSniffer/">CodeSniffer</a>
<li>Managing Git Repositories with <a href="http://pear.php.net/package/VersionControl_Git">VersionControl_Git</a>
</ul>]]></description>
      <pubDate>Thu, 02 Dec 2010 09:06:27 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Web Builder Zone: 5 features of PHP that seem hacks, but save your life]]></title>
      <guid>http://www.phpdeveloper.org/news/15366</guid>
      <link>http://www.phpdeveloper.org/news/15366</link>
      <description><![CDATA[<p>
On the Web Builder Zone today there's <a href="http://css.dzone.com/articles/5-features-php">a new article</a> that talks about five things that, while they may seem like hacks in your development, they might come in very handy in the right situations.
</p>
<blockquote>
Ilia is one of the people that get his hands dirty in the PHP core, and PHP has indeed many overlooked features. [...] However, thinking about this load of features inspired me to write this article: I'll include here 5 features that at first seem an hack, but can save your life while coding in PHP. In fact, you probably use or will use them every day without noticing.
</blockquote>
<p>
His list of five is made up of the access our scripts have to private properties via Reflection, using <a href="http://php.net/eval">eval</a>, the __DIR__ constant, the fact that a closing "?&gt;" isn't needed and the fact that PHP has "__sleep()".
</p>]]></description>
      <pubDate>Tue, 02 Nov 2010 08:40:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[John Hamelink's Blog: Top codeigniter libraries I can't live without.]]></title>
      <guid>http://www.phpdeveloper.org/news/14852</guid>
      <link>http://www.phpdeveloper.org/news/14852</link>
      <description><![CDATA[<p>
In a new post to his blog <i>John Hamelink</i> lists <a href="http://www.johnhamelink.com/2010/07/top-codeigniter-libraries-live/">top CodeIgniter libraries</a> he couldn't live without in his framework development.
</p>
<blockquote>
CodeIgniter is a great framework. I use it exclusively because of it's flexibility and relative 'lightness' but what use is a framework without libraries to extend its usefulness? (well, not much use, naturally.) Here is my personal list of CodeIgniter libraries I would struggle to live without.
</blockquote>
<p>His list includes:</p>
<ul>
<li><a href="http://www.daveblencowe.com/2010/quickauth-v2-0">QuickAuth</a>
<li><a href="http://codeigniter.com/news/codeigniter_community_voice_generating_pdf_files_using_codeigniter/">R&OS PDF Class</a>
<li><a href="http://codeigniter.com/wiki/Curl_library/">Curl library</a>
<li><a href="http://codeigniter.com/wiki/PayPal_Lib/">Paypal Lib</a>
</ul>]]></description>
      <pubDate>Mon, 26 Jul 2010 14:12:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Koopmanschap's Blog: Your error page can be better]]></title>
      <guid>http://www.phpdeveloper.org/news/14485</guid>
      <link>http://www.phpdeveloper.org/news/14485</link>
      <description><![CDATA[<p>
<i>Stefan Koopmanschap</i> has <a href="http://www.leftontheweb.com/message/Your_error_page_can_be_better">shared some of his thoughts</a> on something that a lot of sites could be doing better - making their sites fail gracefully.
</p>
<blockquote>
Error pages. Most people don't really consider error pages when building a website or application. They usually contain some debug information so that when something goes wrong the developer knows what is wrong. But in a lot of cases when an application goes into production, this information is still exposed.
</blockquote>
<p>
He points out a specific example of a recent time when the only thing thrown to the page was an error about a database connection rather than anything more informative or useful to the typical visitor. He recommends that, at the very least, a website should still present these errors in a template similar to the rest of the site.
</p>
<blockquote>
Your average visitor will come to your site expecting information. If something goes wrong (which can always happen), they only need to know that something went wrong, and perhaps they should get a phone number or e-mailaddress where they can report the error.
</blockquote>]]></description>
      <pubDate>Mon, 10 May 2010 09:16:53 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[CatsWhoCode.com: 8 useful code snippets to get started with WordPress 3.0]]></title>
      <guid>http://www.phpdeveloper.org/news/14343</guid>
      <link>http://www.phpdeveloper.org/news/14343</link>
      <description><![CDATA[<p>
On the CatsWhoCode.com blog today there's a list of <a href="http://www.catswhocode.com/blog/8-useful-code-snippets-to-get-started-with-wordpress-3-0">8 useful snippets</a> of PHP code you can use in the upcoming WordPress version - 3.0 - to take advantage of the new features it includes.
</p>
<blockquote>
WordPress 3.0, scheduled to launch May 1st, 2010, will be a real revolution for the blogging system. With new functionalities such as custom post types, developers will be able to create more complex and more powerful sites based on WordPress. In this article, I have compiled the most useful resources to get you started with WordPress 3.0.
</blockquote>
<p>These eight code snippets deal with:</p>
<ul>
<li>Create a custom post type
<li>Custom post types with custom taxonomies
<li>Query custom post types
<li>Enable multisite feature
<li>Custom author profiles
<li>Add custom backgrounds
<li>Style WordPress editor using CSS
<li>Make your theme compatible with WordPress 3.0 menus
</ul>
<p>
You can find out more about WordPress 3.0 on <a href="http://wordpress.org">the project's site</a>.
</p>]]></description>
      <pubDate>Tue, 13 Apr 2010 14:56:31 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[OneNextraPixel.com: 13 Useful WordPress SQL Queries You Wish You Knew Earlier]]></title>
      <guid>http://www.phpdeveloper.org/news/13946</guid>
      <link>http://www.phpdeveloper.org/news/13946</link>
      <description><![CDATA[<p>
WordPress users out there might want to check out <a href="http://www.onextrapixel.com/2010/01/30/13-useful-wordpress-sql-queries-you-wish-you-knew-earlier/">this list of SQL queries</a> that could help you solve that problem you've been working on.
</p>
<blockquote>
WordPress is driven by a MySQL database. This is something active WordPress users would know. However, if you only just read about it here from us, here's what you should know. [...] By simply executing a SQL query against your WordPress database, you can make the necessary changes quickly and efficiently.
</blockquote>
<p>
The SQL queries cover a wide range of the popular blogging tool's features including:
</p>
<ul>
<li>Change the Siteurl & Homeurl
<li>Change a URL in Content
<li>Change an Image Path Only
<li>Resetting Password
<li>Export all Comment Emails with no Duplicate
</ul>
<p>
They also recommend you backup your database before executing any of these statements...just in case (instructions are included for that too).
</p>]]></description>
      <pubDate>Mon, 01 Feb 2010 13:02:55 -0600</pubDate>
    </item>
  </channel>
</rss>
