<?xml version="1.0"?>
<rss version="2.0">
<channel>

  
  
<title>the Numiton blog - Responses</title>
<link>http://www.numiton.com/blog/</link>
<description>on automated software migration</description>
<language>en</language>
<managingEditor>Numiton</managingEditor>
<lastBuildDate>Thu, 17 Jul 2008 17:40:13 GMT</lastBuildDate>
  

  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  <image>
    <url>http://www.numiton.com/numiton-logo.gif</url>
    <title>the Numiton blog</title>
    <link>http://www.numiton.com/blog/</link>
  </image>
  
  
  <item>
    <title>Re: Open-source Web applications, PHP vs. Java (Part 2 of 2)</title>
    <link>http://www.numiton.com/blog/2008/05/01/1209649647945.html#comment1216316413175</link>
    <description>
      I would also love to see a Java version of Drupal - I think there would be huge interest in this
    </description>
    <author>Chris Guselle</author>
    <comments>http://www.numiton.com/blog/2008/05/01/1209649647945.html#comments</comments>
    <guid isPermaLink="true">http://www.numiton.com/blog/2008/05/01/1209649647945.html#comment1216316413175</guid>
    <pubDate>Thu, 17 Jul 2008 17:40:13 GMT</pubDate>
  </item>
  
  <item>
    <title>Re: PHP bad practice: the use of extract()</title>
    <link>http://www.numiton.com/blog/2008/07/09/1215624902650.html#comment1215702263701</link>
    <description>
      The extract function has a very specialized use. And I agree it should not be applied to the alternative scenarios you outline at the end, which in essence deal with working with function or method parameters.&lt;br /&gt;
&lt;br /&gt;
The one case where I&#039;ve found it useful is in passing a subset of variables from one scope to another.&lt;br /&gt;
&lt;br /&gt;
For example, if you have a controller assigning some variables to a template (pure PHP template in this case), your controller could internally keep them in a $template_vars array.&amp;nbsp; When the template is rendered, use extract($template_vars) to get only those variables into the local scope.&amp;nbsp; It makes for much easier to read and use template files.
    </description>
    <author>Oscar Merida</author>
    <comments>http://www.numiton.com/blog/2008/07/09/1215624902650.html#comments</comments>
    <guid isPermaLink="true">http://www.numiton.com/blog/2008/07/09/1215624902650.html#comment1215702263701</guid>
    <pubDate>Thu, 10 Jul 2008 15:04:23 GMT</pubDate>
  </item>
  
  <item>
    <title>Re: PHP bad practice: variable reuse</title>
    <link>http://www.numiton.com/blog/2008/06/20/1213952553459.html#comment1214118135602</link>
    <description>
      In this case the same variable holds the end-result of the transformation having the same type. This is similar to output composition ($str = &#039;&amp;lt;&#039;.$str.&#039;&amp;gt;&#039;), a very reasonable operation in my opinion.
    </description>
    <author>Robert Enyedi</author>
    <comments>http://www.numiton.com/blog/2008/06/20/1213952553459.html#comments</comments>
    <guid isPermaLink="true">http://www.numiton.com/blog/2008/06/20/1213952553459.html#comment1214118135602</guid>
    <pubDate>Sun, 22 Jun 2008 07:02:15 GMT</pubDate>
  </item>
  
  </channel>
</rss>
