<?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>Thu, 24 May 2012 16:30:08 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Vance Lucas' Blog: Protected vs Private Scope: Arrogance, Fear and Handcuffs]]></title>
      <guid>http://www.phpdeveloper.org/news/16148</guid>
      <link>http://www.phpdeveloper.org/news/16148</link>
      <description><![CDATA[<p>
<i>Vance Lucas</i> has tossed his hat into the ring in the debate about private versus protected scope in PHP projects with <a href="http://www.vancelucas.com/blog/protected-vs-private-scope-arrogance-fear-and-handcuffs/">this new post</a> to his blog.
</p>
<blockquote>
The age old private vs protected debate has been re-ignited in the PHP community recently following the decision of Doctrine2 and Symfony2 to make all class methods private until there is a very clear and proven reason to change them to protected or public. The intention is a good one - to ensure they are providing a clear and stable API through intentional and known extension points that they can better test and support. [...] The problem is that this kind of thinking is a slippery slope that kills the spirit of programming.
</blockquote>
<p>
He suggests that, by limiting the scoping down to private, you're taking away the very thing that gets most people excited about third-party tools - the extensibility. In his opinion, it sends a strong message to other developers that they're "not welcome" to make suggestions or updates to the application/tool. 
</p>]]></description>
      <pubDate>Tue, 05 Apr 2011 10:45:53 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[IBM developerWorks: Accessing third-party content with oEmbed and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16041</guid>
      <link>http://www.phpdeveloper.org/news/16041</link>
      <description><![CDATA[<p>
On IBM's developerWorks there's <a href="http://www.ibm.com/developerworks/web/library/x-oembed/index.html?ca=drs-">a recent article</a> from <i>Vikram Vaswani</i> about using the <a href="http://www.oembed.com">oEmbed</a> tool to pull content into your site from sources like YouTube, Twitter and Facebook.
</p>
<blockquote>
If you have your photos in Flickr, your videos in YouTube, and your TV shows in Hulu, how do you bring them all into your blog posts on Blogger? Of course, you can do this by hyperlinking to the appropriate content, but wouldn't it be nicer if you could just embed them into your post at the appropriate place? Enter oEmbed.
</blockquote>
<p>
He gives examples showing how to pull in content from a few different places - a video from YouTube, one from Revision3 and an image from deviantART. He also talks about using the oohEmbed service to access additional content on things like Wikipedia, Slideshare and Amazon. There's also a bit at the end looking at an alternative PHP library that could be used to do similar things, php-oembed.
</p>]]></description>
      <pubDate>Mon, 14 Mar 2011 13:42:44 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matrin Rusev's Blog: Building a PHP Framework - Lessons Learned]]></title>
      <guid>http://www.phpdeveloper.org/news/12030</guid>
      <link>http://www.phpdeveloper.org/news/12030</link>
      <description><![CDATA[<p>
If you're thinking of trying your hand at creating your own PHP framework, you might want to <a href="http://www.martinrusev.net/blog/2009/02/building-php-framework-lessons-learned/">check out this post</a> from <i>Matrin Rusev</i> about some of the lessons he learned (the hard way) about framework construction.
</p>
<blockquote>
After using Codeigniter, CakePHP and Zend Framework for a while I decided to build my own framework. I wanted to include some features that I couldn't find the way I like them in none of the projects I tested. These are some lessons I learned the hard way. I hope you'd find some useful tips for your software projects.
</blockquote>
<p>
The post looks a a few different topics - doing good planning before development starts, using third-party libraries, planning out the syntax the components inside of your framework will use, how to handle debugging and two tools you can use to benchmark the end result.
</p>]]></description>
      <pubDate>Thu, 26 Feb 2009 12:02:32 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Turland's Blog: Log Analysis and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8580</guid>
      <link>http://www.phpdeveloper.org/news/8580</link>
      <description><![CDATA[<p>
In a <a href="http://ishouldbecoding.com/2007/09/03/log-analysis-and-php/">new post</a>, <i>Matthew Turland</i> looks at one thing that he feels is missing from a lot of the PHP functionality currently available in the community today - log analysis features.
</p>
<blockquote>
Log analysis is a fairly common task in the field of web development, most often analysis of web server traffic logs or what Wikipedia refers to as <a href="http://en.wikipedia.org/wiki/Web_analytics">web analytics</a>. PHP has no officially supported extensions designed specifically for log analysis. There are no related extensions in PECL. The only remotely related extension in PEAR is <a href="http://pear.php.net/package/Log">PEAR_Log</a>, which for generating logs rather than parsing or analyzing them. In short, there is no common solution here.
</blockquote>
<p>
He looks at the options that developers do have - make their own solution or go with a third party option. <a href="http://ishouldbecoding.com/2007/09/03/log-analysis-and-php/">He believes</a>, though, that a PECL extension would be more the way to go, integrating with PHP more closely and allow for easier parsing and manipulating of the data in their own log files.
</p>]]></description>
      <pubDate>Mon, 03 Sep 2007 21:41:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Security Blog: Open_basedir confusion]]></title>
      <guid>http://www.phpdeveloper.org/news/7283</guid>
      <link>http://www.phpdeveloper.org/news/7283</link>
      <description><![CDATA[<p>
<i>Stefan Esser</i> is trying to clear up some confusion in a <a href="http://blog.php-security.org/archives/72-Open_basedir-confusion.html">new post</a> to the PHP Security Blog today about his stand on enabling <a href="http://www.php.net/manual/en/features.safe-mode.php">open_basedir</a> on your PHP installation.
</p>
<blockquote>
From time to time I get the question why I recommend enabling <a href="http://www.php.net/manual/en/features.safe-mode.php">open_basedir</a> and on the other hand call it a solution flawed by design. This is actually a good question, because the untrained PHP user might get a little bit confused about this and might believe that I change my opinion on a daily basis.
</blockquote>
<p>
He <a href="http://blog.php-security.org/archives/72-Open_basedir-confusion.html">talks about</a> his reasoning - how it does it's job protecting PHP developers from being able to get to those file, but how it's also flawed with issues due to some 3rd party libraries that have their own problems.
</p>]]></description>
      <pubDate>Thu, 15 Feb 2007 07:42:00 -0600</pubDate>
    </item>
  </channel>
</rss>

