<?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:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Mirmo Dynamics - Tag - oop  - Comments</title>
  <link>http://mirmodynamics.com/</link>
  <atom:link href="http://mirmodynamics.com/feed/tag/oop/rss2/comments" rel="self" type="application/rss+xml"/>
  <description>Si tu kiffes pas reunoi, t'écoutes pas et puis c'est tout.</description>
  <language>en</language>
  <pubDate>Sun, 14 Mar 2010 19:59:01 +0100</pubDate>
  <copyright>2003-2009 &amp;copy; Geoffrey Bachelet</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
    
    <item>
    <title>Extending Zend_Controller_Router_Route: the singleton problem. - Geoffrey</title>
    <link>http://mirmodynamics.com/post/2007/11/05/Extending-Zend_Controller_Router_Route%3A-the-singleton-problem#c7364</link>
    <guid isPermaLink="false">urn:md5:4f62b17608a234907b1b8c6e13baca57</guid>
    <pubDate>Mon, 17 Dec 2007 13:30:24 +0100</pubDate>
    <dc:creator>Geoffrey</dc:creator>
    
    <description>&lt;p&gt;Kaloyan: well that would work for sure, but that is actually not the point of this article :-) This issue will (hopefuly) be solved with php 5.3 and late static binding, which will allow for such a behavior via the static keyword. (see JMF's comment)&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Extending Zend_Controller_Router_Route: the singleton problem. - Kaloyan</title>
    <link>http://mirmodynamics.com/post/2007/11/05/Extending-Zend_Controller_Router_Route%3A-the-singleton-problem#c7355</link>
    <guid isPermaLink="false">urn:md5:d6c386674e8745eb51df8692976cb640</guid>
    <pubDate>Sat, 15 Dec 2007 15:51:06 +0100</pubDate>
    <dc:creator>Kaloyan</dc:creator>
    
    <description>&lt;p&gt;Can't we just change the getInstance() method with a factory() method instead ? We will place this factory() in the parent abstract class, so all &amp;quot;routes&amp;quot; should be generated from it. This factory method will keep one instance per class, so when asked twice or more times for an instance of a class previously loaded, it will return the one it has stored.&lt;/p&gt;


&lt;p&gt;To do this, we got to have a common abstract class that all routes will extend. In this abstract class we will place this factory() method like this:&lt;/p&gt;


&lt;p&gt;Zend_Controller_Router_Route_Abstract::factory('Xend_Controller_Router_Route_Modified');&lt;/p&gt;


&lt;p&gt;What do you think ?&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Extending Zend_Controller_Router_Route: the singleton problem. - Geoffrey</title>
    <link>http://mirmodynamics.com/post/2007/11/05/Extending-Zend_Controller_Router_Route%3A-the-singleton-problem#c7296</link>
    <guid isPermaLink="false">urn:md5:79d12db1bb155cedb9290421a71b42ea</guid>
    <pubDate>Tue, 20 Nov 2007 11:09:14 +0100</pubDate>
    <dc:creator>Geoffrey</dc:creator>
    
    <description>&lt;p&gt;oh good news :-)&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Extending Zend_Controller_Router_Route: the singleton problem. - JMF</title>
    <link>http://mirmodynamics.com/post/2007/11/05/Extending-Zend_Controller_Router_Route%3A-the-singleton-problem#c7293</link>
    <guid isPermaLink="false">urn:md5:68d86c0226b1583dda3e402b36e43327</guid>
    <pubDate>Mon, 19 Nov 2007 22:26:14 +0100</pubDate>
    <dc:creator>JMF</dc:creator>
    
    <description>&lt;p&gt;This will be possible in PHP 5.3 with the Late Static Binding (cf. &lt;a href=&quot;http://ds-o.com/archives/53-Late-Static-Binding-in-PHP.html&quot; title=&quot;http://ds-o.com/archives/53-Late-Static-Binding-in-PHP.html&quot; rel=&quot;nofollow&quot;&gt;http://ds-o.com/archives/53-Late-St...&lt;/a&gt;)&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Extending Zend_Controller_Router_Route: the singleton problem. - Jani</title>
    <link>http://mirmodynamics.com/post/2007/11/05/Extending-Zend_Controller_Router_Route%3A-the-singleton-problem#c7260</link>
    <guid isPermaLink="false">urn:md5:3f66718d02bde17e433a08769d2a89b3</guid>
    <pubDate>Sat, 10 Nov 2007 20:15:42 +0100</pubDate>
    <dc:creator>Jani</dc:creator>
    
    <description>&lt;p&gt;Rather than doing that, perhaps you should just define the route to use in the bootstrap with setRoute. That has worked pretty well for me.&lt;/p&gt;


&lt;p&gt;Something along the lines of...&lt;br /&gt;
Zend_Controller_Front::getInstance()-&amp;gt;getRouter()-&amp;gt;setRoute('default', new Route_Win());&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Stripping the logic: the Transfer Object - Geoffrey</title>
    <link>http://mirmodynamics.com/post/2007/08/11/Stripping-the-logic%3A-the-Transfert-Object#c2876</link>
    <guid isPermaLink="false">urn:md5:805d3abee0eacf1bbb18b04814c5258d</guid>
    <pubDate>Sun, 12 Aug 2007 15:47:18 +0200</pubDate>
    <dc:creator>Geoffrey</dc:creator>
    
    <description>&lt;p&gt;c'est pas faux&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Stripping the logic: the Transfer Object - Ben</title>
    <link>http://mirmodynamics.com/post/2007/08/11/Stripping-the-logic%3A-the-Transfert-Object#c2870</link>
    <guid isPermaLink="false">urn:md5:4f212ecbc45f36ebec7d40efe0eebc8e</guid>
    <pubDate>Sat, 11 Aug 2007 16:46:07 +0200</pubDate>
    <dc:creator>Ben</dc:creator>
    
    <description>&lt;p&gt;Sinon, en jouant avec l'ArrayObject des SPL, on peux avoir le même comportement :&lt;br /&gt;
$ArrayObject = new ArrayObject($Object,10);&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Interfaces et Classes Abstraites - Nico</title>
    <link>http://mirmodynamics.com/post/2007/01/31/Interfaces-et-Classes-Abstraites#c2213</link>
    <guid isPermaLink="false">urn:md5:6c2e86c81dc80358d180f379225fda71</guid>
    <pubDate>Wed, 31 Jan 2007 10:02:18 +0100</pubDate>
    <dc:creator>Nico</dc:creator>
    
    <description>&lt;p&gt;Nickel !&lt;br /&gt;
Mais il est a préciser un truc important :&lt;br /&gt;
En théorie, une interface décrit les méthodes à implément DANS L'ARBRE D'HERITAGE.&lt;br /&gt;
En pratique en PHP, cela ce limite aux classes enfants directs de de notre amie l'interface.&lt;/p&gt;


&lt;p&gt;On à le même lezard pour la classe abstraite.&lt;br /&gt;
C'est vraiment LE truc bête en PHP :(&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Interfaces et Classes Abstraites - NiKo</title>
    <link>http://mirmodynamics.com/post/2007/01/31/Interfaces-et-Classes-Abstraites#c2212</link>
    <guid isPermaLink="false">urn:md5:a5176292524ec4626525c7cac8d8c541</guid>
    <pubDate>Wed, 31 Jan 2007 09:40:55 +0100</pubDate>
    <dc:creator>NiKo</dc:creator>
    
    <description>&lt;p&gt;Un collègue avait fait un autre très bon billet là-dessus : &lt;a href=&quot;http://www.clever-age.com/veille/blog/quelle-difference-entre-une-classe-abstraite-et-une-interface.html&quot; title=&quot;http://www.clever-age.com/veille/blog/quelle-difference-entre-une-classe-abstraite-et-une-interface.html&quot; rel=&quot;nofollow&quot;&gt;http://www.clever-age.com/veille/bl...&lt;/a&gt; :-)&lt;/p&gt;</description>
  </item>
      
</channel>
</rss>