<?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, 12 Feb 2012 21:17:11 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Kevin Schroeder's Blog: What programming rules should you ALWAYS follow?]]></title>
      <guid>http://www.phpdeveloper.org/news/17105</guid>
      <link>http://www.phpdeveloper.org/news/17105</link>
      <description><![CDATA[<p>
In a quick new post today <i>Kevin Schroeder</i> asks his readers for feedback on <a href="http://www.eschrade.com/page/what-programming-rules-should-you-always-follow">what programming rules you should always follow</a> in your development practices.
</p>
<blockquote>
Earlier today, more for my own interest, I asked the question on Twitter "What programming rules should you ALWAYS follow, regardless of the scenario you're working in?"  In other words, are there programming rules that you ALWAYS should follow.  It doesn't matter if it's a script to copy a bunch of files for a one time migration or if you're building the next Facebook (DON'T try to build the next Facebook.  You will fail miserably.  Build something else).  In other words, what was the purist of programming rules.
</blockquote>
<p>
Responses he received ranged from the simple to slightly more complex including:
</p>
<ul>
<li>Always comment your code
<li>Test your code
<li>Use source control
<li>"Think. Think again. Then write code"
<li>Use a good debugger to help track down problems
<li>Make effective use of logging/output
</ul>]]></description>
      <pubDate>Wed, 09 Nov 2011 09:20:37 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Koopmanschap's Blog: About your job opening...]]></title>
      <guid>http://www.phpdeveloper.org/news/16950</guid>
      <link>http://www.phpdeveloper.org/news/16950</link>
      <description><![CDATA[<p>
If you're currently looking for developers to fit the needs of your company but just can't seem to find a good fit, <i>Stefan Koopmanschap</i> has <a href="http://www.leftontheweb.com/message/About_your_job_opening">a good suggestion</a> you might want to follow to be more effective in your search.
</p>
<blockquote>
The PHP job market is booming. Lots of companies are looking for (good) developers, but these are hard to find. Lots of developers are looking for a (good) job, but these are equally hard to find. Wait, that sounds strange... but it's true.
</blockquote>
<p>
He points out that he's seen several companies put other technologies besides their core technology in their ads (shame on them). He suggests that companies think about what tech you really work with and stick with that on the resume - don't try to pull in people with hype and buzzwords.
</p>]]></description>
      <pubDate>Wed, 05 Oct 2011 09:09:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Reddit.com: How do you test email when in development?]]></title>
      <guid>http://www.phpdeveloper.org/news/16798</guid>
      <link>http://www.phpdeveloper.org/news/16798</link>
      <description><![CDATA[<p>
In <a href="http://www.reddit.com/r/PHP/comments/jzccc/how_do_you_test_email_when_in_development/">this recent post</a> to Reddit, a question is asked that's an issue for many developers testing the email sending abilities of their applications - how can it be tested effectively without outside services flagging you as a possible spammer.
</p>
<blockquote>
So how do you guys do it? My current solution is to just output the email template HTML straight to the browser, but this doesn't always work. [...] I have considered sending emails through to my GMail, but I run my tests quite often and I'm not sure Google would be too happy with the amount I send. [...] I'm sure there's a better way I can handle this without modifying my code too much. Suggestions appreciated.
</blockquote>
<p>
Suggestions from <a href="http://www.reddit.com/r/PHP/comments/jzccc/how_do_you_test_email_when_in_development/#comments">the comments</a> include:
</p>
<ul>
<li>a local SMTP/IMAP server configured to catch all emails being sent
<li>Changing the address based on an environment flag
<li>Using "<anything>@example.com" 
<li>Saving the email as a .msg file for later review
</ul>
<p>
There's also suggestions of other Mac or Windows software to mimic the mail server like <a href="http://smtp4dev.codeplex.com/">smtp4dev</a> and <a href="http://mocksmtpapp.com/">MockStmp</a>
</p>]]></description>
      <pubDate>Wed, 31 Aug 2011 12:58:53 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Greg Wilson's Blog: If You''e Going to Teach an Undergrad Intro to Software Engineering...]]></title>
      <guid>http://www.phpdeveloper.org/news/16460</guid>
      <link>http://www.phpdeveloper.org/news/16460</link>
      <description><![CDATA[<p>
<i>Greg Wilson</i> has an interesting new post with some of the recommendations he made to a friend about <a href="http://third-bit.com/blog/archives/4235.html">recommended reading for a software engineering teacher</a> so they could be one step ahead of their students.
</p>
<blockquote>
I got mail yesterday from a former student of a friend of mine who has just been told that he has to teach an "Intro to Software Engineering" class this fall to a bunch of third-year undergraduates. He's not an SE guy-his background is operating systems-so he asked me what he should read to get one step ahead of his future students. As regular readers will know, I don't think much of most traditional software engineering books: I've never seen most of what's in them in the real world, and most of what I've needed to know hasn't been in them.
</blockquote>
<p>Included in his books of recommended reading are things like:</p>
<ul>
<li><a href="http://www.amazon.com/Making-Software-Really-Works-Believe/dp/0596808321/">Making Software</a> (of which he's an author)
<li><i>Karl Fogel</i>'s <a href="http://www.amazon.com/Producing-Open-Source-Software-Successful/dp/0596007590/">Producing Open Source Software</a>
<li><a href="http://www.amazon.com/Working-Effectively-Legacy-Michael-Feathers/dp/0131177052/">Working Effectively with Legacy Code</a> (from <i>Michael Feathers</i>)
<li><a href="http://aosabook.org/">The Architecture of Open Source Applications</a>
<li>
</ul>
<p>
Take a look at <a href="http://third-bit.com/blog/archives/4235.html">the full post</a> for the rest of his list and a bit about why he chose each.
</p>]]></description>
      <pubDate>Mon, 13 Jun 2011 11:56:43 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Monday's Inspirational Moment (ok, hour)]]></title>
      <guid>http://www.phpdeveloper.org/news/16321</guid>
      <link>http://www.phpdeveloper.org/news/16321</link>
      <description><![CDATA[<p>
On the Zend Developer Zone today <i>Cal Evans</i> <a href="http://devzone.zend.com/article/14318-Mondays-Inspirational-Moment-ok-hour">points out a podcast</a> he thinks the software developers out there should give a listen to - SitePoint's latest "Six Pixels of Seperation" episode, <a href="http://www.twistimage.com/blog/archives/how-to-get-serious-about-your-creativity/">How to Get Serious About Your Creativity</a>.
</p>
<blockquote>
The interview with Steven was <a href="http://www.twistimage.com/blog/archives/how-to-get-serious-about-your-creativity/">Episode #251 of Six Pixels, "How to Get Serious About Your Creativity</a>". I really enjoyed the episode and since creativity is a big part of software development, I think you will too.
</blockquote>
<p>
As with most podcasts, you can either listen to the episode via an <a href="http://www.twistimage.com/podcast/archives/spos-251---do-the-work-with-steven-pressfield/">in-page player</a> or you can <a href="http://www.twistimage.com/podcast/mp3/SPOS_251_-_Steve_Pressfield.mp3">download the mp3</a> to listen at your convenience.
</p>]]></description>
      <pubDate>Tue, 10 May 2011 12:55:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Jones' Blog: Malicious website use will never go away: how do you manage it?]]></title>
      <guid>http://www.phpdeveloper.org/news/16265</guid>
      <link>http://www.phpdeveloper.org/news/16265</link>
      <description><![CDATA[<p>
<i>Chris Jones</i> has a new post to his OTN blog today <a href="http://blogs.oracle.com/opal/2011/04/malicious_website_use_will_nev.html">pointing to two new articles</a> by <i>Eli White</i> about managing malicious website use:
</p>
<blockquote>
The techniques Eli covers will always be applicable in one form or another. They should be a fundamental part of any website architect's bag of tricks.
</blockquote>
<p>
The <a href="http://www.oracle.com/technetwork/articles/dsl/combating-spam-360061.html">first article</a> focuses more on methods for preventing and dealing with the inevitable spamming that comes with running a larger site. <i>Eli</i>'s experience at <a href="http://digg.com">Digg</a> has provided him with recommendations like creating hurdles for spammers to get past and evaluating the content (services like Defensio or Akismet are useful for this).
</p>
<p>
The <a href="http://www.oracle.com/technetwork/articles/dsl/preventing-website-manipulation-366493.html">second article</a> talks about something a bit harder to deal with - when users "game the system" and find the loopholes. His recommendations to combat this sort of abuse include rate limiting, pattern matching and leaving "traps" by tracking user usage.
</p>]]></description>
      <pubDate>Thu, 28 Apr 2011 11:06:43 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[John Congdon's Blog: PHP User Groups (Orlando and Daytona Beach)]]></title>
      <guid>http://www.phpdeveloper.org/news/16196</guid>
      <link>http://www.phpdeveloper.org/news/16196</link>
      <description><![CDATA[<p>
In <a href="http://www.johncongdon.com/php-user-groups-orlando-and-daytona-beach/">this recent post</a> to his blog <i>John Congdon</i> looks at some of his local user groups - Orlando and Daytona Beach in Florida - and how they handle their meetings and groups differently.
</p>
<blockquote>
I am a member of two PHP user groups.  Each one runs a little bit differently.  I am looking for feedback from other people in other PHP user groups to find ways we may be able to make these better. he East Central Florida PHP User Group (Daytona Beach area) is new/restarting. [...] They seem to be more geared towards teaching new PHP developers. [...] The Orlando PHP User Group is quite different.  They lean towards more presentation style meetings.  Someone proposes a topic, and then someone volunteers to be the presenter.
</blockquote>
<p>
He asks for comments from the community as a whole, wondering what he can do and what other groups in similar situations have done to help grow and improve their group. <a href="http://www.johncongdon.com/php-user-groups-orlando-and-daytona-beach/#comments">Comments</a> on the post include suggestions of a more traditional approach over the mentoring aspect, a possible mixing of the styles and using tools likee <a href="http://www.google.com/moderator/">Google Moderator</a> to pick out the topics people are most interested in.
</p>]]></description>
      <pubDate>Thu, 14 Apr 2011 10:36:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Web Development Blog: Why should you cache your PHP website?]]></title>
      <guid>http://www.phpdeveloper.org/news/15906</guid>
      <link>http://www.phpdeveloper.org/news/15906</link>
      <description><![CDATA[<p>
On the Web Development Blog <i>Olaf</i> helps to answer the question "<a href="http://www.web-development-blog.com/archives/why-should-you-cache-your-php-website/">why should you cache your PHP website</a>?" with a few helpful tips, bits of code and pointers to other tools.
</p>
<blockquote>
Most web servers are able to handle "normal" traffic and there are plenty of websites which doesn't have so much traffic. So maybe you ask yourself: Why should you cache your PHP powered website? The apache web server is able to serve many, many files at the same time, but all these files need to be static. A PHP script is parsed by the web server and next the generated HTML data is send to the client (web browser). While this happens the server need to use much more memory than by sending a file to a web client. Imagine what happens if you run/parse a page which is build with WordPress...
</blockquote>
<p>
He points out the <a href="http://wordpress.org/extend/plugins/wp-super-cache/">WordPress Super Cache plugin</a> and mentions that there's lots of other tools out there in the form of plugins or things like <a href="http://eaccelerator.net/">eAccelerator</a>. He even includes a simple custom caching script that grabs the contents of a remote file and caches it locally for twenty-four hours. 
</p>]]></description>
      <pubDate>Tue, 15 Feb 2011 09:09:58 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Book Review: The Passionate Programmer]]></title>
      <guid>http://www.phpdeveloper.org/news/15891</guid>
      <link>http://www.phpdeveloper.org/news/15891</link>
      <description><![CDATA[<p>
In you've been looking for a good, inspirational book to get you motivated as a programmer, <i>Lorna Mitchell</i> <a href="http://www.lornajane.net/posts/2011/Book-Review-The-Passionate-Programmer">has a suggestion for you</a> - The Passionate Programmer.
</p>
<blockquote>
The Passionate Programmer contains a really insightful mix of advice, it manages to tell developers how to "be", without being preachy or patronising. There are some great stories in there, but mostly it talks about how to frame your thinking such that you can't help succeeding.
</blockquote>
<p>
She notes that the pieces of advice in the book make for a good, engaging read and that can give the reader some directions to move to better themselves and their career. Her personal favorite section dealt with mentors/mentoring and how we as developers should constantly be both - always providing the "younger" generations the input they need while looking to the leaders of our communities to grow even more.
</p>]]></description>
      <pubDate>Fri, 11 Feb 2011 08:55:32 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: Top 10 MySQL Mistakes Made by PHP Developers]]></title>
      <guid>http://www.phpdeveloper.org/news/15460</guid>
      <link>http://www.phpdeveloper.org/news/15460</link>
      <description><![CDATA[<p>
On the SitePoint PHP blog today there's a new post from <i>Craig Buckler</i> looking at his <a href="http://blogs.sitepoint.com/2010/11/19/mysql-mistakes-php-developers/">top ten MySQL mistakes</a> he as a  PHP developer has made over time (and suggests a few things so they can keep from making them again).
</p>
<blockquote>
database is a fundamental component for most web applications. If you're using PHP, you're probably using MySQL - an integral part of the LAMP stack. PHP is relatively easy and most new developers can write functional code within a few hours. However, building a solid, dependable database takes time and expertise. Here are 10 of the worst MySQL mistakes I've made (some apply to any language/database).
</blockquote>
<p>Some of the infamous mistakes that made the list include:</p>
<ul>
<li>Using PHP's mysql functions (instead of mysqli)
<li>Not sanitizing user input
<li>Not using UTF-8
<li>Not optimizing your queries
<li>Using * in SELECT queries
</ul>]]></description>
      <pubDate>Fri, 19 Nov 2010 08:33:16 -0600</pubDate>
    </item>
  </channel>
</rss>

