<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - When Symbian met Design Patterns (2) -- Proxy Pattern - Comments</title>
 <link>http://www.newlc.com/en/when-symbian-met-design-patterns-2-proxy-pattern</link>
 <description>Comments for &quot;When Symbian met Design Patterns (2) -- Proxy Pattern&quot;</description>
 <language>en</language>
<item>
 <title>Re: When Symbian met Design Patterns (2) -- Proxy Pattern</title>
 <link>http://www.newlc.com/en/when-symbian-met-design-patterns-2-proxy-pattern#comment-39906</link>
 <description>&lt;p&gt;Very wonderful article. But I think the metaphor is not exactly.&lt;br /&gt;
I think that one key point about proxy pattern is that the Proxy is from the end user(or client) view.&lt;br /&gt;
So in the example above, we should take the &lt;span style=&quot;font-weight:bold&quot;&gt;EndUserView&lt;/span&gt; as the postoffice, &lt;span style=&quot;font-weight:bold&quot;&gt;CRemoteInfProxy&lt;/span&gt; as Mike and &lt;span style=&quot;font-weight:bold&quot;&gt;CRemoteInfImp&lt;/span&gt; as Ben.&lt;br /&gt;
The postoffice wants to deliver newspaper, so it interact with Mike, but Mike will not do the job himself, he will outsource the job to Ben and Ben is the one who does the real job.&lt;br /&gt;
So from this point of view, the literal will be consistent with the class diagram.&lt;/p&gt;</description>
 <pubDate>Tue, 17 Jul 2007 05:23:30 +0200</pubDate>
 <dc:creator>stonechm</dc:creator>
 <guid isPermaLink="false">comment 39906 at http://www.newlc.com</guid>
</item>
<item>
 <title>When Symbian met Design Patterns (2) -- Proxy Pattern</title>
 <link>http://www.newlc.com/en/when-symbian-met-design-patterns-2-proxy-pattern</link>
 <description>&lt;p&gt;If you had seen the show &quot;Growning Pains&quot; you must remember in one episode, Mike got a newspaper delivery job and he didn&#039;t want to deliver any of the newspapers. So he &quot;outsourced&quot; those newspapers to his brother Ben. And the postoffice gave Mike about 5 bucks but Mike only gave Ben 2.5 bucks for remuneration, so he could get 2.5 bucks without doing anything. In postoffice&#039;s perspective, they gave Mike 5 bucks and 100 newspapers and no matter how Mike delivered those newspapers, as long as newspapers are sent on time, they will pay for Mike next time anyway(actually he messed it up in the end...). That is, the way Mike deliver newspaper is transparent to the postoffice. Mike could do it himself or let Ben to do this, or maybe Ben will also &quot;outsource&quot; his job to others, whatever.&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/when-symbian-met-design-patterns-2-proxy-pattern&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/when-symbian-met-design-patterns-2-proxy-pattern#comments</comments>
 <category domain="http://www.newlc.com/en/taxonomy/term/1">Basics</category>
 <category domain="http://www.newlc.com/en/taxonomy/term/41">Symbian OS</category>
 <category domain="http://www.newlc.com/en/taxonomy/term/42">UIQ</category>
 <category domain="http://www.newlc.com/en/taxonomy/term/162">Design Pattern</category>
 <pubDate>Tue, 24 Apr 2007 17:00:33 +0200</pubDate>
 <dc:creator>rensijie</dc:creator>
 <guid isPermaLink="false">1079 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
