<?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>Wed, 19 Jun 2013 02:05:19 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Nikita Popov's Blog: The true power of regular expressions]]></title>
      <guid>http://www.phpdeveloper.org/news/18098</guid>
      <link>http://www.phpdeveloper.org/news/18098</link>
      <description><![CDATA[<p>
<i>Nikita Popov</i> has a new (language agnostic) post to his blog today about one of the most powerful things you can use in your development - something that a lot of developers don't understand the true power of - <a href="http://nikic.github.com/2012/06/15/The-true-power-of-regular-expressions.html">regular expressions</a>.
</p>
<blockquote>
As someone who frequents the PHP tag on StackOverflow I pretty often see questions about how to parse some particular aspect of HTML using regular expressions. A common reply to such a question is: "You cannot parse HTML with regular expressions, because HTML isn't regular. Use an XML parser instead." This statement - in the context of the question - is somewhere between very misleading and outright wrong. What I'll try to demonstrate in this article is how powerful modern regular expressions really are.
</blockquote>
<p>
He starts with the basics, defining the "regular" part of "regular expression" (hint: it has to do with predictability) and the grammar of the expressions. He talks about the <a href="http://en.wikipedia.org/wiki/Chomsky_hierarchy">Chomsky hierarchy </a> and how it relates to the "regular" as well as a more complex mapping of expression to language rules. He talks about matching context-free and context-sensitive languages and unrestricted grammars as well.
</p>]]></description>
      <pubDate>Fri, 15 Jun 2012 08:42:57 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect: Programming: you're doing it wrong]]></title>
      <guid>http://www.phpdeveloper.org/news/14169</guid>
      <link>http://www.phpdeveloper.org/news/14169</link>
      <description><![CDATA[<p>
In an opinion piece posted to the php|architect site <i>Marco Tabini</i> suggests that we (as developers) are <a href="http://www.phparch.com/2010/03/10/programming-youre-doing-it-wrong/">doing it wrong</a> as we move further and further away from the pragmatic side of programming into the abstract.
</p>
<blockquote>
No matter how advanced the techniques that we use, there is always something that we could be doing better. [...] Which one is right? The real problem is that the answer to that question is, "yes." That's because it lacks a specific context in which it can be inserted.
</blockquote>
<p>
He suggests that, in our quest to figure out what the perfect case for any situation, we stop focusing on the practicality of writing applications to accomplish goals. Sometimes it's not about getting the right theory behind the code - sometimes it's just doing it.
</p>]]></description>
      <pubDate>Thu, 11 Mar 2010 11:06:42 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jacob Santos' Blog: PHP Opcode Series]]></title>
      <guid>http://www.phpdeveloper.org/news/7442</guid>
      <link>http://www.phpdeveloper.org/news/7442</link>
      <description><![CDATA[<p>
<i>Jacob Santos</i> has <a href="http://www.santosj.name/php/php-opcode/php-opcode-series/">started a series of posts</a> to his blog that focuses on the use of the opcode cache and language features in your applications.
</p>
<blockquote>
The posts will be researched and go through multiple drafts for professionalism before posting. In this hope, it will strive to enable discussion that isn't flaming and collective of the topic at hand. For as much as I can achieve at my level of writing skill and researching the topic at hand.
</blockquote>
<p>
He <a href="http://www.santosj.name/php/php-opcode/php-opcode-series/">he goes through</a> the purpose of the posts, the areas he's going to focus on, some about the theory that will be used, and the implementation and documentation he'll provide through the series.
</p>]]></description>
      <pubDate>Thu, 15 Mar 2007 15:24:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lukas Smith's Blog: Its like everybody sees the wall coming...]]></title>
      <guid>http://www.phpdeveloper.org/news/6540</guid>
      <link>http://www.phpdeveloper.org/news/6540</link>
      <description><![CDATA[<p>
Despite the release candidates for PHP 5.2.0 marching on, <i>Lukas Smith</i> still has some misgivings about some of the functionality being introduced in the release - specifically about the fatal errors that are going to break a lot of (working) object oriented functionality.
</p>
<blockquote>
Anyways I just <a href="http://marc.theaimsgroup.com/?l=php-dev&m=116129321214749&w=2">posted</a> the following email to internals in a list attempt to get some of the people with php-dev karma to lift their finger.
</blockquote>
<p>
In the message, he notes <a href="http://marc.theaimsgroup.com/?l=php-dev&m=114734977430980&w=2">the change</a> he's looking for and a suggestion to get it included before RC6 of the series gets released (which has <a href="http://www.phpdeveloper.org/news/6539">been released</a> as of this post already).
</p>]]></description>
      <pubDate>Fri, 20 Oct 2006 07:38:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: The Joy of Regular Expressions [1]]]></title>
      <guid>http://www.phpdeveloper.org/news/6356</guid>
      <link>http://www.phpdeveloper.org/news/6356</link>
      <description><![CDATA[<p>
Sometimes, it's just not enough to sit and try to teach theory about something in programming - it's better to just jump right in and take things as they come. That's what <i>Harry Fuecks</i> thinks, at least in his <a href="http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/">latest post</a> on the SitePoint PHP Blog - a look at the "Joy of Regular Expressions".
</p>
<p>
He does go over a bit of the theory and why they are so invaluable, but it's a short section before he gets to the heart of the article - working with regular expressions for:
<ul>
<li>positive matching
<li>matching all instances in a given string
<li>finding an exact match
<li>matching the start of a string
<li>validation of the contents of a string
<li>checking the length of a string
</ul>
There's <a href="http://www.sitepoint.com/blogs/2006/09/26/the-joy-of-regular-expressions-1/">simple examples</a> included for each of the items to help you get an idea of how they'd work.
</p>]]></description>
      <pubDate>Tue, 26 Sep 2006 08:02:45 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Scott Johnson's Blog: Podcast : PHP Theory 1]]></title>
      <guid>http://www.phpdeveloper.org/news/5984</guid>
      <link>http://www.phpdeveloper.org/news/5984</link>
      <description><![CDATA[<p>
<i>Scott Johnson</i> has created and posted another in his podcast series today, <a href="http://fuzzyblog.com/archives/2006/08/08/podcast-php-theory-1/">this time</a>, he looks not at the development side of PHP - the actual code - but at the theory behind its development and best practices.
</p>
<p>
At the request of a listener to past podcasts, <i>Scott</i> created <a href="http://fuzzyblog.com/archives/2006/08/08/podcast-php-theory-1/">this one</a> to share some of his experiences and findings along the path of his develoopment. Some of the items covered in the podcast include:
<ul>
<li>package and library management
<li>naming conventions
<li>the seperation of UI and business logic
<li>code distribution
<li>using test harnesses
</ul>
</p>
<p>
You can download the MP3 of the podcast <a href="http://fuzzyblog.com/podcasts/f-79-gc-php-theory-001.mp3">directly from here</a>.
</p>]]></description>
      <pubDate>Tue, 08 Aug 2006 12:22:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jacob Santos' Blog: PHPc: Compiler Theory and Ranting]]></title>
      <guid>http://www.phpdeveloper.org/news/5912</guid>
      <link>http://www.phpdeveloper.org/news/5912</link>
      <description><![CDATA[<p>
<i>Jacob Santos</i> is back again today with <a href="http://www.santosj.name/?p=259">this new blog post</a> - his look at the world of PHP compilers and some of his theories (and rants) on the subject.
</p>
<blockquote>
I know very little of compiler and interpreter theory and have never (yet) created a working implementation of a compiler or interpreter. What you're about to read or (most likely) skip over is a Head-in-Ass post and feel free to flame me on parts where I'm wrong, which will be most places. Do realize that this is one end user's opinion of the matter and any perceived insult upon any author(s) is not intended and please do not take it as such.
</blockquote>
<p>
<i>Jacob</i> <a href="http://www.santosj.name/?p=259">talks about</a> run-time classes, class optimization, what he "really wants" out of a compiler, namespace functionality, a "phpc" extension, and his opinions on the Zend Engine, other web technologies, and the future of PHP.
</p>]]></description>
      <pubDate>Mon, 31 Jul 2006 06:31:11 -0500</pubDate>
    </item>
  </channel>
</rss>
