<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel><title>Comments on: PHP Classes and Objects: What do they mean to you?</title> <atom:link href="http://brenelz.com/blog/classes-objects/feed/" rel="self" type="application/rss+xml" /><link>http://brenelz.com/blog/classes-objects/</link> <description>a winnipeg website design company.</description> <lastBuildDate>Thu, 29 Jul 2010 18:34:25 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>By: admin</title><link>http://brenelz.com/blog/classes-objects/comment-page-1/#comment-74</link> <dc:creator>admin</dc:creator> <pubDate>Tue, 28 Oct 2008 17:33:12 +0000</pubDate> <guid isPermaLink="false">http://blog.brenelz.com/?p=186#comment-74</guid> <description>I totally agree with you iongion and rob.  Encapsulation and Polymorphism are huge benefits of Object Orientation.  They are a bit more complex for a newbie to understand, so I didn&#039;t talk about it to much.PHP is most commonly a procedural language, but PHP 5 has more support for classes and objects.  Java is probably the best language that forces you to use classes and objects efficiently.</description> <content:encoded><![CDATA[<p>I totally agree with you iongion and rob.  Encapsulation and Polymorphism are huge benefits of Object Orientation.  They are a bit more complex for a newbie to understand, so I didn&#8217;t talk about it to much.</p><p>PHP is most commonly a procedural language, but PHP 5 has more support for classes and objects.  Java is probably the best language that forces you to use classes and objects efficiently.</p> ]]></content:encoded> </item> <item><title>By: iongion</title><link>http://brenelz.com/blog/classes-objects/comment-page-1/#comment-73</link> <dc:creator>iongion</dc:creator> <pubDate>Tue, 28 Oct 2008 17:12:20 +0000</pubDate> <guid isPermaLink="false">http://blog.brenelz.com/?p=186#comment-73</guid> <description>Another big advantage of OOP is encapsulation.But PHP is not really and Object oriented language, it has too many language constructs that you have no clue where they would fit in an OOP design (for example in oop regard, wth is array ? what is stdClass ? and more... needless to say about laking support for string objects or date (at least until recently))I think that long time ago, they preferred to just expose C extensions functions to a PHP counterpart ... that is probably the main reason PHP feels so bloody dirty.</description> <content:encoded><![CDATA[<p>Another big advantage of OOP is encapsulation.</p><p>But PHP is not really and Object oriented language, it has too many language constructs that you have no clue where they would fit in an OOP design (for example in oop regard, wth is array ? what is stdClass ? and more&#8230; needless to say about laking support for string objects or date (at least until recently))</p><p>I think that long time ago, they preferred to just expose C extensions functions to a PHP counterpart &#8230; that is probably the main reason PHP feels so bloody dirty.</p> ]]></content:encoded> </item> <item><title>By: rune_kg</title><link>http://brenelz.com/blog/classes-objects/comment-page-1/#comment-72</link> <dc:creator>rune_kg</dc:creator> <pubDate>Tue, 28 Oct 2008 15:20:53 +0000</pubDate> <guid isPermaLink="false">http://blog.brenelz.com/?p=186#comment-72</guid> <description>Biggest benefit is to make fake namespaces :)</description> <content:encoded><![CDATA[<p>Biggest benefit is to make fake namespaces <img src='http://cdnwww.brenelz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Rob Desbois</title><link>http://brenelz.com/blog/classes-objects/comment-page-1/#comment-71</link> <dc:creator>Rob Desbois</dc:creator> <pubDate>Tue, 28 Oct 2008 09:51:23 +0000</pubDate> <guid isPermaLink="false">http://blog.brenelz.com/?p=186#comment-71</guid> <description>Good introduction, but I&#039;m not sure about your first point that &quot;the biggest reason [to use objects] is that it creates reusable code&quot;. This isn&#039;t really the case - reusable code does not require object-oriented programming (OOP), and OOP does not imply reusable code. It is functions, not OOP, which provide code reuse.As I see it, the primary advantage of OOP is polymorphism which gives the ability to program to an interface.--rob</description> <content:encoded><![CDATA[<p>Good introduction, but I&#8217;m not sure about your first point that &#8220;the biggest reason [to use objects] is that it creates reusable code&#8221;. This isn&#8217;t really the case &#8211; reusable code does not require object-oriented programming (OOP), and OOP does not imply reusable code.<br /> It is functions, not OOP, which provide code reuse.</p><p>As I see it, the primary advantage of OOP is polymorphism which gives the ability to program to an interface.</p><p>&#8211;rob</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 4/13 queries in 0.029 seconds using disk
Content Delivery Network via cdnwww.brenelz.com

Served from: brenelz.com @ 2010-08-01 10:40:46 -->