<?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, 20 Nov 2008 12:27:06 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: Dynamic Models in CakePHP 1.2]]></title>
      <guid>http://www.phpdeveloper.org/news/10772</guid>
      <link>http://www.phpdeveloper.org/news/10772</link>
      <description><![CDATA[<p>
In <a href="http://www.littlehart.net/atthekeyboard/2008/08/05/dynamic-models-in-cakephp-12/">this new post</a> to his blog <i>Chris Hartjes</i> mentions a "nifty little feature" that the latest version of the <a href="http://www.cakephp.org">CakePHP framework</a> has - dynamic models.
</p>
<blockquote>
By default now, Cake will automatically use the AppModel class and create a unique alias to a database table if it does not find the file. This means that if you have a table that follows the Cake conventions, needs no validation, and has no associations to other tables, you don't even have to create the model file any more. Woah, talk about a serious time saver in some cases. 
</blockquote>
<p>
He also mentions a gotcha to keep an eye out for - misspelling the model name when you use it. It'll definitely break things. You can find out more about models in CakePHP from <a href="http://book.cakephp.org/view/66/models">this section</a> in their manual, The Cookbook.
</p>]]></description>
      <pubDate>Wed, 06 Aug 2008 09:34:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PEAR Blog: PEAR Group Meeting Minutes 2008-07-13]]></title>
      <guid>http://www.phpdeveloper.org/news/10630</guid>
      <link>http://www.phpdeveloper.org/news/10630</link>
      <description><![CDATA[<p>
A <a href="http://blog.pear.bluga.net/2008/07/17/pear-group-meeting-minutes-2008-07-13/">new entry</a> has been posted to the PEAR blog with the latest minutes for the group's July 13th meeting.
</p>
<blockquote>
Some highlights from the meeting include new/upcoming RFCs for package naming schemes, exception handling in PHP 5.3, and a vote on extending the current PEAR2 Policies. Heavy stuff, check it out!
</blockquote>
<p>
You can check out the <a href="http://wiki.pear.php.net/index.php/MeetingMinutes20080713">full notes here</a> on the PEAR portion of the PHP.net wiki.
</p>]]></description>
      <pubDate>Thu, 17 Jul 2008 14:08:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: Namespaces in PHP? Why *wouldn't* you want them?]]></title>
      <guid>http://www.phpdeveloper.org/news/10520</guid>
      <link>http://www.phpdeveloper.org/news/10520</link>
      <description><![CDATA[<p>
With more recent talk about namespaces in PHP 5.3, bloggers all over are tossing their comments into the discussion. <i>Chris Hartjes</i> is one of the latest with <a href="http://www.littlehart.net/atthekeyboard/2008/06/30/namespaces-in-php-why-wouldnt-you-want-them/">his thoughts</a> on the point of the functionality.
</p>
<blockquote>
I'm an outsider when it comes to tracking the going-on in the world of PHP internals. So, because of that, I'm not going to comment on the actual syntax of how namespaces will be implemented or it's impact on internals. That's not really important as far as this particular discussion goes. 
</blockquote>
<p>
He <a href="http://www.littlehart.net/atthekeyboard/2008/06/30/namespaces-in-php-why-wouldnt-you-want-them/">mentions</a> one of the primary arguments for namespaces from the casual developer's perspective - keeping things separate and so classes can have the same naming as some of their cousins in other namespaces. 
</p>]]></description>
      <pubDate>Tue, 01 Jul 2008 11:14:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tobias Schlitt's Blog: iRefuseToUse aNamingScheme]]></title>
      <guid>http://www.phpdeveloper.org/news/10519</guid>
      <link>http://www.phpdeveloper.org/news/10519</link>
      <description><![CDATA[<p>
<i>Tobias Schlitt</i> has <a href="http://schlitt.info/applications/blog/index.php?/archives/607-iRefuseToUse-aNamingScheme.html">posted some comments</a> on things recently said on PHP's upcoming support for namespaces - specifically on the ideas about naming classes the could conflict with PHP's own internal ones.
</p>
<blockquote>
Namespaces are potentially coming in PHP 5.3 (does anyone believe?) and people start discussion about how they can even shorten their names from Abstract to aSomething and from Interface to iAnotherthing. I'm a fan of short names. [...] I agree with these rules and am of the opinion that class names must all above anything contain a semantic. Interfaces indicate what you can do with an object, while abstract classes model that different classes have a common base and can be used in the same mannor. And indeed you can add these semantics to names without using the terms.
</blockquote>
<p>
He gives a few <a href="http://schlitt.info/applications/blog/index.php?/archives/607-iRefuseToUse-aNamingScheme.html">examples</a>, things like Persistable, Configurable and Reflector.
</p>]]></description>
      <pubDate>Tue, 01 Jul 2008 10:25:30 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Two Security Tips - Naming Scheme & Input Filtering]]></title>
      <guid>http://www.phpdeveloper.org/news/7408</guid>
      <link>http://www.phpdeveloper.org/news/7408</link>
      <description><![CDATA[<p>
The Zend Developer Zone has posted two more handy security tips - <a href="http://devzone.zend.com/node/view/id/1761">one</a> concerning file/directory naming and <a href="http://devzone.zend.com/node/view/id/1767">the other</a> about input validation.
</p>
<p>
From <a href="http://devzone.zend.com/node/view/id/1761">the first tip</a>:
</p>
<blockquote>
Don't rely on obscure names to keep your application safe. You should always check permissions, test for vulnerabilities with testing tools and keep an eye on your log files for suspicious activity. When designing your applications and web sites though, don't make it easy for bad people to do bad things. Don't use default or common names for your files and directories.
</blockquote>
<p>
And from <a href="http://devzone.zend.com/node/view/id/1767">the second</a>:
</p>
<blockquote>
It's a sad fact of life but users are evil. Users want nothing more than to find a way to exploit your application. As soon as you let your guard down and start thinking "I'm only selling small stuffed animals so how evil can my users really be?" you've lost the battle.
</blockquote>
<p>
You can catch up on these and the other previous security tips on <a href="http://devzone.zend.com/public/view/tag/Security_Tips">this page</a> on the Zend Developer Zone website.
</p>]]></description>
      <pubDate>Thu, 08 Mar 2007 09:26:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Yet Another Web Development Blog: Dear PHP, I think it's time we broke up.]]></title>
      <guid>http://www.phpdeveloper.org/news/6935</guid>
      <link>http://www.phpdeveloper.org/news/6935</link>
      <description><![CDATA[<p>
As anyone that's worked with a programming language for a long time knows, you get to know the ins and outs of it pretty well. You get a good feel for how it all works and how feel confident in your skills with it. But what happens if you decide to move on and leave the relationship? Check out <a href="http://blog.rightbrainnetworks.com/2006/12/18/dear-php-i-think-its-time-we-broke-up/">this take</a> on just such a situation from the Yet Another Web Development Blog.
</p>
<blockquote>
We've been together for about five years now. I've had a lot of good times and I've really enjoyed being with you. However, the more we work together, the more concerned I get about our future. I'm sorry, but you don't have the elegance that inspires me to want marry you. I think it's time we broke up.
</blockquote>
<p>
Some of the <a href="http://blog.rightbrainnetworks.com/2006/12/18/dear-php-i-think-its-time-we-broke-up/">reasons given</a> for moving on is PHP's seeming identity crisis, consistency in function names/functionality, and performance issues that were just too much. 
</p>
<p>
Despite being a bit anti-PHP, it's still a well-written piece. <a href="http://blog.rightbrainnetworks.com/2006/12/18/dear-php-i-think-its-time-we-broke-up/">Check it out</a>...
</p>]]></description>
      <pubDate>Tue, 19 Dec 2006 11:56:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPKitchen: Advantages of using the PEAR class naming convention]]></title>
      <guid>http://www.phpdeveloper.org/news/6580</guid>
      <link>http://www.phpdeveloper.org/news/6580</link>
      <description><![CDATA[<p>
Keeping with convention - well, naming convention - is a good thing sometimes. <i>Demian Turner</i> <a href="http://www.phpkitchen.com/index.php?/archives/663-Advantages-of-using-the-PEAR-class-naming-convention.html">thinks so</a> and talks about one of many reasons he sees to follow a standard set in place for a while now - the <a href="http://pear.php.net">PEAR</a> naming standard. 
</p>
<blockquote>
By far the most convincing reason to use the file naming convention, which means that a class located in your include path like Foo/Bar/Baz.php is called Foo_Bar_Baz, is the ability to take advantage of PHP 5's __autoload magic method.
</blockquote>
<p>
The __autoload functionality in PHP 5 is definitely one of the most handy, elegant single lines of code out there and I'd definitely vote for anything that will make working with it even easier. <i>Demian</i> also includes a few lines of example code to show the interaction between the function and the files with the naming convention.
</p>]]></description>
      <pubDate>Thu, 26 Oct 2006 07:51:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Scott Johnson's Blog: Podcast : PHP Theory 1]]></title>
      <guid>http://www.phpdeveloper.org/news/5984</guid>
      <link>http://www.phpdeveloper.org/news/5984</link>
      <description><![CDATA[<p>
<i>Scott Johnson</i> has created and posted another in his podcast series today, <a href="http://fuzzyblog.com/archives/2006/08/08/podcast-php-theory-1/">this time</a>, he looks not at the development side of PHP - the actual code - but at the theory behind its development and best practices.
</p>
<p>
At the request of a listener to past podcasts, <i>Scott</i> created <a href="http://fuzzyblog.com/archives/2006/08/08/podcast-php-theory-1/">this one</a> to share some of his experiences and findings along the path of his develoopment. Some of the items covered in the podcast include:
<ul>
<li>package and library management
<li>naming conventions
<li>the seperation of UI and business logic
<li>code distribution
<li>using test harnesses
</ul>
</p>
<p>
You can download the MP3 of the podcast <a href="http://fuzzyblog.com/podcasts/f-79-gc-php-theory-001.mp3">directly from here</a>.
</p>]]></description>
      <pubDate>Tue, 08 Aug 2006 12:22:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Paul Jones' Blog: Solar 0.20.0 released]]></title>
      <guid>http://www.phpdeveloper.org/news/5693</guid>
      <link>http://www.phpdeveloper.org/news/5693</link>
      <description><![CDATA[<p>
<i>Paul Jones</i> has posted today about the <a href="http://paul-m-jones.com/blog/?p=217">release of the latest version</a> of his Solar framework, version 0.20.0 alpha.
</p>
<blockquote>
<p>
Exactly one month after the last release, I have uploaded version 0.20.0 alpha. There are lots of changes in this release, but the biggest news is that the page-controller now uses method-based actions (as opposed to file-based actions).
</p>
<p>
You can read the change notes <a href="http://solarphp.com/channel.php?package=Solar&release=0.20.0&downloads">here</a>, but it's a really long list. If you want something a little more readable, with better narrative, you'll find it after the jump below. The new page-controller information is especially good. However, the narrative is quite long, so consider yourself warned. ;-)
</p>
</blockquote>
<p>
For those that don't want to take the time to read through it all, he <a href="http://paul-m-jones.com/blog/?p=217">summarizes</a> it into six different sections:
<ul>
<li>Naming and Standards
<li>Class Name Changes
<li>Inherited Config File Values
<li>Adapter Configuration
<li>Locale Files
<li>Page-Controller Class
</ul>
</p>
<p>
Each section has its own explaination of the changes made in (a bit) more concise manner. Be sure to check out <a href="http://solarphp.com/channel.php?package=Solar&release=0.20.0&downloads">the full notes</a> to read up on everything.
</p>]]></description>
      <pubDate>Tue, 27 Jun 2006 05:52:03 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tnx.nl: PHP in Contrast to Perl]]></title>
      <guid>http://www.phpdeveloper.org/news/5415</guid>
      <link>http://www.phpdeveloper.org/news/5415</link>
      <description><![CDATA[<p>
As long as people "choose sides" when it comes to programming languages, there will always be articles <a href="http://tnx.nl/php">like this</a> to compare them. This time, it's a look at PHP versus another much-loved language, Perl.
</p>
<p>
<a href="http://tnx.nl/php">The article</a> takes a look at several different topics under this one umbrella, including:
<ul>
<li>Arguments and return values are extremely inconsistent
<li>PHP has inconsistent function naming
<li>PHP has no lexical scope
<li>PHP has too many functions in the core
</ul>
</p>
<p>
Obviously, they all seem to take a negative slant on PHP, but they do provide some content under each of the headings to back up their claims. They break out the contents of each of these examples to make comparison of Perl's and PHP's similar functionality easier. At the end, they also provide links to other resources and other posters illustrating some of the points <a href="http://tnx.nl/php">they've shown</a>.
</p>]]></description>
      <pubDate>Mon, 22 May 2006 06:21:33 -0500</pubDate>
    </item>
  </channel>
</rss>
