<?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>Sun, 06 Jul 2008 17:13:31 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[SitePoint PHP Blog: Last we checked, PHP IS a framework.]]></title>
      <guid>http://www.phpdeveloper.org/news/10367</guid>
      <link>http://www.phpdeveloper.org/news/10367</link>
      <description><![CDATA[<p>
According to <i>Akash Mehta</i> in <a href="http://www.sitepoint.com/blogs/2008/06/08/last-we-checked-php-is-a-framework/">this new post</a> on the SitePoint PHP blog, all of the frameworks out there aren't really needed because "last we checked, PHP IS a framework".
</p>
<blockquote>
Now, consider the "average" PHP frameworks. They help you handle request data, manage your output, control app flow - essentially, extending PHP's inbuilt functionality. They are, therefore, PHP frameworks on the PHP framework. PHP provides a vast array (pardon the pun) of functionality out of the box. But when you want to do things your way, it gets out of the way, and this is really important when building anything beyond a simple database frontend.
</blockquote>
<p>
He <a href="http://www.sitepoint.com/blogs/2008/06/08/last-we-checked-php-is-a-framework/">suggests</a> that PHP is a "half framework" on its own, providing quick an easy methods and functionality to build up applications. He gives an example of Twitter (and really, who isn't picking on them these days) and how it probably could have avoided a lot of the issues it is seeing if it had gone with something a bit more efficient and flexible.
</p>
<p>
Be sure to check out <a href="http://www.sitepoint.com/blogs/2008/06/08/last-we-checked-php-is-a-framework/#comments">the comments</a> for some other great opinions from the community.
</p>]]></description>
      <pubDate>Mon, 09 Jun 2008 09:33:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPImpact Blog: PHP Compiler for the .NET Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/10335</guid>
      <link>http://www.phpdeveloper.org/news/10335</link>
      <description><![CDATA[<p>
<a href="http://phpimpact.wordpress.com/2008/05/31/php-compiler-for-the-net-framework/">This post</a> on the PHPImpact blog talks about a compiler that helps to bridge some of the gap between PHP and .NET - <a href="http://php-compiler.net/">Phlanger</a>.
</p>
<blockquote>
Phalanger is a new PHP implementation introducing the PHP language into the family of compiled .NET languages. [...] Phalanger compiles PHP scripts into MSIL (Microsoft Intermediate Language) which can be executed by .NET or Mono runtime.
</blockquote>
<p>
He mentions some of the features of the tool (including interoperability between .NET and PHP and the ability to use current PHP libraries inside the .NET application). More information can be found on the <a href="http://php-compiler.net/">Phlanger website</a>.
</p>]]></description>
      <pubDate>Wed, 04 Jun 2008 08:48:47 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Michael Kimsal's Blog: PHP, Groovy and language evolution]]></title>
      <guid>http://www.phpdeveloper.org/news/10298</guid>
      <link>http://www.phpdeveloper.org/news/10298</link>
      <description><![CDATA[<p>
In a <a href="http://michaelkimsal.com/blog/php-groovy-and-language-evolution/">new post</a> <i>Michael Kimsal</i> does a good job comparing the rise of PHP5 (and what it brought with it) to his language of choice these days - <a href="http://groovy.codehaus.org/">Groovy</a>.
</p>
<blockquote>
I remember when PHP5 first came out having 'discussions' with a number of people who insisted that PHP5 was way better than 4. [...] Basically, intentions were made clearer with things like "public protected private" (PPP),but I have not yet seen any web project get done faster or dare I say even much *better* due to those sorts of things. [...] This isn't specifically saying PPP is necessarily bad, but that PHP could have addressed the issue in a fashion more suitable to dynamic languages.  Keep reading for an example.
</blockquote>
<p>
His comparison is to how Groovy handles properties in a class - everything is private unless declared otherwise. This could be ported (somewhat) over to PHP and would eliminate the need to search&replace all over the code for the right variables.
</p>]]></description>
      <pubDate>Thu, 29 May 2008 12:52:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brian Moon's Blog: Short Array Syntax for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10296</guid>
      <link>http://www.phpdeveloper.org/news/10296</link>
      <description><![CDATA[<p>
There's been some talk floating around about a proposed additional syntax for creating arrays in PHP. <i>Brian Moon</i> <a href="http://brian.moonspot.net/2008/05/28/short-array-syntax-for-php/">sums it up nicely</a> in a new post to his blog.
</p>
<blockquote>
So, I was asked in IRC today about the proposed short array syntax for PHP. For those that don't know, I mean the same syntax that other languages (javascript, perl, python, ruby) all have. [...] It just feels like a good addition to the language. It is common among web languages and therefore users coming into PHP from other languages may find it more comfortable.
</blockquote>
<p>
He <a href="http://brian.moonspot.net/2008/05/28/short-array-syntax-for-php/">compares</a> it with other data type creation in PHP (you don't call int() to make an integer, so why call array() to make an array). However, according to <A href="http://marc.info/?l=php-internals&m=121151618528857&w=2">a post</a> from the internals mailing list, we might not be seeing this any time soon.
</p>]]></description>
      <pubDate>Thu, 29 May 2008 11:13:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lukas Smith's Blog: YAML and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10269</guid>
      <link>http://www.phpdeveloper.org/news/10269</link>
      <description><![CDATA[<p>
In <a href="http://pooteeweet.org/blog/0/1119">this new post</a> from <i>Lukas Smith</i> he talks about YAML, that handy data storage format and the two methods for its use in PHP (and why he's stuck with one of them).
</p>
<blockquote>
If you use YAML in PHP, then you had until recently the choice between the C based PECL extension <a href="http://pecl.php.net/package/syck">syck</a> or the horrible <a href="http://spyc.sourceforge.net/">spyc</a> PHP based implementation. With syck it has the issue that it only supports the core standard and not stuff like <a href="http://yaml.org/type/merge.html">merge-key</a>, which is a very very useful extension to the core YAML standard.
</blockquote>
<p>
He also <a href="http://pooteeweet.org/blog/0/1119">points out</a> another implementation that the Symfony framework has created - one built around regular expressions (slower, but a "more correct" version).
</p>]]></description>
      <pubDate>Mon, 26 May 2008 13:04:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Kurt Schrader's Blog: Ruby is a Playground, PHP is a Factory ]]></title>
      <guid>http://www.phpdeveloper.org/news/10255</guid>
      <link>http://www.phpdeveloper.org/news/10255</link>
      <description><![CDATA[<p>
In a <a href="http://kurt.karmalab.org/articles/2008/05/21/ruby-is-a-playground-php-is-a-factory">new post</a> to his blog, <i>Kurt Schrader</i> suggests that the Ruby language feels more like a playground to him and PHP, more of a factory. (note: pro-Ruby article)
</p>
<blockquote>
While reading yet another article on why <a href="http://www.codinghorror.com/blog/archives/001119.html">PHP Sucks (today's witty twist, "but It Doesn't Matter")</a> I realized yet another reason that I'm glad to be programming in Ruby.
</blockquote>
<p>
He sees Ruby as a "big open playground" and languages like PHP as big industrial factories that are more efficient for some things but can also "suck the creativity and life out of the people working in them". He compares a simple bit of Ruby code to PHP code that do essentially the same ask asks why you'd want to do one over the other.
</p>
<p>
There's plenty of <a href="http://kurt.karmalab.org/articles/2008/05/21/ruby-is-a-playground-php-is-a-factory#comments">comments</a> supporting things both ways ranging from "that's a bad example" to "I think PHP is more of a playground - a disorganized mess".
</p>]]></description>
      <pubDate>Fri, 23 May 2008 10:22:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jeff Atwood's Blog: PHP Sucks, But It Doesn't Matter]]></title>
      <guid>http://www.phpdeveloper.org/news/10240</guid>
      <link>http://www.phpdeveloper.org/news/10240</link>
      <description><![CDATA[<p>
There's an <a href="http://www.codinghorror.com/blog/archives/001119.html">interesting post</a> <i>Jeff Atwood</i> has made to his blog about PHP - its lack of standards, the way the language is structured and why none of that matters when it comes to its popularity.
</p>
<blockquote>
PHP isn't so much a language as a random collection of arbitrary stuff, a virtual explosion at the keyword and function factory.
</blockquote>
<p>
He includes links to several <a href="http://www.tbray.org/ongoing/When/200x/2006/02/17/PHP">other</a> <a href="http://loveandtheft.org/2008/05/20/php-is-the-new-vb6-in-a-c-dress/">articles</a> that follow the "PHP sucks" train of thought too, but he notes that none of that really matters - its the popularity of PHP, its use in major corporate and social networking applications that is seeming to help drive it even more for developers to pick up and learn as a first web language.
</p>
<blockquote>
Why fight it? I say learn to embrace it. Join with me, won't you, in celebrating the next fifty years of glorious PHP code driving the internet. Just don't forget to call the maintain_my_will_to_live() PHP function every so often!
</blockquote>
<p>Responses from the community:</p>
<ul>
<li><a href="http://php100.wordpress.com/2008/05/21/secret-of-php/">Stas</a> on the PHP 10.0 blog
</ul>]]></description>
      <pubDate>Thu, 22 May 2008 07:57:12 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Gaylord Aulke's Blog: PHP vs. Java]]></title>
      <guid>http://www.phpdeveloper.org/news/10214</guid>
      <link>http://www.phpdeveloper.org/news/10214</link>
      <description><![CDATA[<p>
In <a href="http://100days.de/serendipity/archives/45-PHP-vs.-Java.html">a new post</a> to his blog <i>Gaylord Aulke</i> talks about some of the "soft facts" that make PHP different from Java:
</p>
<blockquote>
Besides the usual aspects: scripting vs. compiled and in-process vs. seperate process and Multithreading etc., i think there are some "soft facts" that might be even more important for commercial software development.
</blockquote>
<p>
He points out things like differences in object lifetimes, defined structures in applications and the "not invented here" syndrome that he thinks PHP suffers more from.
</p>
<blockquote>
Anyway, the result is: Even though there are not so many standards in the PHP world, successful developers have a common understanding about the do's and don'ts in PHP. [...] PHP appears more predictable than other programming languages.
</blockquote>]]></description>
      <pubDate>Mon, 19 May 2008 12:57:56 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: A PHP Guy's Look At Python]]></title>
      <guid>http://www.phpdeveloper.org/news/10149</guid>
      <link>http://www.phpdeveloper.org/news/10149</link>
      <description><![CDATA[<p>
Focusing on PHP day in and day out is nice, but sometimes it's good to branch out a bit. <i>Kevin Yank</i> agrees and decided to <a href="http://www.sitepoint.com/blogs/2008/05/09/a-php-guy%e2%80%99s-look-at-python/">give Python a try</a>. He's written up this post to the SitePoint PHP blog as he explores the language from a PHP developer's perspective.
</p>
<blockquote>
Like may SitePoint readers, I cut my teeth on PHP. I've become very comfortable with it over the years, warts and all. PHP continues to be a dependable choice, but PHP hasn’t changed a whole lot lately. [...] Python has a lot in common with PHP: it’s a dynamically typed, open source scripting language with excellent documentation and a thriving community around it.
</blockquote>
<p>
He <a href="http://www.sitepoint.com/blogs/2008/05/09/a-php-guy%e2%80%99s-look-at-python/">includes</a> a few basic "Hello World" kinds of examples in Python just to introduce you to the language structure (indenting for code structure? that's crazy talk for us PHPers) and some of the handy features of the language like sequences and the language's automatic namespace support.
</p>]]></description>
      <pubDate>Fri, 09 May 2008 08:48:46 -0500</pubDate>
    </item>
  </channel>
</rss>
