<?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: Future Proof</title>
	<atom:link href="http://blog.adventdigerati.com/2008/10/futureproof/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.adventdigerati.com/2008/10/futureproof/</link>
	<description>Where Life meets Geek</description>
	<lastBuildDate>Sat, 14 Nov 2009 15:13:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Zack</title>
		<link>http://blog.adventdigerati.com/2008/10/futureproof/comment-page-1/#comment-19</link>
		<dc:creator>Zack</dc:creator>
		<pubDate>Thu, 08 Jan 2009 02:27:11 +0000</pubDate>
		<guid isPermaLink="false">http://adventtechnorati.wordpress.com/?p=8#comment-19</guid>
		<description>@Nate: That&#039;s a very good point, and in fact one of the pillars most MVC frameworks I&#039;ve seen are built on. A well-designed framework leverages its strengths and minimizes its weaknesses, of course; so any language with code generators is perfectly adept at taking advantage. (Lisp is utterly famous for this.)

In the technology market, it&#039;s invaluable to have a language that can adapt as fast as you need it to. Rapid prototyping and tracer bullet-style development require quick thinking and even quicker typing. Eval() makes short work of this.

Case in point: In an MVC with an RDB backend, it&#039;s worth while making a generic linking function in your base object. Leverage what you have: an instantiated object pulled from the DB with an attribute/field which is a valid pointer to another loadable object. By using Eval() to load that object, zipping along your foreign keys can be a relative breeze.</description>
		<content:encoded><![CDATA[<p>@Nate: That&#8217;s a very good point, and in fact one of the pillars most MVC frameworks I&#8217;ve seen are built on. A well-designed framework leverages its strengths and minimizes its weaknesses, of course; so any language with code generators is perfectly adept at taking advantage. (Lisp is utterly famous for this.)</p>
<p>In the technology market, it&#8217;s invaluable to have a language that can adapt as fast as you need it to. Rapid prototyping and tracer bullet-style development require quick thinking and even quicker typing. Eval() makes short work of this.</p>
<p>Case in point: In an MVC with an RDB backend, it&#8217;s worth while making a generic linking function in your base object. Leverage what you have: an instantiated object pulled from the DB with an attribute/field which is a valid pointer to another loadable object. By using Eval() to load that object, zipping along your foreign keys can be a relative breeze.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nate</title>
		<link>http://blog.adventdigerati.com/2008/10/futureproof/comment-page-1/#comment-18</link>
		<dc:creator>nate</dc:creator>
		<pubDate>Thu, 08 Jan 2009 00:32:12 +0000</pubDate>
		<guid isPermaLink="false">http://adventtechnorati.wordpress.com/?p=8#comment-18</guid>
		<description>Hey Zack.  Very true.  Runtime evaluation is extremely handy and one of the beauties of loose typed scripting languanges.  In php this also can extend to function and class method names.  

&lt;code&gt;
if(method_exists($obj, $method))
  $result = $obj-&gt;{$method}();
&lt;/code&gt;

or

&lt;code&gt;
$function = &quot;nl2br&quot;;
echo $function(&quot;a\nb&quot;);
&lt;/code&gt;

Recently used this doing some MVC style controllers mapping URLs to models.  Obviously, with this kind of flexibility comes responsibility - &quot;eval&quot; style statements can be dangerous without the proper checks and string cleansing.

In more recent versions of PHP, I believe you can also use variables to set classes at runtime just as you can for variables and functions.</description>
		<content:encoded><![CDATA[<p>Hey Zack.  Very true.  Runtime evaluation is extremely handy and one of the beauties of loose typed scripting languanges.  In php this also can extend to function and class method names.  </p>
<p><code><br />
if(method_exists($obj, $method))<br />
  $result = $obj-&gt;{$method}();<br />
</code></p>
<p>or</p>
<p><code><br />
$function = "nl2br";<br />
echo $function("a\nb");<br />
</code></p>
<p>Recently used this doing some MVC style controllers mapping URLs to models.  Obviously, with this kind of flexibility comes responsibility &#8211; &#8220;eval&#8221; style statements can be dangerous without the proper checks and string cleansing.</p>
<p>In more recent versions of PHP, I believe you can also use variables to set classes at runtime just as you can for variables and functions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: No One Plans to Fail &#171; Advent Technorati</title>
		<link>http://blog.adventdigerati.com/2008/10/futureproof/comment-page-1/#comment-2</link>
		<dc:creator>No One Plans to Fail &#171; Advent Technorati</dc:creator>
		<pubDate>Sun, 26 Oct 2008 06:53:56 +0000</pubDate>
		<guid isPermaLink="false">http://adventtechnorati.wordpress.com/?p=8#comment-2</guid>
		<description>[...] same decimal separator, or even the same character encoding. The customization is fairly complex, and your portion of the product must accept this. Whether you do this elegantly or not is another [...]</description>
		<content:encoded><![CDATA[<p>[...] same decimal separator, or even the same character encoding. The customization is fairly complex, and your portion of the product must accept this. Whether you do this elegantly or not is another [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
