<?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, 18 May 2013 19:40:04 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Reddit.com: Can We Revive php.net User Notes Or Kill It?]]></title>
      <guid>http://www.phpdeveloper.org/news/18475</guid>
      <link>http://www.phpdeveloper.org/news/18475</link>
      <description><![CDATA[<p>
In <a href="http://www.reddit.com/r/PHP/comments/zixee/can_we_revive_phpnet_user_notes_or_kill_it/">this discussion on Reddit</a>, there's talk about the user comments feature on the <a href="http://php.net">PHP.net</a> site and the value they provide to the language and community.
</p>
<blockquote>
The question, however, has always been "how useful is this feature really and does it bring more harm than good?". It's not that easy to answer since there are so many notes submitted by a wide range of users and some will likely go unnoticed while others seem to get undue attention due to their positioning near the top of the user-notes section of a particularly trafficked page.
</blockquote>
<p>
The poster proposes a few things that could help make them a bit more effective (and useful overall) including voting on the note contents, flagging potential issues and sorting the notes based on popularity/age. He's put together a proof of concept <a href="http://php.sheriframadan.com/manual/en/function.strtotime.php#109929">as seen here</a> with some of the new features. 
</p>]]></description>
      <pubDate>Thu, 13 Sep 2012 12:56:44 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brandon Savage's Blog: Be Wary of User Contributed Notes]]></title>
      <guid>http://www.phpdeveloper.org/news/13576</guid>
      <link>http://www.phpdeveloper.org/news/13576</link>
      <description><![CDATA[<p>
<i>Brandon Savage</i> has <a href="http://www.brandonsavage.net/be-wary-of-user-contributed-notes/">a reminder</a> for both those familiar with PHP and a warning for those new to the language - take the examples in the comments of the <a href="http://php.net">PHP.net</a> with a grain of salt.
</p>
<blockquote>
This morning, I was reviewing the weekly list of topics with the most comments throughout the PHP manual, and I stumbled upon the following code in the documentation for the date() function. This code is designed to tell you the day of the week for any valid date you give it. [...] I'm sure that this user put a lot of work and effort into this function. I'm sure they were excited to share it with the PHP community. I'm sure they thought they had stumbled on a solution to a problem that everyone needed to solve. I'm sure they had no idea that this code is a great example of using PHP precisely the wrong way.
</blockquote>
<p>
His example, one that uses around 30 lines of code to do something that <a href="http://php.net/date">date</a> could accomplish in one, is a perfect example of why blindly following the advice of others without thinking things through can be disastrous for your code. Do a bit of research before you cut and paste and remember that with someone else's code could come someone else's problems - think before you implement.
</p>]]></description>
      <pubDate>Mon, 23 Nov 2009 09:19:46 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Adam Harvey's Blog: (Unmoderated) manual notes are bad, mmkay?]]></title>
      <guid>http://www.phpdeveloper.org/news/13458</guid>
      <link>http://www.phpdeveloper.org/news/13458</link>
      <description><![CDATA[<p>
In <a href="http://xn--9bi.net/2009/10/30/unmoderated-manual-notes-are-bad-mmkay/">this new post</a> to his blog <i>Adam Harvey</i> shares his opinion on unmoderated notes dropped directly into the PHP manual - "they're bad, mkay?"
</p>
<blockquote>
I've had a couple of whinges on IRC lately about why I'm not thrilled with having user notes in their current form in the PHP manual; we get entirely too many questions in ##php from people who've copied code out of a note and are then annoyed when it turns out the code is wrong, broken, horrible, or all of the above.
</blockquote>
<p>
His gives an example (one of many currently in the manual) that shows a round-about way of getting a date string that could be done better in a single "format()" function call on a DateTime object.
</p>
<blockquote>
I don't know what the answer is - moderation has its own problems to do with workload, as PEAR can attest - but a system that's letting that go up as recommended practice (and stay up for a month) has to be looked at.
</blockquote>]]></description>
      <pubDate>Fri, 30 Oct 2009 10:49:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: PHP Developers Meeting 2009]]></title>
      <guid>http://www.phpdeveloper.org/news/12621</guid>
      <link>http://www.phpdeveloper.org/news/12621</link>
      <description><![CDATA[<p>
As <i>Andrei Zmievski</i> <a href="http://gravitonic.com/2009/06/php-developers-meeting-notes">points out</a>, the notes from the PHP Developers Meeting have been <a href="http://wiki.php.net/summits/pdmnotesmay09">posted to the php.net wiki</a>.
</p>
<blockquote>
Taking advantage of <a href="http://tek.mtacon.com/">php|tek</a> bringing a lot of people together, we had a PHP developers meeting over 2 days before the conference. Day 1 was dedicated to technical issues in PHP 5 and 6, and day 2 was spent discussing potential features, migration issues, current roadblocks, etc.
</blockquote>
<p>
<a href="http://wiki.php.net/summits/pdmnotesmay09">The notes</a> cover PHP versions 5.3, a possible 5.4 and looks forward to 6.0. There's some interesting stuff in there, so read over it if you get a chance.
</p>]]></description>
      <pubDate>Thu, 04 Jun 2009 07:52:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jamie Hemmett's Blog: Tips for PHP User Groups]]></title>
      <guid>http://www.phpdeveloper.org/news/11219</guid>
      <link>http://www.phpdeveloper.org/news/11219</link>
      <description><![CDATA[<p>
<i>Jamie Hemmett</i> has <a href="http://jaime.hemmett.org/blog/?p=182">a few suggestions</a> for local user groups out there on what to do and not to do to help make their group successful. Some of it was gathered from personal experience, other tips from the recent <A href="http://devzone.zend.com/article/3941-PHP-User-Group-Panel-Discussion-at-ZendCon-UnCon">user group panel discussion</a> from this year's <a href="http://www.zendcon.com">ZendCon</a>.
</p>
<blockquote>
I just listened to the <a href="http://devzone.zend.com/article/3941-PHP-User-Group-Panel-Discussion-at-ZendCon-UnCon">PHP User group Panel discussion</a> from the Unconference session at ZendCon. While I listened I took some notes to try and help our <a href="http://php.ie/">Irish PHP Users Group</a> be awesome like some of the other groups out there. I reckon the podcast and great tips it contains will help other User Groups out there too (not just PHP).
</blockquote>
<p>Some of the observations/comments she mentions include:</p>
<ul>
<li>Freelancing PHP developers may not feel like attending a group with "the competition"
<li>Several factors dissuade developers from attending (distance, confusing schedules, timing)
<li>Some ideas that groups out there could use to attract and keep more members
<li>Why the groups can make you a better developer
<li>and some sponsorship/promotion ideas to help grow and better the group
</ul>
<p>
This is a <a href="http://jaime.hemmett.org/blog/?p=182">great post</a> packed with some good suggestions and observations. If you're involved at all in your local group (or would like to be) be sure to read it.
</p>]]></description>
      <pubDate>Wed, 15 Oct 2008 15:06:55 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ben Ramsey's Blog: NY Thoughts and Zend_View_Helper Notes]]></title>
      <guid>http://www.phpdeveloper.org/news/7598</guid>
      <link>http://www.phpdeveloper.org/news/7598</link>
      <description><![CDATA[<p>
In a <a href="http://benramsey.com/archives/ny-thoughts-and-zend_view_helper-notes/">new post today</a>, <i>Ben Ramsey</i> continues on from some <a href="http://www.phpdeveloper.org/news/7565">previous thoughts</a> on a different sort of method for using the Views in the Zend Framework. This time, he focuses on a more automated way implement them in the same way.
</p>
<blockquote>
Just as views can be automated'"that is, you don't have to instantiate a Zend_View object; the controller does it all for you when you call $this->render() from any controller action'"you do not have to explicitly tell Zend_View where your helpers reside, <a href="http://framework.zend.com/manual/en/zend.view.helpers.html">as the manual suggests</a>. Instead, place your helpers in a special "helpers" folder where the Zend_Controller_Action's initView() can find them.
</blockquote>
<p>
He includes how the directory structure would be altered (the addition of the helpers folder) and how to name the helpers so they can be used in an application (Zend_View_Helper_*). Also, check out the post for some of his interesting thoughts on a recent visit of his to New York City.
</p>]]></description>
      <pubDate>Wed, 11 Apr 2007 07:41:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[ZendCon 2006 Notes: Best Practices for PHP Development]]></title>
      <guid>http://www.phpdeveloper.org/news/6606</guid>
      <link>http://www.phpdeveloper.org/news/6606</link>
      <description><![CDATA[<br/> Matthew Weier O'Phinney & Mike Naberezny, did a great job on this session. The talk went very smoothly, each of the speakers traded off on presenting the various sections.<br/> <br/> The session also dealt with other collaboration topics (commincation using IM, wiki etc) however I with the PHP/Development issues.<br/><br/> <p class="MsoNormal" style="FONT-WEIGHT:bold">  Source Documentation </p> <ul>  <li>  PHPDoc is the defacto documentation standard, it can be parsed by PHPDocumentor and Doxygen<br/></li>  <li>  Use @category and  @package to manage your documentation</li>  <li>  Using PHPDoc allows all developers to immediately understand your code</li> </ul> <break /><br/> <span style="FONT-WEIGHT:bold">Unit Testing</span><br/> <ul>  <li>  Focusing on PHPUnit</li>  <li>  Test religiously</li>  <li>  Without tests, code is fragile and will regress - there is nothing to tell you when you break your code.</li>  <li>  You are not wasting time by creating tests, you're wasting time by peppering your code with var_dump() and trying to debug code manually.</li>  <li>  <span lang="EN-US" style="">Learning to write good object oriented code that is testable takes practice and discipline. Learn to design for usability.<o:p></o:p></span></li>  <li>  <span lang="EN-US" style="">Test-First methodology allows the tests to become the specification of code you are writing.<o:p></o:p></span></li>  <li>  <span lang="EN-US" style="">Using Classes is not Object Oriented Design</span></li> </ul> <br/><break /> <span style="FONT-WEIGHT:bold">Source Control</span><br style="FONT-WEIGHT:bold"/> <ul>  <li>  Source control was on the benefits of using SVN to manage your code.</li>  <li>  Learn to use tagging and branching instead of committing everything to HEAD<br/></li>  <li>  <span lang="EN-US" style="">Trac is cool (I caught up on emails during this section - great wifi)<br/>  </span></li> </ul> <br/> <span style="FONT-WEIGHT:bold">Deployment</span><br/> <ul>  <li>  Never edit code on the server</li>  <li>  Check out tagged branches from your svc software</li>  <li>  Deploy to a staging server on your production server, test first then modify the symlink.</li>  <li>  Write acceptance and integration tests: http://manuals.rubyonrails.com/read/book/17)</li>  <li>  Monitor Health of Servers: http://www.plope.com/software/supervisor/</li>  <li>  Store schema of your database by committing the schema into your svc server - suggestion: http://www.mysqldiff.org/ and pre-commit hooks</li> </ul>]]></description>
      <pubDate>Mon, 30 Oct 2006 15:26:55 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Aaron Wormus' Blog:  PHP CMS Historical Notes]]></title>
      <guid>http://www.phpdeveloper.org/news/5723</guid>
      <link>http://www.phpdeveloper.org/news/5723</link>
      <description><![CDATA[<p>
<i>Aaron Wormus</i> has posted some great <a href="http://www.wormus.com/aaron/stories/2006/06/28/php-cms-historical-notes.html">historical notes</a> from back in 2002 looking at the state of PHP content management systems, most of which forked off of PHPNuke.
</p>
<blockquote>
I was just browsing through my OLD advogato profile and thought I would link to these two posts (from mid 2002) which talk about one of the many CMSs which forked off the original PHPNuke code base.
</blockquote>
<p>
<a href="http://advogato.org/person/CaptainNemo/diary.html?start=3">Part one</a> talks about the split between Postnuke and PHPNuke as well as what some of the differences are. Zope is also mentioned.
</p>
<p>
In <a href="http://advogato.org/person/CaptainNemo/diary.html?start=4">part two</a>, he notes a bit of a change in his thoughts on Postnuke (related to a change in the code for a templaing engine). 
</p>
<p>
It's interesting to look back and see how far some projects have come...
</p>]]></description>
      <pubDate>Thu, 29 Jun 2006 06:08:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tiffany Brown's Blog: NYPHP Con: "Introduction to PDO" (Notes)]]></title>
      <guid>http://www.phpdeveloper.org/news/5618</guid>
      <link>http://www.phpdeveloper.org/news/5618</link>
      <description><![CDATA[<p>
<i>Tiffany Brown</i>, an attendee of this year's New York PHP Conference, took some notes during <i>Ilia Alshanetsky</i>'s "Introduction to PDO" talk and is <a href="http://tiffanybbrown.com/viewqb.php/651">sharing them here</a>.
</p>
<p>
It's a <a href="http://tiffanybbrown.com/viewqb.php/651">good summary</a> of what the talk was about, and provides a few bits that weren't covered in the slides. If you're looking for a good place to start with researching PDO and its associated technologies, her list is a good place to start.
</p>
<p>
Each heading is accompanied by at least three points, clearly written as to include the most information. Some examples of the topics covered include: "Why PDO?", "Persistent Connections", "Prepared Statements", and "Retrieving information using PDO".
</p>]]></description>
      <pubDate>Mon, 19 Jun 2006 06:09:31 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Andrei Zmievski's Blog: Notes from php|tek 2006]]></title>
      <guid>http://www.phpdeveloper.org/news/5266</guid>
      <link>http://www.phpdeveloper.org/news/5266</link>
      <description><![CDATA[<p>
<i>Andrei Zmievski</i> has posted <a href="http://www.gravitonic.com/blog/archives/000143.html">this new blog item</a> today with links to his talks from the (just passed) php|Teck conference.
</p>
<quote>
<i>
I was in Orlando this past week at the php|tek conference, put on by <a href="http://www.phparch.com/">php|architect</a>. I gave two presentations there: PHP 6 and Unicode and Regex Clinic. The slides for both of them are available on my <a href="http://www.gravitonic.com/talks">Talks</a> page.
</i>
</quote>
<p>
He also mentions a great "impromptu event" the Thursday night of the conference - a <a href="http://www.gravitonic.com/blog/archives/000143.html">dinner</a> that ended with a speed beed drinking contest. And yes, ther's documented proof - check out <a href="http://blog.libssh2.org/index.php?/archives/16-Lets-go-out-to-the-movies.html">these movies</a> of it over on <i>Sare Goleman</i>'s blog.
</p>]]></description>
      <pubDate>Mon, 01 May 2006 06:36:34 -0500</pubDate>
    </item>
  </channel>
</rss>
