<?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, 11 Feb 2012 15:06:48 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Cloud Out Loud Podcast: Interview with Ed Finkler]]></title>
      <guid>http://www.phpdeveloper.org/news/17529</guid>
      <link>http://www.phpdeveloper.org/news/17529</link>
      <description><![CDATA[<p>
In the <a href="http://www.engineyard.com/podcast/s02e06-ed-finkler">latest episode</a> of the "Cloud Out Loud" podcast, <i>Elizabeth Naramore</i> interviews <i>Ed Finkler</i>, most recently known for his MicroPHP Manifesto.
</p>
<blockquote>
Our own Elizabeth Naramore interviews Ed Finkler, author of the MicroPHP Manifesto.
<ul>
<li>The MicroPHP Manifesto
<li>What was the inspiration for it?
<li>Let's talk about the controversy around it - where do you think that came from?
<li>What do you think the impact of the Manifesto has made on the community? Do you think it's given cause to people to rethink their own assumptions?
</ul>
</blockquote>
<p>
To listen you can either download the episode (<a href="http://s3.amazonaws.com/engineyard.com/podcasts/mp3/mp3s/62/Ed_Finkler.mp3?1328896424">mp3</a> or <a href="http://s3.amazonaws.com/engineyard.com/podcasts/ogg/oggs/62/Ed_Finkler.ogg?1328896425">ogg</a>) or subscribe to their feed via <a href="http://www.engineyard.com/podcasts.xml">RSS</a> or <a href="http://www.itunes.com/podcast?id=408098989">iTunes</a>.
</p>]]></description>
      <pubDate>Fri, 10 Feb 2012 13:59:07 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Reddit.com: What non-PHP stuff should a PHP developer know?]]></title>
      <guid>http://www.phpdeveloper.org/news/17528</guid>
      <link>http://www.phpdeveloper.org/news/17528</link>
      <description><![CDATA[<p>
On Reddit.com there's <a href="http://www.reddit.com/r/PHP/comments/phtkd/what_nonphp_stuff_should_a_php_developer_know/">a good discussion</a> going on to answer the question "What non-PHP stuff should a PHP developer know?"
</p>
<blockquote>
I was looking at job description for a web developer, and one of the big responsibilities was database maintenance. [...] And along those lines, what other skills would be useful for a PHP developer to have that aren't directly PHP-based?
</blockquote>
<p>Suggestions so far include things like:</p>
<ul>
<li>Linux command-line skills
<li>some Python
<li>Virtualization (making and administering VMs)
<li>Version control systems (svn or git)
<li>Database architecture
<li>HTML/CSS/Javascript
</ul>]]></description>
      <pubDate>Fri, 10 Feb 2012 09:27:02 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: The Changelog Podcast]]></title>
      <guid>http://www.phpdeveloper.org/news/17527</guid>
      <link>http://www.phpdeveloper.org/news/17527</link>
      <description><![CDATA[<p>
If you're a fan of open source development and can't get enough about projects and what's the latest in the online OS community as a whole, you'll definitely enjoy <a href="http://thechangelog.com/">The Changelog</a> (it's a weekly podcast and news site).
</p>
<p>
The podcast hosts talk about popular trends and technology in the open source world and interview developers behind some of the useful tools you may use every day. Recent topics include <a href="http://thechangelog.com/post/17325686068/episode-0-7-2-vagrant-with-mitchell-hashimoto">Vagrant with Mitchell Hashimoto</a>, <a href="http://thechangelog.com/post/14517970749/episode-0-7-1-spine-and-client-side-mvc-with-alex-maccaw">Spine and client-side MVC with Alex MacCaw</a> and <a href="http://thechangelog.com/post/13873612141/episode-0-7-0-foundation-and-other-zurb-goodies">Foundation and other Zurb goodies</a>.
</p>
<p>They've also spotlighted several interesting new libraries including:</p>
<ul>
<li><a href="http://thechangelog.com/post/17302017912/livereload-coffeescript-sass-less-and-others-just">LiveReload</a>
<li><a href="http://thechangelog.com/post/17266976705/requests-http-library-for-php">Requests</a> (for PHP)
<li><a href="http://thechangelog.com/post/17250787936/spacepen-markaby-inspired-coffeescript-view-framework-fo">SpacePen</a>
<li><a href="http://thechangelog.com/post/17243337669/active-attr-the-stuff-activemodel-left-out">active_attr</a>
<li><a href="http://thechangelog.com/post/17158881315/sidekiq-more-efficient-resque-compatible-message-process">sidekiq</a>
</ul>]]></description>
      <pubDate>Fri, 10 Feb 2012 08:50:41 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Site News: Popular Posts for the Week of 02.10.2012]]></title>
      <guid>http://www.phpdeveloper.org/news/17526</guid>
      <link>http://www.phpdeveloper.org/news/17526</link>
      <description><![CDATA[Popular posts from PHPDeveloper.org for the past week:<ul><li><a href="http://phpdeveloper.org/news/17496">Etsy Code as Craft: Rasmus Lerdorf - PHP in 2012</a>
<li><a href="http://phpdeveloper.org/news/17511">Chris Hartjes' Blog: How Not to Suck at PHP</a>
<li><a href="http://phpdeveloper.org/news/17492">PHP.net: PHP 5.3.10 Released (Security Fix - Recommended Upgrade)</a>
<li><a href="http://phpdeveloper.org/news/17495">Henrik Bj&oslash;rnskov's Blog: Symfony2: Using the validator symfony1 style</a>
<li><a href="http://phpdeveloper.org/news/17493">Freek Lijten's Blog: Currently on PHP's internals - Property Accessors</a>
<li><a href="http://phpdeveloper.org/news/17503">PHPMaster.com: Tracking Upload Progress with PHP and JavaScript</a>
<li><a href="http://phpdeveloper.org/news/17504">PHPClasses.org: Another Serious Security Bug on PHP 5.3.9</a>
<li><a href="http://phpdeveloper.org/news/17501">Mayflower Blog: Zend Framework Application.ini Cheat Sheet</a>
<li><a href="http://phpdeveloper.org/news/17494">Artur Ejsmont's Blog: How to build mongodb pecl extension in 32bit for PHP 5.2 on OSX Snow Leaopard</a>
<li><a href="http://phpdeveloper.org/news/17518">Developer Drive: Building a PHP Ad Tracker: Data Object Design and Coding</a>
</ul>]]></description>
      <pubDate>Fri, 10 Feb 2012 07:05:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Leaseweb Labs Blog: Migration to Symfony2 continued]]></title>
      <guid>http://www.phpdeveloper.org/news/17525</guid>
      <link>http://www.phpdeveloper.org/news/17525</link>
      <description><![CDATA[<p>
On the LeaseWeb Labs blog there's a continuation from a previous post about migrating your Symfony1 application over to Symfony2. In the <a href="http://phpdeveloper.org/news/17299">first part</a> of this series of posts, <i>Stefan Koopmanschap</i> talked about wrapping your code to make it work. In <a href="http://www.leaseweblabs.com/2012/02/migration-to-symfony2-continued/">this second post</a>, <i>Maurtis van der Schee</i> tackles two issues <i>Stefan</i> mentioned - performance problems and handling authorization/authentication.
</p>
<blockquote>
On December 21, 2011 Stefan Koopmanschap wrote an excellent article on this blog titled "Painless (well, less painful) migration to Symfony2." [...] We were very much inspired by his passionate elucidation and we were fully convinced of the urge to start migrating to Symfony2 as soon as possible. However, he also provided us with a "A word of caution" about 2 things: performance and authentication/authorization. This might get some people worried, but not us: it challenged us to find a solution for those two open issues.
</blockquote>
<p>
They explain why these two things are a problem and some of their solutions they've created - a .htaccess for routing and manually replicating the Symfony2 session in the Symfony1 code. Included in the post are the rewrite rules and code to make these two things happen (and a small configuration change to make them work).
</p>]]></description>
      <pubDate>Thu, 09 Feb 2012 11:51:59 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint.com: How to Create Your Own Random Number Generator in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17524</guid>
      <link>http://www.phpdeveloper.org/news/17524</link>
      <description><![CDATA[<p>
On SitePoint.com today there's a new tutorial showing how to <a href="http://www.sitepoint.com/php-random-number-generator/">create a random number generator</a> in PHP (with the help of methods like <a href="http://php.net/mt_rand">mt_rand</a> and <a href="http://php.net/mt_srand">mt_srand</a>).
</p>
<blockquote>
Computers cannot generate random numbers. A machine which works in ones and zeros is unable to magically invent its own stream of random data. However, computers can implement mathematical algorithms which produce pseudo-random numbers. They look like random numbers. They feel like random distributions. But they're fake; the same sequence of digits is generated if you run the algorithm twice.
</blockquote>
<p>
Included in the post is code showing how to use the random functions and how to create a class (Random) that provides a few methods to help make generation easier - "seed" and "num". It first calls "seed" with a number to start the random generator off with and then "num" in a loop to pull out random values based on that. 
</p>]]></description>
      <pubDate>Thu, 09 Feb 2012 10:03:35 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Refulz.com: The __toString() Method - Objects as Strings]]></title>
      <guid>http://www.phpdeveloper.org/news/17523</guid>
      <link>http://www.phpdeveloper.org/news/17523</link>
      <description><![CDATA[<p>
On the Refulz.com blog there's a <a href="http://php.refulz.com/magic-methods-in-php-tostring-method/">recent post</a> introducing the __toString() magic method in PHP. This handy method allows you to define how to return an object when it's referenced as a string.
</p>
<blockquote>
We started the study of PHP magic methods by learning about <a href="http://php.refulz.com/magic-methods-in-php-__get-method/">__get() magic method</a>. [...] PHP is loosely typed language and same variable can be used or referred as string, number or object. The __toString() method is called when the code attempts to treat an object like a string. This function does not accept any arguments and should return a string.
</blockquote>
<p>
Some quick code is included showing how it works - returning a combined string made from two private class properties when the object ($obj) is echoed out. They also show multiple ways of using the method in both pre- and post-PHP 5.2.
</p>]]></description>
      <pubDate>Thu, 09 Feb 2012 09:27:19 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Using Traits in PHP 5.4]]></title>
      <guid>http://www.phpdeveloper.org/news/17522</guid>
      <link>http://www.phpdeveloper.org/news/17522</link>
      <description><![CDATA[<p>
On PHPMaster.com today there's a new tutorial about using a feature in the upcoming PHP release (5.4) to make it easier to work with more modular code - <a href="http://phpmaster.com/using-traits-in-php-5-4/">using traits</a>.
</p>
<blockquote>
In this article I will discuss traits, a new feature introduced in PHP 5.4 to overcome [issues where multiple inheritance is needed]. The concept of traits itself is nothing new to programming and is used in other languages like Scala and Perl. They allows us to horizontally reuse code across independent classes in different class hierarchies.
</blockquote>
<p>
Included in the post is example code showing what the use of a trait looks like and a method for creating a Singleton that can spawn instances of two classes. Also included are examples of:
</p>
<ul>
<li>using multiple traits at once, 
<li>traits made up of traits, 
<li>the importance of order, 
<li>aliasing to avoid conflicts, 
<li>reflection 
<li>and a few other features that come along with their use.
</ul>]]></description>
      <pubDate>Thu, 09 Feb 2012 08:40:50 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Site News: Blast from the Past - One Year Ago in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17521</guid>
      <link>http://www.phpdeveloper.org/news/17521</link>
      <description><![CDATA[Here's what was popular in the PHP community one year ago today:<ul><li><a href="http://phpdeveloper.org/news/15895">Zend Developer Zone: ZendCon Sessions Episode 037: Why MVC is not an Application Architecture</a>
<li><a href="http://phpdeveloper.org/news/15868">Michael Nitschinger's Blog: Understanding the Lithium Router - Part 1</a>
<li><a href="http://phpdeveloper.org/news/15867">Rafael Dohms' Blog: Problem Solving technique #1: Taking a mental break</a>
<li><a href="http://phpdeveloper.org/news/15866">ZendCasts.com: Unit Testing Doctrine 2 Entities</a>
<li><a href="http://phpdeveloper.org/news/15864">Lorna Mitchell's Blog: Installing Gearman for PHP and Ubuntu</a>
<li><a href="http://phpdeveloper.org/news/15894">Label Media Blog: Design Patterns in PHP - Observer Pattern</a>
<li><a href="http://phpdeveloper.org/news/15865">Sebastian Bergmann's Blog: PHP Project Wizard</a>
<li><a href="http://phpdeveloper.org/news/15891">Lorna Mitchell's Blog: Book Review: The Passionate Programmer</a>
<li><a href="http://phpdeveloper.org/news/15863">Jim Plush's Blog: How to Auto Create Issues in Jira From PHP</a>
<li><a href="http://phpdeveloper.org/news/15892">Query7.com: Developing A Blog With CakePHP</a>
<li><a href="http://phpdeveloper.org/news/15889">AppStorm.net: Using PyroCMS to Manage Content With Simplicity</a>
<li><a href="http://phpdeveloper.org/news/15888">TechZinger Blog: Fat-Free Framework for PHP</a>
<li><a href="http://phpdeveloper.org/news/15887">Zend Developer Zone: Creating Multi-Language Web Applications with Zend_Translate</a>
<li><a href="http://phpdeveloper.org/news/15881">MySQL Performance Blog: Sample datasets for benchmarking and testing</a>
<li><a href="http://phpdeveloper.org/news/15880">PHPBuilder.com: Top 10 phpMyAdmin Tips and Tricks You May Not Know</a>
</ul>]]></description>
      <pubDate>Thu, 09 Feb 2012 07:08:28 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ibuildings techPortal: DPC Radio: Implementing OAuth]]></title>
      <guid>http://www.phpdeveloper.org/news/17520</guid>
      <link>http://www.phpdeveloper.org/news/17520</link>
      <description><![CDATA[<p>
On the Ibuildings techPortal today they've posted the latest in their DPC Radio series of podcasts as recorded at last year's <a href="http://phpconference.nl">Dutch PHP Conference</a>. In <a href="http://techportal.ibuildings.com/2012/02/08/dpc-radio-implementing-oauth/">this new episode</a> they share <i>Lorna Mitchell</i>'s talk "Implementing OAuth".
</p>
<blockquote>
With Twitter moving its API to OAuth the idea of using tokens rather than passwords for authentication went mainstream. Many explanations of OAuth make it seem complicated whereas in reality the "OAuth Dance" is a series of simple steps executed in sequence. This talk covers consuming and providing OAuth services, includes implementation examples, and is recommended for all technical leads, architects, and integration specialists.
</blockquote>
<p>
You can listen to this latest episode either via <a href="http://techportal.ibuildings.com/2012/02/08/dpc-radio-implementing-oauth/">the in-page player</a> or by <a href="http://dpcradio.s3.amazonaws.com/2011_010.mp3">downloading the mp3</a>. You can follow along with the presentation in <a href="http://www.slideshare.net/lornajane/oauth-7990565">her slides</a>.
</p>]]></description>
      <pubDate>Wed, 08 Feb 2012 14:20:29 -0600</pubDate>
    </item>
  </channel>
</rss>

