<?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: Aggregation vs Composition</title>
	<atom:link href="http://www.phpmag.ru/2009/02/11/aggregation-vs-composition/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpmag.ru/2009/02/11/aggregation-vs-composition/</link>
	<description>Phrozn, Phing &#38; Zend Framework Musings</description>
	<lastBuildDate>Tue, 15 Nov 2011 15:38:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Kushal Bohra</title>
		<link>http://www.phpmag.ru/2009/02/11/aggregation-vs-composition/comment-page-1/#comment-1054</link>
		<dc:creator>Kushal Bohra</dc:creator>
		<pubDate>Mon, 26 Apr 2010 09:31:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=383#comment-1054</guid>
		<description>That was a good explaination using a example .I am clear with the aggregation and composition now!!
Thanks buddy :-)</description>
		<content:encoded><![CDATA[<p>That was a good explaination using a example .I am clear with the aggregation and composition now!!<br />
Thanks buddy <img src='http://www.phpmag.ru/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ivan</title>
		<link>http://www.phpmag.ru/2009/02/11/aggregation-vs-composition/comment-page-1/#comment-478</link>
		<dc:creator>ivan</dc:creator>
		<pubDate>Mon, 27 Jul 2009 13:55:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=383#comment-478</guid>
		<description>ops, did not see the right part. actually it is correct</description>
		<content:encoded><![CDATA[<p>ops, did not see the right part. actually it is correct</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ivan</title>
		<link>http://www.phpmag.ru/2009/02/11/aggregation-vs-composition/comment-page-1/#comment-477</link>
		<dc:creator>ivan</dc:creator>
		<pubDate>Mon, 27 Jul 2009 13:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=383#comment-477</guid>
		<description>Good description but the code samples are both showing composition. If you look the constructor for the agregation code sample it creates an object. This is composition since the object will be gone after the Team class is gone.</description>
		<content:encoded><![CDATA[<p>Good description but the code samples are both showing composition. If you look the constructor for the agregation code sample it creates an object. This is composition since the object will be gone after the Team class is gone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sumit</title>
		<link>http://www.phpmag.ru/2009/02/11/aggregation-vs-composition/comment-page-1/#comment-474</link>
		<dc:creator>sumit</dc:creator>
		<pubDate>Sun, 26 Jul 2009 13:02:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=383#comment-474</guid>
		<description>hi, Its really very very good example. cleared my fundamentals. I also want same good explanation of Interface Vs abstract classes. 

As both can work as super type.
except multiple inheritance difference, tell me some real time scenario where only class fits and in other where only interface fits well.

3.where both can be used interchangeably,

I will very thankful to you all. if you guys answer this.
Thanks</description>
		<content:encoded><![CDATA[<p>hi, Its really very very good example. cleared my fundamentals. I also want same good explanation of Interface Vs abstract classes. </p>
<p>As both can work as super type.<br />
except multiple inheritance difference, tell me some real time scenario where only class fits and in other where only interface fits well.</p>
<p>3.where both can be used interchangeably,</p>
<p>I will very thankful to you all. if you guys answer this.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sujan Mandal</title>
		<link>http://www.phpmag.ru/2009/02/11/aggregation-vs-composition/comment-page-1/#comment-464</link>
		<dc:creator>Sujan Mandal</dc:creator>
		<pubDate>Tue, 21 Jul 2009 17:52:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=383#comment-464</guid>
		<description>Thanks a lot. Very well written explanation.</description>
		<content:encoded><![CDATA[<p>Thanks a lot. Very well written explanation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tejas Chachcha</title>
		<link>http://www.phpmag.ru/2009/02/11/aggregation-vs-composition/comment-page-1/#comment-442</link>
		<dc:creator>Tejas Chachcha</dc:creator>
		<pubDate>Wed, 15 Jul 2009 04:13:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=383#comment-442</guid>
		<description>thanks for the nice/clear explaination of aggregation and composition Victor!</description>
		<content:encoded><![CDATA[<p>thanks for the nice/clear explaination of aggregation and composition Victor!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hayo Schmidt</title>
		<link>http://www.phpmag.ru/2009/02/11/aggregation-vs-composition/comment-page-1/#comment-278</link>
		<dc:creator>Hayo Schmidt</dc:creator>
		<pubDate>Mon, 04 May 2009 14:41:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=383#comment-278</guid>
		<description>Wikipedia
http://en.wikipedia.org/wiki/Object_composition#Aggregation sees the difference between Aggregation and Composition, that aggregation does not imply ownership. 
Another analogy: If you have a racing team with two cars and ten engines, you can aggregate any of the engines into any car in a 1:1-relationship. When you crash the car, the engine sometimes might be used in the other car. In a composition, if the car gets crashed, the engine is always destroyed as well.</description>
		<content:encoded><![CDATA[<p>Wikipedia<br />
<a href="http://en.wikipedia.org/wiki/Object_composition#Aggregation" rel="nofollow">http://en.wikipedia.org/wiki/Object_composition#Aggregation</a> sees the difference between Aggregation and Composition, that aggregation does not imply ownership.<br />
Another analogy: If you have a racing team with two cars and ten engines, you can aggregate any of the engines into any car in a 1:1-relationship. When you crash the car, the engine sometimes might be used in the other car. In a composition, if the car gets crashed, the engine is always destroyed as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raji</title>
		<link>http://www.phpmag.ru/2009/02/11/aggregation-vs-composition/comment-page-1/#comment-153</link>
		<dc:creator>Raji</dc:creator>
		<pubDate>Wed, 18 Mar 2009 04:07:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=383#comment-153</guid>
		<description>Very well explained. Thanks for the post

Raji</description>
		<content:encoded><![CDATA[<p>Very well explained. Thanks for the post</p>
<p>Raji</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raghavan alias Saravanan M</title>
		<link>http://www.phpmag.ru/2009/02/11/aggregation-vs-composition/comment-page-1/#comment-117</link>
		<dc:creator>Raghavan alias Saravanan M</dc:creator>
		<pubDate>Mon, 16 Feb 2009 04:55:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=383#comment-117</guid>
		<description>That&#039;s a beautiful explanation and an analogy you have taken to explain. 

Keep up the good work.

Cheers,
Raghavan alias Saravanan M.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a beautiful explanation and an analogy you have taken to explain. </p>
<p>Keep up the good work.</p>
<p>Cheers,<br />
Raghavan alias Saravanan M.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Виктор Фараздаги</title>
		<link>http://www.phpmag.ru/2009/02/11/aggregation-vs-composition/comment-page-1/#comment-111</link>
		<dc:creator>Виктор Фараздаги</dc:creator>
		<pubDate>Thu, 12 Feb 2009 19:29:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpmag.ru/?p=383#comment-111</guid>
		<description>Nice point Abdullah!
I originally wanted to add UML diagrams to my post, but it was already quite big enough, so I went along with plain-text explanations only.

Your comment would certainly add up to the value of explanation, as a picture is worth a thousand words..</description>
		<content:encoded><![CDATA[<p>Nice point Abdullah!<br />
I originally wanted to add UML diagrams to my post, but it was already quite big enough, so I went along with plain-text explanations only.</p>
<p>Your comment would certainly add up to the value of explanation, as a picture is worth a thousand words..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

