<?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, 19 May 2013 02:14:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Ibuildings techPortal: DPC Radio: Advanced OO Patterns]]></title>
      <guid>http://www.phpdeveloper.org/news/17409</guid>
      <link>http://www.phpdeveloper.org/news/17409</link>
      <description><![CDATA[<p>
On the Ibuildings techPortal today they've posted the latest episode in their DPC Radio series as recorded at the last <a href="http://phpconference.nl">Dutch PHP Conference</a>. In <a href="http://techportal.ibuildings.com/2012/01/17/dpc-radio-advanced-oo-patterns/">this new episode</a> they share a session from <i>Tobias Schlitt</i> called "Advanced OO Patterns".
</p>
<blockquote>
You already know Singleton, Signal/Observer, Factory and friends. But, which object oriented patterns are en vogue in the PHP world and how can you seize their power? This talk gives you an overview on Dependency Injection, Data Mapper and more OO patterns the PHP world talks about right know, using practical code examples.
</blockquote>
<p>
You can listen to this latest episode either via the <a href="http://techportal.ibuildings.com/2012/01/17/dpc-radio-advanced-oo-patterns/">in-page player</a> or by <a href="http://dpcradio.s3.amazonaws.com/2011_001.mp3">downloading the mp3</a> directly. You can follow along with the talk in <a href="http://qafoo.com/presentations.html">his slides</a> over on the qafoo.com site.
</p>]]></description>
      <pubDate>Wed, 18 Jan 2012 08:42:54 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Seastian Bergmann's Blog: Object-Relational Behavioral Patterns]]></title>
      <guid>http://www.phpdeveloper.org/news/11956</guid>
      <link>http://www.phpdeveloper.org/news/11956</link>
      <description><![CDATA[<p>
<i>Seastian Bergmann</i> has added some new features to the <a href="http://github.com/sebastianbergmann/php-object-freezer/">Object_Freezer</a> library (you can read more about it <a href="http://sebastian-bergmann.de/archives/831-Freezing-and-Thawing-PHP-Objects.html">here</a>) - some new object-relational behavioral patterns.
</p>
<p>
The three patterns are from <i>Martin Fowler</i>'s <a href="http://martinfowler.com/books.html#eaa">Patterns of Enterprise Application Architecture</a> book:
</p>
<ul>
<li><a href="http://martinfowler.com/eaaCatalog/unitOfWork.html">Unit of Work</a> - maintains a list of objects affected by a business transaction and coordinates the writing out of changes and the resolution of concurrency problems.
<li><a href="http://martinfowler.com/eaaCatalog/identityMap.html">Identity Map</a> - each object gets loaded only once by keeping every loaded object in a map
<li><a href="http://martinfowler.com/eaaCatalog/lazyLoad.html">Lazy Load</a> - object that doesn't contain all of the data you need but knows how to get it.
</ul>]]></description>
      <pubDate>Mon, 16 Feb 2009 12:08:47 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Kae Verens' Blog: Review: Pro PHP - Patterns, Frameworks, Testing and More]]></title>
      <guid>http://www.phpdeveloper.org/news/10522</guid>
      <link>http://www.phpdeveloper.org/news/10522</link>
      <description><![CDATA[<p>
<i>Kae Verens</i> has <a href="http://verens.com/archives/2008/07/01/review-pro-php-patterns-frameworks-testing-and-more/">posted another book review</a> today covering APress' "Pro PHP: Patterns, Frameworks, Testing and More" (by <i>Kevin McArthur</i>).
</p>
<blockquote>
This book is absolutely jam-packed with information useful to the medium-advanced PHP coder. SPL is described over a few chapters, and a quick intro to Zend's MVC framework is provided. Of particular interest to me were the final chapters, to do with certificate-based authentication, and a chapter near the beginning describing the upcoming features of PHP6. Great book - I really enjoyed it.
</blockquote>
<p>
<a href="http://verens.com/archives/2008/07/01/review-pro-php-patterns-frameworks-testing-and-more/">The review</a> gets into detail on some of the chapters and some of the shortfalls that <i>Kae</i> saw about them. Things like:
</p>
<ul>
<li>The title says "frameworks" but only one is really discussed (Zend Framework)
<li>The testing/continuous development sections weren't long enough
<li>The "web 2.0" section was a little sparse
<li>The only real web service protocol talked about is SOAP.
</ul>
<p>
Overall, though <i>Kae</i> found <a href="http://www.apress.com/book/view/1590598199">the book</a> to be worthy of a place on any developer's shelf.
</p>]]></description>
      <pubDate>Tue, 01 Jul 2008 12:55:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Sample Chapter From Pro PHP, Patterns, Frameworks, Testing and More]]></title>
      <guid>http://www.phpdeveloper.org/news/9961</guid>
      <link>http://www.phpdeveloper.org/news/9961</link>
      <description><![CDATA[<p>
The Zend Developer Zone has <a href="http://devzone.zend.com/article/3383-Sample-Chapter-From-Pro-PHP-Patterns-Frameworks-Testing-and-More">posted a sample chapter</a> from a new book Packt Publishing has put out called "Pro PHP, Patterns, Frameworks, Testing and more <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FPro-PHP-Patterns-Frameworks-Testing%2Fdp%2F1590598199&tag=postcarfrommy-20&linkCode=ur2&camp=1789&creative=9325">by Kevin McArthur</a>.
</p>
<blockquote>
So today you get a double bonus. You get to check out <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FPro-PHP-Patterns-Frameworks-Testing%2Fdp%2F1590598199&tag=postcarfrommy-20&linkCode=ur2&camp=1789&creative=9325">Pro PHP, Patterns, Frameworks, Testing and more</a> by Kevin McArthur. You also get a great tutorial on SPL! 
</blockquote>
<p>
The sample chapter looks (obviously) <a href="http://devzone.zend.com/content/McArthur_Ch9.pdf">at the SPL</a>, the Standard PHP Library - functions included with PHP5 releases to accomplish some pretty cool things.
</p>]]></description>
      <pubDate>Fri, 11 Apr 2008 15:38:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[IBM developerWorks: Five more PHP design patterns]]></title>
      <guid>http://www.phpdeveloper.org/news/9875</guid>
      <link>http://www.phpdeveloper.org/news/9875</link>
      <description><![CDATA[<p>
The IBM developerWorks site has a <a href="http://www.ibm.com/developerworks/opensource/library/os-php-designpatterns/index.html?ca=drs-tp1308">new article</a> posted that talks about design patterns, five of them in particular, that can help to "accelerate your PHP development" and make your code more maintainable down the line.
</p>
<blockquote>
As an application developer, you can have a lifelong career without ever knowing what any of the patterns are called or how or when they're used. However, I've found that a good working knowledge of these patterns, as well as those introduced in the developerWorks article "Five common PHP design patterns" (see <a href="http://www.ibm.com/developerworks/opensource/library/os-php-designpatterns/index.html?ca=drs-tp1308#resources">Resources</a>), allows you to do two things: Enable high-bandwidth conversations and reduce painful lessons.
</blockquote>
<p>
The patterns they talk about in this "five more" article of the series are:
</p>
<ul>
<li>Adapter Pattern
<li>Iterator Pattern
<li>Decorator Pattern
<li>Delegate Pattern
<li>State Pattern
</ul>
<p>
Diagrams are provided for each of them, showing how they flow along with brief code examples (structures really) to show how that transitions over to actual use.
</p>]]></description>
      <pubDate>Fri, 28 Mar 2008 08:49:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tiger Heron Blog: A Tale of Two Patterns]]></title>
      <guid>http://www.phpdeveloper.org/news/9144</guid>
      <link>http://www.phpdeveloper.org/news/9144</link>
      <description><![CDATA[<p>
On the Tiger Heron blog today, <i>Tony Freixas</i> has <a href="http://www.tigerheron.com/article/2007/11/tale-two-patterns">posted a new article</a> talking about the use of two patterns (no, not design patterns) in PHP development - the Bait-and-Switch method and the Shell Game.
</p>
<blockquote>
Originally, I planned to write about how to configure the Apache server to run both PHP4 and PHP5. With the push toward PHP5 (see <a href="http://gophp5.org/">Go PHP5</a>), there are now hundreds of articles covering that topic. Instead, I will talk about two IT patterns I use for PHP development on Windows. The patterns are ancient and familiar to most Unix developers, but little used in the Windows world.
</blockquote>
<p>
He uses something he calls "junction points" to make both of the patterns work and describes a bit about what they are and how to create them. Then, it's on to the descriptions - he covers what each of the patterns is about and includes a method for implementing it. The Bait-and-Switch is mostly about swapping out multiple software versions transparently and the Shell Game uses a shell script to handle the creation of the environment and the execution instead.
</p>]]></description>
      <pubDate>Thu, 29 Nov 2007 11:13:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[International PHP Magazine: Poll Question: Common Perspectives Regarding Objects in PHP Are?]]></title>
      <guid>http://www.phpdeveloper.org/news/6697</guid>
      <link>http://www.phpdeveloper.org/news/6697</link>
      <description><![CDATA[<p>
The results of this week's International PHP Magazine poll <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26550,nodeid,5.html">have been posted</a>. The question this time asked which, out of the four choices they gave, was the most popular opinion when dealing with objects in PHP.
</p>
<p>
Coming out on top with 33.3% of the votes is "Folks who follow design patterns religiously are missing the point" - an interesting choice for most of the developers out there. Design patterns can be one of the most useful bits of functionality in an application if used right. The option, however, is a bit vague - do they mean that they only use design patterns in their code or that they use them at all?
</p>
<p>
There was a tie for second place between the "Other reasons" and "Classes and inheritance are not new to PHP 5" options. Pulling up the rear with only 5.6% of the votes was the last option, "Managing state between pages is very straight forward in PHP".
</p>
<p>
Be sure to check out and vote in <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26552,nodeid,5.html">this week's poll</a> (a bit better subject matter) that asks the question "Why Does PHP Suck?".
</p>]]></description>
      <pubDate>Tue, 14 Nov 2006 07:49:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Tobias Schlitt's Blog: Reading recommendation: PHP Design Patterns]]></title>
      <guid>http://www.phpdeveloper.org/news/6521</guid>
      <link>http://www.phpdeveloper.org/news/6521</link>
      <description><![CDATA[<p>
In <a href="http://schlitt.info/applications/blog/index.php?/archives/500-Reading-recommendation-PHP-Design-Patterns.html">his latest blog post</a>, <i>Tobias Schlitt</i> shares a bit of a book review about one of the latest (German) PHP-related offerings from O'Reilly - <a href="http://www.amazon.de/PHP-Design-Patterns-Deutsche-Ausgabe/dp/3897214423/sr=8-1/qid=1161166357/ref=pd_bbs_sr_1/303-8492433-3984230?ie=UTF8">PHP Design Patterns</a>.
</p>
<blockquote>
I seized the time on the tram yesterday night to take a look at it and I have to admit I'm quite impressed. Stephan managed to write down a lot of practical experience in respect to the implementation of OO patterns with PHP.
</blockquote>
<p>
<i>Tobias</i> <a href="http://schlitt.info/applications/blog/index.php?/archives/500-Reading-recommendation-PHP-Design-Patterns.html">talks about</a> the structure of the book (recommending it to anyone looking to learn OOP in PHP), and mentions some of the chapter topics including:
<ul>
<li>New OOP features in PHP5
<li>Basic OOP concepts
<li>Generation Patterns (Singleton, Factory, etc)
<li>Behavior Patterns (Subject/Observer, Visitor, Iterator)
</ul>
</p>
<blockquote>
While some books only touch the theory of design patterns and avoid giving practical examples to the user, Stephan manages very good to combine both.
</blockquote>]]></description>
      <pubDate>Wed, 18 Oct 2006 08:06:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP-Tools Blog: PHP Design Patterns published]]></title>
      <guid>http://www.phpdeveloper.org/news/6452</guid>
      <link>http://www.phpdeveloper.org/news/6452</link>
      <description><![CDATA[<p>
Writing a programming-related book these days is no simple matter, especially when it's on a bit more complex topic like design patterns. <i>Stephan Schmidt</i> has come out the other side unscathed and is <a href="http://blog.php-tools.net/archives/151-PHP-Design-Patterns-published.html">announcing the official release</a> of his book from O'Reilly - "PHP Design Patterns".
</p>
<blockquote>
<p>
After nearly a year of work, my first <a href="http://www.phpdesignpatterns.de">very own book</a> has finally been published and arrived last weekend.
</p>
<p>
PHP Design Patterns is published by O'Reilly and introduces the reader to the world of patterns by providing practical examples. 
</p>
</blockquote>
<p>
One small note, though - the book is written in German, so English-only readers might not find this the book for them. If you want more information on the book, though, you can check out <a href="http://www.phpdesignpatterns.de">its website</a> for full details and some code examples.
</p>]]></description>
      <pubDate>Mon, 09 Oct 2006 13:18:42 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Object-Oriented Programming Through Design Patterns]]></title>
      <guid>http://www.phpdeveloper.org/news/6327</guid>
      <link>http://www.phpdeveloper.org/news/6327</link>
      <description><![CDATA[<p>
DevShed ramps up another new series today with <a href="http://www.devshed.com/c/a/PHP/ObjectOriented-Programming-Through-Design-Patterns/">this new article</a> giving developers a look at working with object-oriented programming through the eyes of design patterns. It's another excerpt from the <i>George Schlossnagle</i> book "Advanced PHP Programming".
</p>
<blockquote>
This chapter provides an overview of the advanced OO features now available in PHP. Some of the examples developed here will be used throughout the rest of this book and will hopefully serve as a demonstration that certain problems really benefit from the OO approach.
</blockquote>
<p>
<a href="http://www.devshed.com/c/a/PHP/ObjectOriented-Programming-Through-Design-Patterns/">The article</a> lays down the foundation for the more complex information to come. It introduces object-oriented programming briefly, and talks about some of the handy features of it - like inheritance, static attributes and methods.
</p>]]></description>
      <pubDate>Thu, 21 Sep 2006 08:11:47 -0500</pubDate>
    </item>
  </channel>
</rss>
