<?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, 20 Jun 2013 04:00:36 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Qafoo.com: Black Magic with Regular Expresions]]></title>
      <guid>http://www.phpdeveloper.org/news/18819</guid>
      <link>http://www.phpdeveloper.org/news/18819</link>
      <description><![CDATA[<p>
If you've been mystified by regular expressions in the past and want to learn more about their effective use, you should check out <a href="http://qafoo.com/blog/029_black_magic_with_regular_expression_webinar.html">these two webcasts</a> from Qafoo - "Black Magic with Regular Expressions" and "Understanding Regular Expressions".
</p>
<blockquote>
We are happy to announce the availability of my second Regular Expression webinar recording. It was a fun event, which I used to explain all the attendees a little bit more about the PCRE Regular Expression engine available in PHP and some other languages. I am covering some slightly advanced topics, like subpattern options, unicode and backtracking aka. greediness and performance.
</blockquote>
<p>You can watch these two recordings over on the Zend.com site:</p>
<ul>
<li><a href="http://www.zend.com/en/resources/webinars/php?#QAFOO3">Black Magic with Regular Expressions</a>
<li><a href="http://www.zend.com/en/resources/webinars/php?#QAFOO2">Understanding Regular Expressions</a>
</ul>]]></description>
      <pubDate>Thu, 29 Nov 2012 10:21:47 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: Advanced Regular Expression Tips and Techniques]]></title>
      <guid>http://www.phpdeveloper.org/news/14369</guid>
      <link>http://www.phpdeveloper.org/news/14369</link>
      <description><![CDATA[<p>
NETTUTS.com has posted an <a href="http://net.tutsplus.com/tutorials/php/advanced-regular-expression-tips-and-techniques/">advanced guide to regular expressions</a> that just happens to use the PHP <a href="http://us.php.net/manual/en/ref.pcre.php">PCRE functions</a> to do the matching.
</p>
<blockquote>
Regular Expressions are the Swiss Army knife for searching through information for certain patterns. They have a wide arsenal of tools, some of which often go undiscovered or underutilized. Today I will show you some advanced tips for working with regular expressions.
</blockquote>
<p>They have it broken out into several tips including:</p>
<ul>
<li>Using Callbacks
<li>Lookahead and Lookbehind Assertions
<li>Filtering Patterns
<li>Named Subpatterns
</ul>
<p>
There's also a section called "Don't Reinvent the Wheel" with a few handy expressions to do common things like parse [X]HTML and validating form input.
</p>]]></description>
      <pubDate>Mon, 19 Apr 2010 09:47:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPFreaks.com: PCRE Regex Spotlight: K]]></title>
      <guid>http://www.phpdeveloper.org/news/13104</guid>
      <link>http://www.phpdeveloper.org/news/13104</link>
      <description><![CDATA[<p>
On the PHPFreaks.com blog today there's <a href="http://www.phpfreaks.com/blog/pcre-regex-spotlight-k">a quick new post</a> looking at one of the special backslash strings that doesn't get talked about very much - K - but is quite powerful.
</p>
<blockquote>
One backslash sequence that doesn't get much attention is K. What this handy little assertion does is match the position of whatever string comes before it in the pattern, then it in essence resets the match. At that point it starts a new match with whatever comes after K from the current location in the subject string.
</blockquote>
<p>
They include a series of PHP code examples showing how use can use it to work around some of the issues with lookbehind assertions. They also include a few benefits and drawbacks of using them over lookbehinds.
</p>]]></description>
      <pubDate>Tue, 25 Aug 2009 10:28:44 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Robert Basic's Blog: Playing with Zend_Navigation and routes]]></title>
      <guid>http://www.phpdeveloper.org/news/13016</guid>
      <link>http://www.phpdeveloper.org/news/13016</link>
      <description><![CDATA[<p>
In <a href="http://robertbasic.com/blog/playing-with-zend_navigation-and-routes/">this new post</a> to his blog <i>Robert Basic</i> looks at the Zend_Navigation component of the Zend Framework and how it can be used to more correctly handle bad requests.
</p>
<blockquote>
I wanted to set up routes in such way that when a user requests a page, all requests for non-existing controllers/modules are directed to a specific controller (not the error controller). In other words, if we have controllers IndexController, FooController and PageController, anything but http://example.com/index and http://example.com/foo is directed to the PageController.
</blockquote>
<p>
Using the Zend_Controller_Router_Route_Regex component he creates an expression that matches anything but the two allowed controllers and pushes them back over to the "page" controller. The new route is put in place via an addRoute call. He also shows how to use the Zend_Navigation component to manage the navigation structure for this application, defining a PHP array of the nested sitemap if the site.
</p>]]></description>
      <pubDate>Mon, 10 Aug 2009 08:13:12 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Make Me Pulse: Using the Zend Framework URL rewriting]]></title>
      <guid>http://www.phpdeveloper.org/news/11743</guid>
      <link>http://www.phpdeveloper.org/news/11743</link>
      <description><![CDATA[<p>
New from the Make Me Pulse blog is <A href="http://blog.makemepulse.com/2009/01/15/using-the-zend-framework-url-rewriting/">this quick tutorial</a> about bending the URL rewriting that the Zend Framework does to match whatever your needs might be.
</p>
<blockquote>
Today for a good website's referencement in Google, it's necessary to have an URL rewriting. [...] If your application is based on ZF, we have a htaccess base file which will redirect all php files to the boostrap (<a href="http://framework.zend.com/docs/quickstart/create-a-bootstrap-file">what is the bootstrap ?</a>), and ZF classes will manage all redirection rules. How to implement the URL rewriting with ZF classes ?
</blockquote>
<p>
He sets up a config file (an ini file) with the routing instructions the framework will need to adhere to and shows how to get the application to include it and match against it for routing rules. His example sets a default route and several regular expression-based routes to remap requests right where they need to go.
</p>]]></description>
      <pubDate>Thu, 15 Jan 2009 07:55:15 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Kevin Waterson's Blog: Introduction to PHP Regex]]></title>
      <guid>http://www.phpdeveloper.org/news/10992</guid>
      <link>http://www.phpdeveloper.org/news/10992</link>
      <description><![CDATA[<p>
<i>Kevin Waterson</i> has posted <a href="http://www.phpro.org/tutorials/Introduction-to-PHP-Regex.html">an extensive tutorial</a> to his site today giving a great look at regular expressions in PHP (and just regular expressions in general).
</p>
<blockquote>
At its most basic level, a regex can be considered a method of pattern matching or matching patterns within a string. In PHP the most oft used is PCRE or "Perl Compatible Regular Expressions". Here we will try to decypher the meaningless hieroglyphics and set you on your way to a powerful tool for use in your applications. Do not try to understand all this in a single sitting. Instead, take in a little and come back as you grasp various concepts. 
</blockquote>
<p>
He starts with simple string matching, showing how to get values from the middle, end and beginning of it then moves on to the next more powerful step - using meta characters. He outlines these as well as sequences and modifiers. There's plenty of examples <a href="http://www.phpro.org/tutorials/Introduction-to-PHP-Regex.html">here</a> so there's almost no chance of getting lost. 
</p>
<p>
It's a great tutorial that I'd recommend to anyone who things regular expressions are "just too hard" or it looking to figure out their power.
</p>]]></description>
      <pubDate>Tue, 09 Sep 2008 12:59:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tobias Schlitt's Blog: Comfortable PHP editing with VIM -5-]]></title>
      <guid>http://www.phpdeveloper.org/news/6117</guid>
      <link>http://www.phpdeveloper.org/news/6117</link>
      <description><![CDATA[<p>
<i>Tobias Schlitt</i> has picked by up his "comfortable PHP editing in VIM" series today with <a href="http://schlitt.info/applications/blog/index.php?/archives/488-Comfortable-PHP-editing-with-VIM-5.html">this lengthy post</a> with loads of helpful VIM tips to share with PHP developers everywhere.
</p>
<blockquote>
More than a half year after my last "<a href="http://schlitt.info/applications/blog/index.php?/archives/372-Comfortable-PHP-editing-with-VIM-4.html">Comfortable PHP editing with VIM</a>" post, I take up this series again, although I decided to let it die in January. Sadly I did not find any time by now, to extend <a href="http://vim.org/scripts/script.php?script_id=1355">PDV</a> (the PHP Documentor for VIM plugin) further than it's version 1.0.1, which is available through <a href="http://vim.org">vim.org</a> and on my <a href="http://svn.toby.phpugdo.de/PDV/">SVN</a>. Anyway, I collected a lot of (at least for me) helpful VIM tips, which I'd like to share here
</blockquote>
<p>
<a href="http://schlitt.info/applications/blog/index.php?/archives/488-Comfortable-PHP-editing-with-VIM-5.html">The post</a> contains tons of tips on subjects such as:
<ul>
<li>Find matching brace
<li>Indenting and unindeting
<li>Emergency help
<li>Macros
</ul>
and many more. For each subject, there's an explaination of a situation you might need it in and, of course, the tip itself. He also links to the earlier parts of the series (one through four) for those wanting to catch up.
</p>]]></description>
      <pubDate>Wed, 23 Aug 2006 09:55:06 -0500</pubDate>
    </item>
  </channel>
</rss>
