<?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>Thu, 20 Nov 2008 12:24:08 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[WebReference.com: Controllers: Programming Application Logic - Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/11150</guid>
      <link>http://www.phpdeveloper.org/news/11150</link>
      <description><![CDATA[<p>
WebReference.com has the <a href="http://www.webreference.com/programming/php/cakephp_programming_application_logic2/index.html">second part</a> of their CakePHP introductory series posted, this time focusing on the actions in the controllers.
</p>
<p>
They talk (briefly) about how the call to the page is passed off to the controller's action and how you can get more information into it via POSTed values. 
</p>
<p>
There's also a look at redirection, from action to action in a controller (or even to another one) and a look at a very handy method of sharing functions between the child controllers - a "master" parent controller (in their case, AppController). 
</p>
<p>
At the end, they throw in a bit about components - module and reusable bits of functionality that can be passed around from controller to controller, action to action.
</p>
<p>
This series of articles are excerpts from the Packt book <a href="http://books.internet.com/books/1847193897/">CakePHP Application Development</a>.
</p>]]></description>
      <pubDate>Mon, 06 Oct 2008 10:26:18 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Solar Blog: Adapter for Master/Slave MySQL Setups]]></title>
      <guid>http://www.phpdeveloper.org/news/11144</guid>
      <link>http://www.phpdeveloper.org/news/11144</link>
      <description><![CDATA[<p>
On the Solar blog <i>Paul Jones</i> has <a href="http://solarphp.com/blog/read/19-adapter-for-master-slave-my-sql-setups">posted about</a> a new database adapter they included in the latest <a href="http://solarphp.com/blog/read/3">Solar framework</a> release - one that lets you connect to master/slave MySQL setups.
</p>
<blockquote>
With Solar, you connect to SQL databases using the Solar_Sql factory class, which returns a Solar_Sql_Adapter class for you. Most developers only need to connect to a single MySQL server. [...] However, when you get into a situation where you need to scale up, you might need a replicated MySQL database setup. In such cases, there is one "master" server that handles reads and writes, and there are one or more "slave" servers that are read-only. 
</blockquote>
<p>
The <a href="http://solarphp.com/class/Solar_Sql_Adapter_MysqlReplicated">Solar_Sql_Adapter_MysqlReplicated</a> adapter does all of the switching for you, making it as simple as dropping it in and changing your configuration to point to the master and slave servers (examples included).
</p>]]></description>
      <pubDate>Fri, 03 Oct 2008 14:35:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: 10 Principles of the PHP Masters]]></title>
      <guid>http://www.phpdeveloper.org/news/10989</guid>
      <link>http://www.phpdeveloper.org/news/10989</link>
      <description><![CDATA[<p>
The NETTUTS website has posted <a href="http://nettuts.com/articles/10-principles-of-the-php-masters/">a top ten list</a> of things from the PHP masters out there, a few words of wisdom to live by. Here's the list along with the authors of each:
</p>
<ul>
<li>Use PHP Only When You Need it - Rasmus Lerdorf
<li>Use Many Tables With PHP and MYSQL for Scalability - Matt Mullenweg
<li>Never, ever trust your users - Dave Child
<li>Invest in PHP Caching - Ben Balbo
<li>Speed up PHP Development with an IDE, Templates and Snippets - Chad Kieffer
<li>Make Better Use of PHP's Filter Functions - Joey Sochacki
<li>Use a PHP Framework - Josh Sharp
<li>Don't use a PHP Framework - Rasmus Lerdorf
<li>Use Batch Processing - Jack D. Herrington
<li>Turn on Error Reporting Immediately - David Cummings
</ul>
<p>
Some of <a href="http://nettuts.com/articles/10-principles-of-the-php-masters/">them</a> are conflicting, but that just means that you'll have to do what you've always done - take advice with a grain of salt and ultimately decide what's best for you and your application.
</p>]]></description>
      <pubDate>Tue, 09 Sep 2008 10:28:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Marco Tabini's Blog: The master conference (evil) plan]]></title>
      <guid>http://www.phpdeveloper.org/news/10270</guid>
      <link>http://www.phpdeveloper.org/news/10270</link>
      <description><![CDATA[<p>
In the wake of this year's <a href="http://tek.phparch.com">php|tek</a> conference, <i>Marco Tabini</i> has <a href="http://mtabini.blogspot.com/2008/05/master-conference-evil-plan.html">unveiled his secrets</a> to the "master conference evil plan" that he and the php|architect crew have been putting in to action for their conferences:
</p>
<blockquote>
For the past four years, I have put a lot of work into executing a strategic plan that is tangentially connected with our conferences. [...] Instead [of trying to force interaction], I decided to try and slowly steer things in a direction that would have made our conferences closer to a family reunion than a dry business meetup. 
</blockquote>
<p>
He mentions the steps in his "evil plan" (for conference domination?) - community participation, setting the right atmosphere for the exchange of ideas, the oh-so-secret choosing of the speakers and their leadership by example through participation with the speakers and other conference goers.
</p>]]></description>
      <pubDate>Mon, 26 May 2008 13:58:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[International PHP Magazine: IPM Poll Question: Benefits of phpbb SEO Master Include?]]></title>
      <guid>http://www.phpdeveloper.org/news/7097</guid>
      <link>http://www.phpdeveloper.org/news/7097</link>
      <description><![CDATA[<p>
The International PHP Magazine has <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26775,nodeid,5.html">posted the results</a> from the latest poll on their site. This time, it asked visitors to vote on which of the five options they thought was the best advantage that the phpbb SEO Master had to offer.
</p>
<blockquote>
The option, 'All' has won hands-down with a majority of 20.6%. A contradicting result is seen as next to 'All' is the option 'None' with 12.7% votes. The third position goes to 'easy install and works with your existing board' as it has garnered 4.8% votes. The last on the list is 'topic URLS are dynamically converted to SEO friendly addresses' which has got a dismal 0.0%.
</blockquote>
<p>
Be sure to check out <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26774,nodeid,5.html">this week's poll</a> too - it asks for votes on which of the options is the most important feature of PHP 5. Options include "Better error handling", "Newer useful functions", and "Best OOP support period".
</p>]]></description>
      <pubDate>Tue, 16 Jan 2007 07:37:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Michael Kimsal's Blog: New antipattern? "Multi Master Data"]]></title>
      <guid>http://www.phpdeveloper.org/news/5726</guid>
      <link>http://www.phpdeveloper.org/news/5726</link>
      <description><![CDATA[<p>
If you've been programming for any length of time, you know the "joy" of working with someone else's code. When taking over a project, the first inclination I've seen with most programmers is to go in and format everything to what they'd like (or duplicate functionality). This is where the problem comes in, the trend that <i>Michael Kimsal</i> talks about in <a href="http://fosterburgess.com/kimsal/?p=93">his new blog post</a> - something he wonders about being an "antipattern".
</p>
<blockquote>
I was discussing things with my brother the other day and I came up with a problem which he helped name.  I'm currently maintaining some code, and it's quite a jumble.  One of the things I can tell is that one of my predecessors began adding new sections of code to clean up the logic in other areas of the code.  However, what never happened was the clean up of the old code, so now there's two places where the same set of data is retrieved in different ways.
</blockquote>
<p>
He <a href="http://fosterburgess.com/kimsal/?p=93">proposes the name</a> "Multi Master Data" for the situation - two different sources, living in the same code, doing the same thing. Of course, he also mentions a situation where this type of problem can cause real issues, especially when trying to track down a bug (a bang your head on the desk moment).
</p>]]></description>
      <pubDate>Thu, 29 Jun 2006 07:00:35 -0500</pubDate>
    </item>
  </channel>
</rss>
