<?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>Wed, 22 May 2013 04:23:45 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Kevin Schroeder's Blog: ZF2 Dependency Injection: Managing Configuration - Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/17874</guid>
      <link>http://www.phpdeveloper.org/news/17874</link>
      <description><![CDATA[<p>
<i>Kevin Schroeder</i> has posted the <a href="http://www.eschrade.com/page/zf2-dependency-injection-managing-configuration-part-2/">second part of his ZF2 dependency injection</a> series (part one <a href="http://phpdeveloper.org/news/17868">here</a>) talking about their configuration.
</p>
<blockquote>
In my <a href="http://www.eschrade.com/page/zf2-dependency-injection-managing-configuration/">previous post about Dependency Injection Container (DiC) configuration</a> I made mention of some more complicated scenarios that you can use to configure your objects.  Not that you need help to make it  more complicated. [...] That's why I think this series of blog posts are good.  They show you how to get started small which is really the only way to get started if you aren't intimately familiar with a DiC.
</blockquote>
<p>
He expands on the previous example by adding another method that lets you set up some testing data (injected into the Test class object) and feed in the data via the "parameters" DI container configuration.
</p>]]></description>
      <pubDate>Fri, 27 Apr 2012 08:20:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Derick Rethans' Blog: To GMT or not to GMT]]></title>
      <guid>http://www.phpdeveloper.org/news/17611</guid>
      <link>http://www.phpdeveloper.org/news/17611</link>
      <description><![CDATA[<p>
In <a href="http://derickrethans.nl/gmt-being-tricky.html">this new post</a> to his site, <i>Derick Rethans</i> shows an instance of "GMT being tricky" when it comes to "UTC" versus "GMT" output from PHP's DateTime object.
</p>
<blockquote>
Earlier today, on twitter, @skoop asked: "dear #lazyweb, when I use DateTimeZone('GMT'), why does format('e') output UTC?" [...] As you can see [the example with a format of "e" on a DateTimeZone('GMT')] has UTC and not GMT as you might expect.
</blockquote>
<p>
<i>Derick</i> mentions that sometimes, systems require "GMT" instead of "UTC" in the output they're given. To work around this issue, he shows how to add a "type 2" timezone to the DateTime object by including it when you initialize the object (code samples included). Using alternative methods, you can add these "type 2" timezones in three ways - an offset in the initial string, using the abbreviation (like "EST" or "PST") and specifying the long version of the timezone (like "America/Montreal").
</p>]]></description>
      <pubDate>Thu, 01 Mar 2012 11:39:45 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Tom Jowitt's Blog: Streamlined PHP Development - Part III]]></title>
      <guid>http://www.phpdeveloper.org/news/16701</guid>
      <link>http://www.phpdeveloper.org/news/16701</link>
      <description><![CDATA[<p>
<i>Tom Jowitt</i> has posted his <a href="http://www.tomjowitt.co.uk/2011/07/21/streamlined-php-development-part-iii/">third part</a> in his "streamlined PHP development" series today focusing on working with databases and setting it up with your automated deployment system (parts <a href="http://phpdeveloper.org/news/16603">one</a> and <a href="http://phpdeveloper.org/news/16610">two</a>).
</p>
<blockquote>
In the first two parts of this series we covered <a href="http://www.tomjowitt.co.uk/2011/07/16/streamlined-php-development-part-i/">setting up the server</a> and an <a href="http://www.tomjowitt.co.uk/2011/07/20/streamlined-php-development-part-ii/">introduction to Phing</a>. This post will cover managing our database code with <a href="http://dbdeploy.com/">dbdeploy</a> and Phing.
</blockquote>
<p>
He points out that there's no "silver bullet" when it comes to automated database management but he's found <a href="http://dbdeploy.com/">dbdeploy</a> as a good tool for his needs. He includes the configuration changes to get the database login information into Phing and a few new targets/tasks to add to the Phing configuration for initializing the database and applying patches.
</p>]]></description>
      <pubDate>Wed, 10 Aug 2011 11:09:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tibo Beijen's Blog: Controlled initialization of domain objects]]></title>
      <guid>http://www.phpdeveloper.org/news/12837</guid>
      <link>http://www.phpdeveloper.org/news/12837</link>
      <description><![CDATA[<p>
<i>Tibo Beijen</i> takes a look at domain objects in <a href="http://www.tibobeijen.nl/blog/2009/07/09/controlled-initialization-of-domain-objects/">this new post</a> to his blog and how they have them working in a project he's been developing.
</p>
<blockquote>
In a recent project I've been working on, we have used the <a href="http://en.wikipedia.org/wiki/Domain_model">'Domain Model'</a> to describe and design our application. Doing so we decouple persistency logic from the objects that are being passed around and modified throughout our application: The Domain objects.
</blockquote>
<p>
He talks about challenges associated with the development (issues separating out the business logic) and how they solved it in two ways - reflection and a pattern where the domain object uses itself. Code is also included to help illustrate the problem and these two methods of resolving it.
</p>]]></description>
      <pubDate>Thu, 09 Jul 2009 10:06:02 -0500</pubDate>
    </item>
  </channel>
</rss>
