<?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>Sat, 22 Nov 2008 04:08:12 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Jani Hartikainen's Blog: Base classes in OOP programming languages]]></title>
      <guid>http://www.phpdeveloper.org/news/11429</guid>
      <link>http://www.phpdeveloper.org/news/11429</link>
      <description><![CDATA[<p>
<i>Jani Hartikainen</i> has followed up on a post from <i>David Otten</i> about standard classes in PHP and how they provide the base for much of what the language does.
</p>
<blockquote>
David Otton posted a <A href="http://www.otton.org/2008/11/11/php-base-class-stdclass/">short but thought-provoking post about stdClass</a>, which many think is the "base class" all PHP classes automatically inherit from. I have to admit that I had this misconception as well. [...] This [difference in PHP from other OOP languages] presents some room for analysis in how things are handled in dynamic and static languages, and how those differences affect things...
</blockquote>
<p>
<i>Jani</i> <a href="http://codeutopia.net/blog/2008/11/19/base-classes-in-oop-programming-languages/">talks about</a> dynamic and static typing in languages and how that effects the base types things are extended from as well as some of the benefits that having a standard base class affords developers.
</p>]]></description>
      <pubDate>Wed, 19 Nov 2008 16:10:58 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Richard Thomas' Blog: Using jQuery with Solar]]></title>
      <guid>http://www.phpdeveloper.org/news/11232</guid>
      <link>http://www.phpdeveloper.org/news/11232</link>
      <description><![CDATA[<p>
In a <a href="http://www.phpjack.com/content/using-jquery-solar">quick new entry</a> to his blog, <i>Richard Thomas</i> shows how to integrate the popular <a href="http://www.jquery.com">jQuery</a> javascript library into your <a href="http://www.solarphp.com">Solar</a> application.
</p>
<blockquote>
Going to go through a quick walk through of how to use a hacked together version of my old jquery library with solar. You can find the class source files <a href="http://www.phpjack.com/jackfiles/jsolar.tgz">here</a>.
</blockquote>
<p>
He sets up a callback in the Base controller (that all other controllers extend) for the jQuery calls so that any of the "child" controllers can just call "/controller/jquery" to make jQuery requests.
</p>]]></description>
      <pubDate>Fri, 17 Oct 2008 09:31:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Richard Thomas: Solar Gets Firephp Support & a Base Controller Tip]]></title>
      <guid>http://www.phpdeveloper.org/news/11213</guid>
      <link>http://www.phpdeveloper.org/news/11213</link>
      <description><![CDATA[<p>
<i>Richard Thomas</i> has two new <a href="http://www.solarphp.com">Solar</a> framework posts added to his PHPJack blog - one talking about the new Firephp support integrated into the framework (similar to other frameworks) and a tip he's come across so far in using the framework.
</p>
<p>
In talking about the <a href="http://www.phpjack.com/content/solar-framework-adds-firebug-support-thanks-firephp">Firephp support</a>:
</p>
<blockquote>
There has been a flurry of work around <A href="http://www.getfirebug.com/">Firebug</a> recently including announcements that <a href="http://framework.zend.com/">Zend Framework</a> and <A href="http://www.symfony-project.org/">Symfony</a> both now have Firebug logging support through the use of the <A href="http://www.firephp.org/">Firephp</a>. As of this weekend <a href="http://www.solarphp.com/">Solar</a> can be added to the list with its own support.
</blockquote>
<p>
A <a href="http://www.phpjack.com/content/solar-framework-adds-firebug-support-thanks-firephp">quick example</a> is included.
</p>
<p>
In the <a href="http://www.phpjack.com/content/solar-tips-1">second post</a> he looks at a simpler way to share information between all of your controllers without code duplication - adding it to the constructor of the Base controller your application is built on.
</p>]]></description>
      <pubDate>Wed, 15 Oct 2008 07:56:14 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jeremy Johnstone's Blog: Enums in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11147</guid>
      <link>http://www.phpdeveloper.org/news/11147</link>
      <description><![CDATA[<p>
In <a href="http://www.jeremyjohnstone.com/blog/archives/2008/10/05/enums-in-php/">this new post</a> <i>Jeremy Johnstone</i> looks at creating a class to add that's missing from the basic datatype set of the language - enums.
</p>
<blockquote>
I stumbled across a blog post on <a href="http://it.toolbox.com/blogs/macsploitation/enums-in-php-a-native-implementation-25228">how to implement Enums in PHP via userland code</a> written by Jonathan Hohle. I liked the concept he had, but the implementation was a bit unappealing because it used eval() among other more minor issues. You shouldn't need to generate Enums at runtime, so I took that as a challenge to find a way to do it at compile time, thus making the code much more efficient.
</blockquote>
<p>
His enums would support type hinting and would, ideally, be iterable. He gives the code he's worked up - a base class, another than extends it to make a basic enum structure and some handy changes to support comparisons. A few more changes (and a few other extended classes later) he has some pretty well functioning enums that can even bee iterated through.
</p>]]></description>
      <pubDate>Mon, 06 Oct 2008 07:56:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Padraic Brady's Blog: ZF Blog Tutorial Addendum #1: Base URL, Magic Quotes, Database Schema & UTF-8]]></title>
      <guid>http://www.phpdeveloper.org/news/10302</guid>
      <link>http://www.phpdeveloper.org/news/10302</link>
      <description><![CDATA[<p>
<i>Padraic Brady</i> has <a href="http://blog.astrumfutura.com/archives/373-Zend-Framework-Blog-Application-Tutorial-Addendum-1-Base-URL,-Magic-Quotes-Reversal,-Database-Schema-and-UTF-8-Title-Transliteration.html">an addendum</a> he's posted to his "making a blogging application with the Zend Framework" series dealing with a few random issues from along the way.
</p>
<blockquote>
The interesting thing about live publishing of a long tutorial series is that it's not flawless. In fact it's the opposite. [...] To cover all these I'll occasionally highlight the more important ones both in notes to new entries, or where they slip past me, in Addendum entries like this one.
</blockquote>
<p>
There's four sections in <a href="http://blog.astrumfutura.com/archives/373-Zend-Framework-Blog-Application-Tutorial-Addendum-1-Base-URL,-Magic-Quotes-Reversal,-Database-Schema-and-UTF-8-Title-Transliteration.html">this update</a> - one dealing with the referencing of base URLs, another worrying about magic_quotes settings, an updated database schema for the project and the final about removing non-english characters in the title URLs.
</p>]]></description>
      <pubDate>Thu, 29 May 2008 16:12:03 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Nexen.net: Base configuration for PHP 5.2.3]]></title>
      <guid>http://www.phpdeveloper.org/news/8461</guid>
      <link>http://www.phpdeveloper.org/news/8461</link>
      <description><![CDATA[<p>
Nexen.net has a <a href="http://www.nexen.net/articles/dossier/17400-base_configuration_for_php_5.2.3.php">new look</a> today at something most people take for granted - some of the default extensions loaded (and how often they are) in a PHP installation.
</p>
<blockquote>
Since PHP 5.2.3 has been published, over 9700 tests were sent to the Quality Assurance Team. In those tests reports, we can find the list of failed tests, and an anonymous PHPinfo(), that helps the PHP team to understand the origin of the errors. With such a number of phpinfo(), it is tempting to get some stats about compilation choices.
</blockquote>
<p>
<i>Damien</i> has <a href="http://www.nexen.net/articles/dossier/17400-base_configuration_for_php_5.2.3.php">graphed out</a> a few different data sets - the extensions included in most default installations, other popular extensions that may or may not be compiled in, the list of rare extensions (a long list) and how often they show up and, finally, the graphing of all extensions included in any PHP install anywhere. Links to more information about these extensions can be found immediately following the graph.
</p>]]></description>
      <pubDate>Wed, 15 Aug 2007 13:48:15 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP-Coding-Practices.com: Control Your CSS Via PHP - Good Stuff!]]></title>
      <guid>http://www.phpdeveloper.org/news/7913</guid>
      <link>http://www.phpdeveloper.org/news/7913</link>
      <description><![CDATA[<p>
From the PHP-Coding-Practices.com website today, there's <a href="http://php-coding-practices.com/cool-stuff/control-your-css-via-php-good-stuff/">a new post</a> that, using a tip from <a href="http://www.barelyfitz.com/projects/csscolor/">this article</a> on BarelyFitz, shows how to control CSS information with PHP.
</p>
<blockquote>
Today I stumbled upon a <a href="http://www.barelyfitz.com/projects/csscolor/">cool article</a> that explains how one can control one's CSS colors via PHP to former relative shades. How is this done I hear you asking? Just look at the following code.
</blockquote>
<p>
<a href="http://php-coding-practices.com/cool-stuff/control-your-css-via-php-good-stuff/">His example</a> uses the tutorial's csscolor class and shows how to implement it with a base color and a highlight color and use it to generate variations of the same shades.
</p>]]></description>
      <pubDate>Thu, 24 May 2007 09:32:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stubbles Blog: My wishlist for PHP 6, pt1: The 'object' type hint]]></title>
      <guid>http://www.phpdeveloper.org/news/7309</guid>
      <link>http://www.phpdeveloper.org/news/7309</link>
      <description><![CDATA[<p>
<i>Stephan Schmidt</i> has <a href="http://www.stubbles.org/archives/5-My-wishlist-for-PHP-6,-pt1-The-object-type-hint.html">posted some thoughts</a> about type hinting in PHP5 (what's there) and the same kind of functionality for objects in PHP6 (what's to come).
</p>
<blockquote>
I was very pleased, that PHP 5 introduced type hints, although they are not available for primitives like string, int, boolean, etc. Still, I'd like to see the object type hint introduced in any future version of PHP that allows me to specify, that a method or function only accepts an object, regardless of the type of the object.
</blockquote>
<p>
He <a href="http://www.stubbles.org/archives/5-My-wishlist-for-PHP-6,-pt1-The-object-type-hint.html">gives the example</a> of Java's handling of the functionality and what PHP does with the same type of code. He also mentions that, via the <a href="http://us2.php.net/reflection">Reflection API extension</a>, some of this is possible already, so why not just include it from here on out?
</p>]]></description>
      <pubDate>Tue, 20 Feb 2007 09:07:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: PEAR Version 1.5.0 Released]]></title>
      <guid>http://www.phpdeveloper.org/news/7156</guid>
      <link>http://www.phpdeveloper.org/news/7156</link>
      <description><![CDATA[<p>
The <a href="http://pear.php.net">PEAR group</a> is happy to announce the release of the latest version of the popular package system for PHP - PEAR 1.5.0. <a href="http://pear.php.net/package/PEAR/download/">Changes</a> in the new version include extension enabling in php.ini, implementing TAP output option for run-tests command, recognize deprecated package/channel and display to user, and much more.
</p>
<p>
The community is also talking about the release:
<ul>
<li><i>Greg Beaver</i>'s <a href="http://greg.chiaraquartet.net/archives/163-PEAR-1.5.0-out-today-pushes-the-envelope.html">discussion</a> of how this new version is "pushing the envelope".
<li>A <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26810,nodeid,5.html">release announcement</a> from the International PHP Magazine website.
</ul>
You can get the full information on this new release from <a href="http://pear.php.net/package/PEAR/">the PEAR website</a> or just head straight to the <a href="http://pear.php.net/package/PEAR/download">download page</a> and grab the update.
</p>]]></description>
      <pubDate>Wed, 24 Jan 2007 07:33:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[David Sklar's Blog: Swanky New Ning Sites!]]></title>
      <guid>http://www.phpdeveloper.org/news/6384</guid>
      <link>http://www.phpdeveloper.org/news/6384</link>
      <description><![CDATA[<p>
<i>David Sklar</i> <a href="http://www.sklar.com/blog/archives/104-Swanky-New-Ning-Sites!.html">points out</a> some of the new base sites that are being offered on the PHP-based mashup site, <a href="http://www.ning.com">Ning</a>.
</p>
<blockquote>
<p>
It's been a lot of hard work, so I'm quite excited that we've just released three great new Ning sites: <a href="http://videos.ning.com/">Ning Videos</a>, <a href="http://photos.ning.com/">Ning Photos</a>, and <a href="http://group.ning.com/">Ning Group</a>.
</p>
<p>
Plus, all three sites have the juicy bits that every site on the Ning platform gets -- things such as cloneability, complete customization, and built-in REST APIs. I've been watching the feeds for <a href="http://photos.ning.com/xn/atom/1.0/application/children">clones of photos</a> and <a href="http://videos.ning.com/xn/atom/1.0/application/children">videos</a> -- I suppose seeing who's cloned sites you care about is the Web 2.0 version of ego surfing.
</p>
</blockquote>
<p>
He also talks about some of <a href="http://www.sklar.com/blog/archives/104-Swanky-New-Ning-Sites!.html">the features</a> of the Ning Photo cloneable site like the slideshow and, in Ning Video, the embeddable player. The Ning Group application also has parsing abilities to help with sharing documents/music/photos/etc with anyone.
</p>]]></description>
      <pubDate>Thu, 28 Sep 2006 07:55:00 -0500</pubDate>
    </item>
  </channel>
</rss>
