<?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>Mon, 20 May 2013 13:30:21 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NETTUTS.com: Increase Productivity by Creating PHP Helper Functions]]></title>
      <guid>http://www.phpdeveloper.org/news/14748</guid>
      <link>http://www.phpdeveloper.org/news/14748</link>
      <description><![CDATA[<p>
On NETTUTS.com today there's <a href="http://net.tutsplus.com/tutorials/php/increase-productivity-by-creating-php-helper-functions">a new tutorial</a> talking about something many frameworks make pretty heavy use of - helper functions.
</p>
<blockquote>
Every workman needs a good toolbox, and web developers are no different. PHP helper functions are designed to speed up and homogenise repetitive tasks, and make your life that much easier. This first tutorial explains how to make link helpers that will improve your methods for adding hyperlinks and mailto links in your web applications.
</blockquote>
<p>
They give several examples of a helper function (with code) that starts as a simple link creation helper but progresses to allow styling, flexibility and even adding in the ability to use it to create mailto links.
</p>]]></description>
      <pubDate>Tue, 06 Jul 2010 09:20:57 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP in Action: Get links with XPath]]></title>
      <guid>http://www.phpdeveloper.org/news/11157</guid>
      <link>http://www.phpdeveloper.org/news/11157</link>
      <description><![CDATA[<p>
In response to <a href="http://www.phpro.org/examples/Get-Links-With-DOM.html">this tutorial</a> over on the PHPro.org website a <a href="http://www.reiersol.com/blog/1_php_in_action/archive/162_get_links_with_xpath.html">new post</a> has been made to the PHP in Action blog with an "even cooler" way to do the same sort of DOM fetching - XPath.
</p>
<blockquote>
I'm a little bit surprised at the claim [the tutorial makes] that it's the "correct" (only) way, since there's at least one more that I find even cooler: XPath. Admittedly, it's slower, yet it's a more powerful language. 
</blockquote>
<p>
A <a href="http://www.reiersol.com/blog/1_php_in_action/archive/162_get_links_with_xpath.html">quick example</a> is included, building up from a simple search for anchor tags up to a custom query looking for just the anchor tags with a class of "bookmark".
</p>]]></description>
      <pubDate>Tue, 07 Oct 2008 08:43:33 -0500</pubDate>
    </item>
  </channel>
</rss>
