<?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 00:37:00 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Sean Coates' Blog: PHP Dashboard Widget]]></title>
      <guid>http://www.phpdeveloper.org/news/7974</guid>
      <link>http://www.phpdeveloper.org/news/7974</link>
      <description><![CDATA[<p>
Picking back up on his blog, <i>Sean Coates</i> shares <a href="http://blog.phpdoc.info/archives/68-PHP-Dashboard-Widget.html#extended">a Dashboard widget</a> he's created to do quick and dirty PHP interpreting on the fly:
</p>
<blockquote>
I found myself using php -r on the command line to test some simple code snippets, and it occurred to me that this isn't "The Mac Way." So, following the excellent <a href="http://developer.apple.com/documentation/AppleApplications/Conceptual/Dashboard_ProgTopics/index.html">documentation</a> at Apple, I managed to come up with something pretty useful in an afternoon.
</blockquote>
<p>
<a href="http://www.phpdoc.info/widgets/php.wdgt.zip">His widget</a> sits happily, ready to take in PHP code and output the result at the click of a button.
</p>]]></description>
      <pubDate>Tue, 05 Jun 2007 10:13:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[phpaddiction: Url Routing with PHP - Part Two]]></title>
      <guid>http://www.phpdeveloper.org/news/7574</guid>
      <link>http://www.phpdeveloper.org/news/7574</link>
      <description><![CDATA[<p>
On the phpaddiction site today, there's <a href="http://www.phpaddiction.com/tags/php/url-routing-with-php-part-two/">part two</a> of their tutorial looking at URL routing with PHP (started <A href="http://www.phpdeveloper.org/news/7532">here</a> in Part One).
</p>
<p>
With the foundation of the routing in place (from part one), they move on to bigger and better things:
<ul>
<li>assign responsibilities (what needs to be accomplished)
<li>creating a standard command object
<li>interpreting the URLs and the parameters passed in it
<li>using this information to dispatch the correct commands
</ul>
There's code examples through out to illustrate each point as well as one main one at the end to show how to put it all into action. Their script reads in the URL and sends the command along to the CommandDispatcher - check out <a href="http://examples.phpaddiction.com/urlrouter/part_2/">this example page</a> to see it in action.
</p>]]></description>
      <pubDate>Fri, 06 Apr 2007 08:41:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Elizabeth Smith's Blog: String Class (Kal_String)]]></title>
      <guid>http://www.phpdeveloper.org/news/4772</guid>
      <link>http://www.phpdeveloper.org/news/4772</link>
      <description><![CDATA[On her blog today, <i>Elizabeth Smith</i> has <a href="http://elizabethmariesmith.com/2006/01/31/string-class/">this new post</a> highlighting a string class that she's created to overload the basic PHP types to handle multibyte or translated strings.
<p>
<quote>
<i>
So my rather cumbersome three classes to handle translation and charsets is now ONE class. When the rest of the magic __toString stuff goes into php (estimated for 5.2, which I wouldn't know if I didn't read internals religiously) it makes it even easier to use.
<p>
<a href="http://websvn.bluga.net/wsvn/Kalfu/trunk/kalfu/lib/string.class.php?op=file&rev=0&sc=0">Kal_String</a> is the class itself. Basically it has TWO constructors - because there are a series of static settings and two static methods that deal with things like a default charset to use for all strings and a default language to look for. The language searching is set up with a callback - so you can write your own class using gettext or including straight php files or whatever you want. You can even manually load in translation strings for individual string instances if you're so inclined.
</i>
</quote>
<p>
She <a href="http://elizabethmariesmith.com/2006/01/31/string-class/">gives examples</a> of how to use the class, everything from just a simple output to the use of some of the more advanced "interpretation"-based features.]]></description>
      <pubDate>Wed, 01 Feb 2006 06:48:47 -0600</pubDate>
    </item>
  </channel>
</rss>
