<?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>Sun, 26 May 2013 04:10:17 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NetTuts.com: Advanced CodeIgniter Techniques and Tricks]]></title>
      <guid>http://www.phpdeveloper.org/news/18061</guid>
      <link>http://www.phpdeveloper.org/news/18061</link>
      <description><![CDATA[<p>
On the NetTuts.com blog today there's a new handy post for the <a href="http://codeigniter.com">CodeIgniter</a> users out there - some more <a href="http://net.tutsplus.com/tutorials/php/advanced-codeigniter-techniques-and-tricks/">advanced tips and tricks</a> that you can use in your CI-based apps.
</p>
<blockquote>
<a href="http://codeigniter.com/">CodeIgniter</a> is a widely used PHP framework that aims to help developers write better structured code and remove boilerplate tasks from the workflow. In this article, I'm going to explain some incredibly useful techniques to use when developing applications using CodeIgniter.
</blockquote>
<p>
They cover things like setting up easier configuration parameters, optional config settings, creating HTML emails, application versions and separate response formats.
</p>]]></description>
      <pubDate>Thu, 07 Jun 2012 13:04:01 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Andrew Eddie's Blog: Making the most out of Code Assist in Eclipse/PDT and Zend Studio for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17198</guid>
      <link>http://www.phpdeveloper.org/news/17198</link>
      <description><![CDATA[<p>
<i>Andrew Eddie</i> has posted a helpful tutorial for Eclipse users out there showing how to <a href="http://www.theartofjoomla.com/home/9-developer/136-making-the-most-out-of-code-assist-in-eclipsepdt-and-zend-studio-for-php.html">get the most our of code assist</a> in Eclipse PDT/Zend Studio.
</p>
<blockquote>
One of the powerful features of an IDE like Eclipse is the ability for it to "read" your code and give you some assistance about your API as you type. This could include things like class property or methods names, constants, functions, argument lists, and so on. Eclipse/PDT and ZendStudio do this by parsing a PHP class directly, but they also look at your docblocks and some other special comments where the raw PHP is not enough. This article is a bag of tricks that help you get the most out of code assistance using Eclipse/PDT or Zend Studio in those awkward corners of your code that you might have through previously inaccessible.
</blockquote>
<p>
Among his tips are things like adding "@var" declarations to help with code completion, type hinting on methods/functions, using the "@property" annotation and using a "this" trick to override what class the IDE sees as the local object.
,/p>]]></description>
      <pubDate>Thu, 01 Dec 2011 12:55:32 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Top 10 phpMyAdmin Tips and Tricks You May Not Know]]></title>
      <guid>http://www.phpdeveloper.org/news/15880</guid>
      <link>http://www.phpdeveloper.org/news/15880</link>
      <description><![CDATA[<p>
In <a href="http://www.phpbuilder.com/columns/phpmyadmin/Jason_Gilmore02082011.php3">this new article</a> on PHPBuilder.com today, they share ten handy tips that you might not have known you could do with the <a href="http://www.phpmyadmin.net/">phpMyAdmin</a> tool.
</p>
<blockquote>
Despite approaching its 12th birthday, phpMyAdmin is still under active development, with at least one significant version released every year since the project's inception. In fact even after almost a decade of use I still marvel over discovering features which I had no idea existed. In this article I thought I'd highlight 10 useful phpMyAdmin features which may have escaped you during your daily interaction with this fantastic utility.
</blockquote>
<p>Making the list of their ten tips are things like:</p>
<ul>
<li>Manage User Privileges
<li>Change the Theme
<li>Monitor Server Status
<li>Create PDF Relational Diagrams
<li>Use Your Native Language
</ul>]]></description>
      <pubDate>Wed, 09 Feb 2011 12:41:54 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Six Cool PHP Tricks You May Not Know]]></title>
      <guid>http://www.phpdeveloper.org/news/14398</guid>
      <link>http://www.phpdeveloper.org/news/14398</link>
      <description><![CDATA[<p>
On PHPBuilder.com there's a new article with a few things - <a href="http://www.phpbuilder.com/columns/chrisroane042210.php3">six things, to be exact</a> - that you might not know about the PHP language as written up by <i>Chris Roane</i>.
</p>
<blockquote>
Over the years I've come across some useful tricks in PHP that are not obvious, but are worth mentioning. This is not meant to be a comprehensive list of all the useful tricks that you can do with PHP.
</blockquote>
<p>The list of six includes:</p>
<ul>
<li>Count Characters in a String
<li>Use Single Quotes When Possible
<li>Use Arrays in Form Fields
<li>PHP Output Buffering
</ul>]]></description>
      <pubDate>Fri, 23 Apr 2010 08:44:24 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Juozas Kaziukenas' Blog: Zend Framework tips and tricks]]></title>
      <guid>http://www.phpdeveloper.org/news/13942</guid>
      <link>http://www.phpdeveloper.org/news/13942</link>
      <description><![CDATA[<p>
<i>Juozas Kaziukenas</i> has <a href="http://dev.juokaz.com/php/zend-framework-tips-and-tricks">a new post</a> to his blog with some tips and tricks for working with the <a href="http://framework.zend.com">Zend Framework</a> including working with globals, using the framework part of the framework and getting form values a bit more correctly.
</p>
<blockquote>
Most of the outlined problems and solutions are focused on testability, maintainability and other good code practices. If you are not familiar with them, I recommend read about them ASAP as there is big chance that you are doing those things described in this post and don't even realize how wrong they are. Believe me, you will soon find yourself a way better developer.
</blockquote>
<p>
He also advocates splitting out logic and putting it into a model to make future enhancements easier (and make for cleaner code), avoiding the use of exit/die in your scripts and quick mentions of the includePaths setting in the application.ini file as well as things  like addJavascriptFile/addStylesheet/addOnload.
</p>]]></description>
      <pubDate>Mon, 01 Feb 2010 09:46:30 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: A Note on Google's So-called Best Practices]]></title>
      <guid>http://www.phpdeveloper.org/news/12767</guid>
      <link>http://www.phpdeveloper.org/news/12767</link>
      <description><![CDATA[<p>
On the SitePoint PHP blog today <i>Troels Knak-Nielsen</i> has <a href="http://www.sitepoint.com/blogs/2009/06/26/a-note-on-googles-so-called-best-practises/">posted some of his own thoughts</a> about the <a href="http://code.google.com/speed/articles/optimizing-php.html">performance tips</a> that Google recently published for PHP.
</p>
<blockquote>
The project includes an article on "<a href="http://code.google.com/speed/articles/optimizing-php.html">PHP performance tips</a>", which is bordering on being ridiculous. There are of course lots of blog posts with similar nonsense around the web, but since this is being endorsed by Google, it's fair to assume that people might take it at face value. That's unfortunate, as almost none of it is true. The PHP Team responded back with <a href="http://groups.google.com/group/make-the-web-faster/browse_thread/thread/ddfbe82dd80408cc">this message</a>, wherein they refute the unfounded nonsense.
</blockquote>
<p>
He notes that these practices aren't the best road to optimization and, depending on when they might be used, could be harmful to the development of the application. He also recommends <a href="http://www.xdebug.org/docs/profiler">XDebug</a> if you really want to get to know where your application is struggling.
</p>]]></description>
      <pubDate>Fri, 26 Jun 2009 15:54:43 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Cal Evan's Blog: Three Lists I Never Want to See Again]]></title>
      <guid>http://www.phpdeveloper.org/news/12391</guid>
      <link>http://www.phpdeveloper.org/news/12391</link>
      <description><![CDATA[<p>
You're all thinking it - <i>Cal Evans</i> finally just <a href="http://blog.calevans.com/2009/04/22/three-lists-never-want-to-see-again/">put it into words</a> with his list of "lists [he] never wants to see again" in the PHP world.
</p>
<blockquote>
Lists are all the rave these days for bloggers. The reason is obvious, they require very little thought or research to create. So, in keeping with the current trend, here is my list of three lists never want to see again.
</blockquote>
<p>His list of three are posts that contain:</p>
<ul>
<li>5,000 PHP classes and tutorials
<li>50 new PHP tricks you didn't know, didn't want to know, and will get you fired if you ever use them on the job
<li>Top PHP Frameworks
</ul>
<p>
Blog posts should be about real content, not just spitting back out something anyone could put together in ten minutes with a little copy and paste. As <i>Cal</i> puts it:
</p>
<blockquote>
If you are using a new PHP class, CMS, framework, or have a new technique you want to share, share it. Write a blog post and tell me how or why it solved your problem; bonus points if you describe the problem that it solved. You are not adding to the conversation is you are just recapping what others have said.
</blockquote>]]></description>
      <pubDate>Thu, 23 Apr 2009 08:43:56 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Smashing Magazine: 10 Useful RSS-Tricks and Hacks For WordPress]]></title>
      <guid>http://www.phpdeveloper.org/news/11495</guid>
      <link>http://www.phpdeveloper.org/news/11495</link>
      <description><![CDATA[<p>
Smashing Magazine has a few <a href="http://www.smashingmagazine.com/2008/12/02/10-useful-rss-hacks-for-wordpress/">helpful RSS tips and tricks</a> for WordPress users out there:
</p>
<blockquote>
Let's take a look at 10 useful, yet rather unknown RSS-tricks for WordPress. Each section of the article presents a problem, suggests a solution and provides you with an explanation of the solution, so that you can not just solve some of your RSS-related problems but also understand what you are actually doing.
</blockquote>
<p>Here's their list:</p>
<ul>
<li>Control When Your Posts are Available via RSS
<li>Redirecting WordPress Feeds to FeedBurner Feeds
<li>Insert Ads (or Anything Else) in Your RSS Feed
<li>Format Your Images for Feed Readers
<li>Provide Your Readers with a Feed for Each Post
<li>Exclude Categories from Your RSS Feed
<li>Display Any RSS Feed on Your WordPress Blog
<li>Use Category-Specific RSS Feeds
<li>List RSS Feeds by Category
<li>Get Rid of RSS Feeds the Clean Way
</ul>]]></description>
      <pubDate>Wed, 03 Dec 2008 10:28:41 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[David Otton's Blog: Neat PHP Tricks: How To Assign References to Globals]]></title>
      <guid>http://www.phpdeveloper.org/news/11375</guid>
      <link>http://www.phpdeveloper.org/news/11375</link>
      <description><![CDATA[<p>
<i>David Otton</i> has a new <a href="http://www.otton.org/2008/11/09/neat-php-tricks-assign-references-globals-workaround/">neat PHP trick</a> posted today - assigning references to global values.
</p>
<blockquote>
What follows isn't so much a PHP trick as a fix for something that really should work, but doesn't. Although the manual implies that the behaviour described below is specific to Zend Engine 1, all my tests were performed against Zend Engine 2.2, PHP 5.2.5.
</blockquote>
<p>
His example compares making a new stdClass both with and without a reference on the it and <a href="http://www.php.net/var_dump">var_dumps</a> out the result. The method with the reference fails silently, however and isn't able to correctly assign it to the global. He recommends a work-around though - setting it directly to the $GLOBALS superglobal.
</p>]]></description>
      <pubDate>Mon, 10 Nov 2008 09:32:18 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Debuggable Blog: Two CakePHP Tricks]]></title>
      <guid>http://www.phpdeveloper.org/news/10894</guid>
      <link>http://www.phpdeveloper.org/news/10894</link>
      <description><![CDATA[<p>
On the Debuggable blog <i>Felix</i> has <a href="http://feeds.feedburner.com/~r/thinkingphp/~3/373239376/4-cakephp-tricks:4811ad82-32dc-4a38-bc10-36304834cda3">posted two quick tips</a> you can use in your CakePHP application - one related to debugging and the other about custom config files.
</p>
<p>For tip #1</p>
<blockquote>
If you just put a debug() statement in, you will see hundreds of outputs and would not know which one belongs to the case you are interested in. My favorite solution to this problem is to use the Configure class as a toggle for showing the debug information.
</blockquote>
<p>For tip #2</p>
<blockquote>
This is a very simple one. To make your application configurable via a global config file, all you need to do is the following.
</blockquote>
<p>
Both come complete with <a href="http://feeds.feedburner.com/~r/thinkingphp/~3/373239376/4-cakephp-tricks:4811ad82-32dc-4a38-bc10-36304834cda3">code examples</a>.
</p>]]></description>
      <pubDate>Mon, 25 Aug 2008 15:58:03 -0500</pubDate>
    </item>
  </channel>
</rss>
