<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://mirmodynamics.com/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Mirmo Dynamics - Tag - p of eaa</title>
  <link>http://mirmodynamics.com/</link>
  <atom:link href="http://mirmodynamics.com/feed/tag/p%20of%20eaa/rss2" rel="self" type="application/rss+xml"/>
  <description>Rien de grand ne se fit jamais sans enthousiasme.</description>
  <language>en</language>
  <pubDate>Wed, 03 Dec 2008 17:01:33 +0100</pubDate>
  <copyright>2003-2008 &amp;copy; Geoffrey Bachelet</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Stripping the logic: the Transfer Object</title>
    <link>http://mirmodynamics.com/post/2007/08/11/Stripping-the-logic%3A-the-Transfert-Object</link>
    <guid isPermaLink="false">urn:md5:fb705efad8749c9d2c20f85702147c29</guid>
    <pubDate>Sat, 11 Aug 2007 11:56:00 +0200</pubDate>
    <dc:creator>Geoffrey</dc:creator>
        <category>Coding</category>
        <category>j2ee</category><category>oop</category><category>p of eaa</category><category>pattern</category><category>php</category><category>transfer object</category><category>zend framework</category>    
    <description>    &lt;p&gt;Sometimes you have to pass an object data to another object, or to another layer of your application (who said controller/view ?), while ensuring that the receiving entity will not be able to run business code encapsulated in your class. In the Zend Framework, several objects provide a &lt;code&gt;toArray&lt;/code&gt; method, but that is not always sufficient as sometimes you'd like to keep with the &lt;code&gt;$object-&amp;gt;varname&lt;/code&gt; syntax.&lt;/p&gt;


&lt;p&gt;That is where the Transfer Object arrives. While the preceding definition is not exact (that's not the real purpose of the Transfert Object in the J2EE spirit), This is the most common use that PHP Developers can make of it nowadays I think. So I came up with a &lt;a href=&quot;http://svn.riskle.com/library/Riskle/Pattern/TransferObject.php&quot;&gt;very light implementation of a concept&lt;/a&gt; which I hope can prove useful for any folks getting by there.&lt;/p&gt;


&lt;p&gt;See also:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Martin Fowler's &lt;a href=&quot;http://www.martinfowler.com/eaaCatalog/valueObject.html&quot;&gt;Value Object&lt;/a&gt; and &lt;a href=&quot;http://www.martinfowler.com/eaaCatalog/dataTransferObject.html&quot;&gt;Data Transfer Object&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://java.sun.com/blueprints/corej2eepatterns/Patterns/TransferObject.html&quot;&gt;The Transfert Object as a Core J2EE Pattern&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    
    
    
          <comments>http://mirmodynamics.com/post/2007/08/11/Stripping-the-logic%3A-the-Transfert-Object#comment-form</comments>
      <wfw:comment>http://mirmodynamics.com/post/2007/08/11/Stripping-the-logic%3A-the-Transfert-Object#comment-form</wfw:comment>
      <wfw:commentRss>http://mirmodynamics.com/feed/atom/comments/925</wfw:commentRss>
      </item>
    
</channel>
</rss>