<?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 03:17:23 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[IBM developerWorks: Build seven good object-oriented habits in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11320</guid>
      <link>http://www.phpdeveloper.org/news/11320</link>
      <description><![CDATA[<p>
The IBM developerWorks website has <a href="http://www.ibm.com/developerworks/opensource/library/os-php-7oohabits/index.html?ca=drs-tp4408">a few suggestions</a> - seven of them, in fact - that they think can help make you a better PHP programmer.
</p>
<blockquote>
With PHP's object-oriented (OO) language features, if you aren't already creating your applications with OO principles in mind, these seven habits will help you get started in the transition between procedural programming and OO programming.
</blockquote>
<p>
Each of the seven OOP habits have more details below them, but here's the short list:
</p>
<ul>
<li>Be modest.
<li>Be a good neighbor.
<li>Avoid looking at Medusa.
<li>Embrace the weakest link.
<li>You're rubber; I'm glue.
<li>Keep it in the family.
<li>Think in patterns.
</ul>
<p>
In each there's a "bad habit" and a "good habit" to explain the concept a bit more fully, everything from error handling to interfaces.
</p>]]></description>
      <pubDate>Fri, 31 Oct 2008 07:51:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPFreaks: OO PHP Parts One & Two]]></title>
      <guid>http://www.phpdeveloper.org/news/10366</guid>
      <link>http://www.phpdeveloper.org/news/10366</link>
      <description><![CDATA[<p>
PHPFreaks has posted <a href="http://feeds.feedburner.com/~r/phpfreaks/~3/306320302/oo-php-part-1-oop-in-full-effect">part one</a> and <a href="http://feeds.feedburner.com/~r/phpfreaks/~3/306839599/oo-php-part-2-boring-oo-principles">part two</a> of a new series they're working on to introduce those new to the language to the concepts of object-oriented programming in PHP.
</p>
<blockquote>
On the old site, I started a series of tutorials named "PHP Application Design". I planned for at least three parts, and while I did publish the first two and wrote at least half of part three, I found myself out of time to make it to the finish. Still dedicated to writing reusable and extensible PHP code and spreading the knowledge, this is a restart of the series, renamed as simply "OO PHP"
</blockquote>
<p>
In <a href="http://www.phpfreaks.com/tutorial/oo-php-part-1-oop-in-full-effect">part one</a> he looks at the basics of OOP (terms, defining properties/methods, autoload, exceptions, type hinting, etc) with some code examples sprinkled through out. <a href="http://www.phpfreaks.com/tutorial/oo-php-part-2-boring-oo-principles">Part two</a> looks at the "boring OOP principles" like polymorphism, encapsulation and heuristics.
</p>
]]></description>
      <pubDate>Mon, 09 Jun 2008 08:48:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Mischook's Blog: Aprenda Programacion Orientada a Objetos en PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10165</guid>
      <link>http://www.phpdeveloper.org/news/10165</link>
      <description><![CDATA[<p>
<i>Stefan Mischook</i> has <a href="http://www.killerphp.com/articles/aprenda-programacion-orientada-a-objetos-en-php/">released a Spanish version</a> of his tutorial covering object-oriented programming in PHP.
</p>
<blockquote>
I've released my tutorial on Object Oriented PHP in Spanish. You can <a href="http://www.killerphp.com/pdf/Objetos-en-php.pdf">download the PDF</a>. Many thanks to Javier W. Barbieri from Iquitos Peru.
</blockquote>
<p>
Check out the KillerPHP.com site for more great tutorials - including videos - released to learning PHP.
</p>
]]></description>
      <pubDate>Mon, 12 May 2008 16:34:54 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Mischook's Blog: PHP Classes and Objects video tutorial]]></title>
      <guid>http://www.phpdeveloper.org/news/8392</guid>
      <link>http://www.phpdeveloper.org/news/8392</link>
      <description><![CDATA[<p>
In a <a href="http://www.phpdeveloper.org/news/8346">continuing</a> <a href="http://www.phpdeveloper.org/news/8376">series</a> of videos, Stefan Mischook has posted <a href="http://www.killerphp.com/videos/oop_objects_and_classes/objects_and_classes.html">the last video</a> discussing theory for object-oriented programming with PHP today.
</p>
<blockquote>
I've released a new video that basically covers the content covered in the PDF: <a href="http://www.killerphp.com/pdf/Classes_and_Objects_in_PHP.pdf">Classes and Objects</a>. It is the last bit object oriented PHP theory before we jump in and start writing actual PHP code.
</blockquote>
<p>
<a href="http://www.killerphp.com/videos/oop_objects_and_classes/objects_and_classes.html">The video</a> only runs about five minutes and covers the items from the PDF - a lot of the basics you'll need to know before getting into programming with objects and classes in PHP.
</p>]]></description>
      <pubDate>Mon, 06 Aug 2007 09:24:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Mischook's Blog: Object Oriented PHP Videos are now out!]]></title>
      <guid>http://www.phpdeveloper.org/news/8346</guid>
      <link>http://www.phpdeveloper.org/news/8346</link>
      <description><![CDATA[<p>
<i>Stefan Mischook</i> has <a href="http://www.killerphp.com/articles/object-oriented-php-videos/">taken the time</a> to come up with some new video tutorials for PHP covering an introduction to and the use of object oriented programming in your PHP applications.
</p>
<blockquote>
With the release of php5 (in 2004,) php programmers finally had the power to code with the 'big boys'. Like Java and C#, php finally had a complete OOP infrastructure. In these videos, you will be guided (step-by-step) through the process of building and working with objects using php's built-in OOP capabilities
</blockquote>
<p>
There's two videos currently:
</p>
<ul>
<li><a href="http://www.killerphp.com/videos/oop_php_introduction/01_oop_php_introduction.html">Introduction to Object Oriented PHP</a>
<li><a href="http://www.killerphp.com/videos/oop_why_learn_oop/why_learn_oop.html">Why learn Object Oriented PHP</a>
</ul>
<p>
As well as a <a href="http://www.killerphp.com/pdf/why_oop_and_php.pdf">PDF file</a> to accompany the "Why OOP?" video for more reference information.]]></description>
      <pubDate>Mon, 30 Jul 2007 07:57:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP in Action Blog: Running PHP tests inside Vim]]></title>
      <guid>http://www.phpdeveloper.org/news/8251</guid>
      <link>http://www.phpdeveloper.org/news/8251</link>
      <description><![CDATA[<p>
From the PHP in Action blog today, there's a <a href="http://www.reiersol.com/blog/index.php?op=ViewArticle&articleId=21&blogId=1">new post</a> that (briefly) shows how to run your tests directly from a popular unix text editor - vim.
</p>
<blockquote>
I created my own test runner to run tests inside Vim, I can't remember how long ago. Must be a year or two. I never shared it with the world. It was too primitive for anyone else to use. Then, recently, I decided to try re-implementing it in a more serious way.
</blockquote>
<p>
The "more serious way" meant using Vim script to its full potential, including the ability to work with objects and already has its own testing framework. He <a href="http://www.reiersol.com/blog/gallery/1/previews-med/2-vimtestrun.jpeg">includes a screenshot</a> but no download just yet. It looks promising and makes running tests as simple as hitting F11 and watching it go.
</p>]]></description>
      <pubDate>Mon, 16 Jul 2007 12:07:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[ITJungle.com: ICS Finds the Sophisticated Side of PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/7987</guid>
      <link>http://www.phpdeveloper.org/news/7987</link>
      <description><![CDATA[<p>
On the ITJungle website, there's <a href="http://www.itjungle.com/fhs/fhs052907-story01.html">a new article</a> about an award presented to <a href="http://www.indcomputer.com/">Independent Computer Services</a> for their OOP development efforts.
</p>
<blockquote>
One of the attractions to PHP on System i is the low skills barrier to entry. Anybody who has written a lick of procedural PHP on any other platform can develop System i applications. But one of the lesser known advantages of PHP is its capability to scale up into the realm of object-oriented (OO) development to create more sophisticated applications. OO development was the basis for an award given to System i consultancy <a href="http://www.indcomputer.com/">Independent Computer Services</a> (ICS) by <a href="http://www.zend.com/">Zend</a>, the company behind PHP.
</blockquote>
<p>
<a href="http://www.itjungle.com/fhs/fhs052907-story01.html">The article</a> goes on to talk about who ICS is, what they do in the technology market, why they chose PHP and what they developed to deserve the award. 
</p>]]></description>
      <pubDate>Wed, 06 Jun 2007 11:02:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weir O'Phinney's Blog: PHP globals for the OOP developer]]></title>
      <guid>http://www.phpdeveloper.org/news/7920</guid>
      <link>http://www.phpdeveloper.org/news/7920</link>
      <description><![CDATA[<p>
<i>Matthew Weir O'Phinney</i> has <a href="http://weierophinney.net/matthew/archives/139-PHP-globals-for-the-OOP-developer.html">two</a> <a href="http://weierophinney.net/matthew/archives/140-Globals,-continued.html">new posts</a> that talk about something object-oriented developers seem to shy away from - globals in their classes and how they can make things more difficult to make "embeddable applications" a reality.
</p>
<blockquote>
In my <a href="http://weierophinney.net/matthew/archives/138-Start-Writing-Embeddable-Applications.html">previous entry</a>, I ranted about the use of globals in popular PHP applications, and how they make embedding said applications difficult. I develop using object-oriented practices, and can honestly say I can't recall ever having slung a global variable around in my own code. Globals seem hackish to me, and as a result, trying to get applications that use them to behave correctly has been a challenge.
</blockquote>
<p>
In <a href="http://weierophinney.net/matthew/archives/139-PHP-globals-for-the-OOP-developer.html">the first part</a>, he notes an interesting find about the $GLOBALS value and illustrates with a code example how he was able to get around it in his instance (wrapping a Serendipity instance in a Zend Framework app).
</p>
<p>
In <a href="http://weierophinney.net/matthew/archives/140-Globals,-continued.html">part two</a>, though, and uses another code example to show what kind of issues he was seeing with the $GLOBALS - a script that sets some globals in different instances and echoes the results back out.
</p>]]></description>
      <pubDate>Fri, 25 May 2007 10:35:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Paul van Iterson's Blog: Why you want Object Oriented Programming in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/7528</guid>
      <link>http://www.phpdeveloper.org/news/7528</link>
      <description><![CDATA[<p>
In a new post to his "Quaint Tech" blog, <i>Paul van Iterson</i> talks about <a href="http://quainttech.blogspot.com/2007/03/why-you-want-object-oriented.html">why you want (to use) object-oriented programming</a> in your PHP applications versus the more procedural methods.
</p>
<blockquote>
Most modern programming languages are based on an OO approach and don't even allow for procedural coding anymore (for instance in languages as Java, C++, C#, Python, and Ruby). Explaining OOP goes beyond the scope of this article, so for understanding OOP in PHP I'd like to point you in this direction. For now let's just say that OOP is about creating relatively small objects with specific functions that interact with each other to form a complete application.
</blockquote>
<p>
Right off, he lists two advantages to using OOP methods (reusability and better structure) and a disadvantage (can be more time consuming to write). He does still recommend it though to any "serious PHP developer taking on serious projects". He illustrates the point with some of his own experience - an application for a real estate firm. 
</p>]]></description>
      <pubDate>Thu, 29 Mar 2007 11:05:00 -0500</pubDate>
    </item>
  </channel>
</rss>
