<?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>Fri, 09 Jan 2009 22:33:35 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Make Me Pulse Blog: PHP 5 Design Pattern : Singleton]]></title>
      <guid>http://www.phpdeveloper.org/news/9094</guid>
      <link>http://www.phpdeveloper.org/news/9094</link>
      <description><![CDATA[<p>
On the Make Me Pulse blog today, <i>Antoine Ughetto</i> takes a look at one of the more handy things in programming - design patterns. He specifically <a href="http://blog.makemepulse.com/2007/11/22/php-5-design-pattern-singleton/">looks at the Singleton pattern</a> this time - complete with explanations and code examples.
</p>
<blockquote>
The singleton can be use in lot of different cases. In this example we will make a MySQL connection Singleton class. This will help us to always use the same connection.
</blockquote>
<p>
The code not only shows how to make the class using the Singleton but how to use it in your app - calling it with a SQL statement to make your request.
</p>]]></description>
      <pubDate>Thu, 22 Nov 2007 08:46:00 -0600</pubDate>
    </item>
  </channel>
</rss>
