<?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: Managing &#8220;soft&#8221; relations between PHP objects</title>
	<atom:link href="http://blog.vworld.at/2009/03/28/managing-soft-relations-between-php-objects/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.vworld.at/2009/03/28/managing-soft-relations-between-php-objects/</link>
	<description>Software development and software quality</description>
	<lastBuildDate>Thu, 17 Jun 2010 20:00:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Les</title>
		<link>http://blog.vworld.at/2009/03/28/managing-soft-relations-between-php-objects/comment-page-1/#comment-5196</link>
		<dc:creator>Les</dc:creator>
		<pubDate>Thu, 06 Aug 2009 15:43:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vworld.at/?p=41#comment-5196</guid>
		<description>&gt; I don’t know much about this pattern but it sounds pretty close to it.

In simpler terms, yes as the Registry is just your basic container and little else; what this article speculates about is more akin to a Service Locator but in which case why bother?

Go the whole hog and go with a Dependency Injection solution instead which would offer you far more flexibility abeit slightly more complexity...

Could your brain cope with that?</description>
		<content:encoded><![CDATA[<p>&gt; I don’t know much about this pattern but it sounds pretty close to it.</p>
<p>In simpler terms, yes as the Registry is just your basic container and little else; what this article speculates about is more akin to a Service Locator but in which case why bother?</p>
<p>Go the whole hog and go with a Dependency Injection solution instead which would offer you far more flexibility abeit slightly more complexity&#8230;</p>
<p>Could your brain cope with that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://blog.vworld.at/2009/03/28/managing-soft-relations-between-php-objects/comment-page-1/#comment-1804</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 30 Mar 2009 08:12:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vworld.at/?p=41#comment-1804</guid>
		<description>Some further research showed that you could see the ObjectResolver as something similar to a &quot;dictionary&quot; pattern. What it does in the end is nothing more than looking up objects for given keys. The interface to ask other objects for their dictionary entries is only 1 possibility to use this.

Of course you could also losen the strict &quot;className&quot; parameter and make it some universal key instead - the changes to the code would be minimal (removing lines 26 to 29 of sfObjectResolver.class.php). Until I have another need for it I think I will keep it as it is though - at the moment it&#039;s perfect for my needs.</description>
		<content:encoded><![CDATA[<p>Some further research showed that you could see the ObjectResolver as something similar to a &#8220;dictionary&#8221; pattern. What it does in the end is nothing more than looking up objects for given keys. The interface to ask other objects for their dictionary entries is only 1 possibility to use this.</p>
<p>Of course you could also losen the strict &#8220;className&#8221; parameter and make it some universal key instead &#8211; the changes to the code would be minimal (removing lines 26 to 29 of sfObjectResolver.class.php). Until I have another need for it I think I will keep it as it is though &#8211; at the moment it&#8217;s perfect for my needs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://blog.vworld.at/2009/03/28/managing-soft-relations-between-php-objects/comment-page-1/#comment-1803</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 30 Mar 2009 04:51:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vworld.at/?p=41#comment-1803</guid>
		<description>@Ryan: I will provide an actual example in (hopefully) a few days - I already use the code, but it&#039;s not nice enough yet for publication ;-)

@Nicolas: As far as I can tell I see no direct connection to the &quot;Registry&quot; pattern. I haven&#039;t checked though if there already is an &quot;official&quot; pattern describing what I did here.</description>
		<content:encoded><![CDATA[<p>@Ryan: I will provide an actual example in (hopefully) a few days &#8211; I already use the code, but it&#8217;s not nice enough yet for publication <img src='http://blog.vworld.at/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>@Nicolas: As far as I can tell I see no direct connection to the &#8220;Registry&#8221; pattern. I haven&#8217;t checked though if there already is an &#8220;official&#8221; pattern describing what I did here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas Martin</title>
		<link>http://blog.vworld.at/2009/03/28/managing-soft-relations-between-php-objects/comment-page-1/#comment-1802</link>
		<dc:creator>Nicolas Martin</dc:creator>
		<pubDate>Sun, 29 Mar 2009 18:06:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vworld.at/?p=41#comment-1802</guid>
		<description>Nice !

Is your solution related with the &#039;Registry&#039; design pattern ?

I don&#039;t know much about this pattern but it sounds pretty close to it.</description>
		<content:encoded><![CDATA[<p>Nice !</p>
<p>Is your solution related with the &#8216;Registry&#8217; design pattern ?</p>
<p>I don&#8217;t know much about this pattern but it sounds pretty close to it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Weaver</title>
		<link>http://blog.vworld.at/2009/03/28/managing-soft-relations-between-php-objects/comment-page-1/#comment-1801</link>
		<dc:creator>Ryan Weaver</dc:creator>
		<pubDate>Sun, 29 Mar 2009 16:41:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vworld.at/?p=41#comment-1801</guid>
		<description>Interesting - a bit outside of the box for me - but I really like it. I wonder where you learned this from and exactly how you use it inside Symfony? I understand your example use at the very end, but in Symfony (assuming author and article are Propel/Doctrine objects), this relationship isn&#039;t &quot;soft&quot; - it&#039;s quite straightforward. Where exactly do you find that this method really comes in handy?</description>
		<content:encoded><![CDATA[<p>Interesting &#8211; a bit outside of the box for me &#8211; but I really like it. I wonder where you learned this from and exactly how you use it inside Symfony? I understand your example use at the very end, but in Symfony (assuming author and article are Propel/Doctrine objects), this relationship isn&#8217;t &#8220;soft&#8221; &#8211; it&#8217;s quite straightforward. Where exactly do you find that this method really comes in handy?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
