<?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, 15 Oct 2008 22:14:56 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[LivePipe Blog: What PHP6 Actually Needs]]></title>
      <guid>http://www.phpdeveloper.org/news/7846</guid>
      <link>http://www.phpdeveloper.org/news/7846</link>
      <description><![CDATA[<p>
On the LivePipe blog, there's <a href="http://livepipe.net/blog/programming/what_php6_actually_needs">a whishlist</a> that <i>Ryan</i> has posted for some of the things he'd like to see in PHP6.
</p>
<p>His list consists of:</p>
<ul>
<li>Closures
<li>{ } is the new array()
<li>Parameter Collection in Functions
<li>Late Static Binding
<li>Backwards Compatibility
</ul>
<p>
Each is <a href="http://livepipe.net/blog/programming/what_php6_actually_needs">explained</a>, some with code to illustrate.
</p>]]></description>
      <pubDate>Tue, 15 May 2007 10:13:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stubbles Blog: My wishlist for PHP6, pt4: static initializers]]></title>
      <guid>http://www.phpdeveloper.org/news/7499</guid>
      <link>http://www.phpdeveloper.org/news/7499</link>
      <description><![CDATA[<p>
In a continuation of their "wishlist" series of posts for PHP6, <i>Stephan Schmidt</i> has <a href="http://www.stubbles.org/archives/15-My-wishlist-for-PHP6,-pt4-static-initializers.html">postted this new item</a> today taking about something he wishes PHP could do - initialize a property when defining an object.
</p>
<blockquote>
<p>
But how could this be solved, when you never create an instance of Foo but only use static method calls?
</p>
<p>
I propose a new feature, we implemented in the Stubbles class loader and has been shamelessly ripped from the XP framework. If you need to initialize some properties with objects and are developing with Stubbles, you only need to implement a method called __static() in your class. If your class is loaded by the Stubbles class loader, it will check, whether this method has been implemented and call it. As every class is only loaded once, this enables you to add code to your class, that is also only executed once, if the class is imported into your application.
</p>
</blockquote>
<p>
<a href="http://www.stubbles.org/archives/15-My-wishlist-for-PHP6,-pt4-static-initializers.html">His solution</a> allows for the creation of such objects with little more than the use of a __static call that could get the object and change the property defined on it.
</p>]]></description>
      <pubDate>Mon, 26 Mar 2007 09:16:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stubbles Blog: More PHP6 Wishlist Talk (Annotations)]]></title>
      <guid>http://www.phpdeveloper.org/news/7354</guid>
      <link>http://www.phpdeveloper.org/news/7354</link>
      <description><![CDATA[<p>
<i>Frank</i> and <i>Stehpan</i> has posted <a href="http://www.stubbles.org/archives/8-My-wishlist-for-PHP-6,-pt3-Annotations.html">two</a> <a href="http://www.stubbles.org/archives/9-Wishlist-pt-3-opposed-specifications-instead-annotations.html">more</a> items in their "PHP6 wishlist" series" today - both mentioning annotations.
</p>
<p>
In <a href="http://www.stubbles.org/archives/8-My-wishlist-for-PHP-6,-pt3-Annotations.html">Stephan's post</a>:
<blockquote>
Porting JavaDoc comments to PHP was one of the best things, that ever happened to to PHP4. But like in Java 4, the DocBlocks in PHP evolved from plain documentation to a feature that adds meta information to classes, methods, properties and variables. IDEs, like Zend Studio, use the @var tag to enable type hinting for method return values, which would not possible without the DocBlock, as PHP is a dynamic languages.
</blockquote>
<p>
And from <i>Frank</i>:
</p>
<blockquote>
In <a href="http://www.stubbles.org/archives/8-My-wishlist-for-PHP-6,-pt3-Annotations.html">part three of his wishlist</a> for PHP 6 Stephan wrote that he would like to see annotations built into PHP 6 directly. I disagree with him about that. Annotations can be done in userland, without any problems. He already gave some examples of projects that accomplished this task. But if you look at them you see that every project has a different solution on how to implement annotations for PHP which leads to the problem that if you use different projects in your own application you have to handle all their ways of treating annotations. Annoying, isn't it?
</blockquote>]]></description>
      <pubDate>Tue, 27 Feb 2007 13:02:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Stubbles Blog: Two New PHP6 Wishlist Items]]></title>
      <guid>http://www.phpdeveloper.org/news/7321</guid>
      <link>http://www.phpdeveloper.org/news/7321</link>
      <description><![CDATA[<p>
Launching off from <a href="http://www.phpdeveloper.org/news/7309">this previous post</a> on the Stubbles Blog, two more posts (from two other developers) have been posted on the same subject:
<ul>
<li>In <a href="http://www.stubbles.org/archives/6-Wishlist-pt1-extended-more-type-hints.html">this new post</a>, <i>Frank Kleine</i> takes things a step further and talks about the same kind of type hinting but for more types - including arrays and objects. Examples of how he'd expect things to work followed.
<li><a href="http://www.stubbles.org/archives/7-My-wishlist-for-PHP-6,-pt2-Namespaces.html">The other post</a> is from <i>Stephan Schmidt</i> again and varies slightly off into the world of Namespaces to be included in PHP6 along with the use of annotations.
</ul>
Be sure to check out the comments <a href="http://www.stubbles.org/archives/6-Wishlist-pt1-extended-more-type-hints.html">on</a> <a href="http://www.stubbles.org/archives/7-My-wishlist-for-PHP-6,-pt2-Namespaces.html">each</a> for some more interesting tidbits...
</p>]]></description>
      <pubDate>Wed, 21 Feb 2007 10:29:00 -0600</pubDate>
    </item>
  </channel>
</rss>
