<?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, 25 May 2013 23:21:14 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DevShed: Working with CSS Styles and the Stage Pattern in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/7708</guid>
      <link>http://www.phpdeveloper.org/news/7708</link>
      <description><![CDATA[<p>
In the <a href="http://www.devshed.com/c/a/PHP/Working-with-CSS-Styles-and-the-Stage-Pattern-in-PHP-5/">second part</a> of their look at the Stage design pattern today, DevShed moves up from the <a href="http://www.phpdeveloper.org/news/7650">previous article</a> to implement a more "real world" example of the Stage pattern in action.
</p>
<blockquote>
Essentially, what I plan to demonstrate here is how this pattern can be used to build different versions of a given web document on the fly, either for display on a typical computer monitor, or for printing. 
</blockquote>
<p>
This involves the creation of <a href="http://www.devshed.com/c/a/PHP/Working-with-CSS-Styles-and-the-Stage-Pattern-in-PHP-5/1/">a class</a> to define the styles for both sides - print and screen - and <a href="http://www.devshed.com/c/a/PHP/Working-with-CSS-Styles-and-the-Stage-Pattern-in-PHP-5/2/">a class that will figure out</a> which of these needs to be applied.
</p>]]></description>
      <pubDate>Wed, 25 Apr 2007 13:03:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Implementing the Stage Pattern in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/7650</guid>
      <link>http://www.phpdeveloper.org/news/7650</link>
      <description><![CDATA[<p>
Back with another of their design patterns articles, DevShed <a href="http://www.devshed.com/c/a/PHP/Implementing-the-Stage-Pattern-in-PHP-5/">looks this time</a> at the Stage pattern - a flexible pattern that allows your application to adapt to requests.
</p>
<blockquote>
At least at first glance, the definition of the "Stage" pattern seems hard to grasp, which implies that the pattern in question has to be addressed from a practical point of view. In doing so, you'll have a much better idea of how it works, and eventually how it can be applied in concrete cases. [...] Over the course of this two-part series, I'm going to introduce its key concepts, and logically show you how to implement it with copious code samples.
</blockquote>
<p>
They start by <a href="http://www.devshed.com/c/a/PHP/Implementing-the-Stage-Pattern-in-PHP-5/1/">defining a DIV class</a> to act as a foundation for the Stage functionality (with methods to set the ID, the CSS class and the data inside it). They also develop a DivContext class to handle special methods surrounding the inputted DIV. Bringing it all together, they create a default DIV object and pass it into the custom DivContext to get and set the contents of the DIV.
</p>]]></description>
      <pubDate>Wed, 18 Apr 2007 12:49:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[International PHP Magazine: Which Stage Comes First in the Development of the Basic CMS?]]></title>
      <guid>http://www.phpdeveloper.org/news/7269</guid>
      <link>http://www.phpdeveloper.org/news/7269</link>
      <description><![CDATA[<p>
The International PHP Magazine <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26880,nodeid,5.html">is back</a> this week with the results from their latest user poll that asked the question "Which Stage Comes First in the Development of the Basic CMS?"
</p>
<p>
Of course, of the options they gave, "Planning your CMS" came in with an overwhelming lead of 60.5 percent of the votes. Lagging far behind that was "Further Development" and "Database creation". It is good to see that a large majority of the people out there think that taking the time out to plan out the application first is the best way to go. Throwing something together, especially something that can get as complex as a CMS, is a very bad idea.
</p>
<p>
Be sure and get your votes in on <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26881,nodeid,5.html">this week's poll</a> that asks which of the given options including "Web and command-line interface" and "Generates a todo list from @todo tags in source") wouldn't be a good option to be added to the phpDocumentor functionality.
</p>]]></description>
      <pubDate>Tue, 13 Feb 2007 10:38:00 -0600</pubDate>
    </item>
  </channel>
</rss>
