<?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: Railo 3 Beta 2</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2008/06/27/railo-3-beta-2/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.barneyb.com/barneyblog/2008/06/27/railo-3-beta-2/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<lastBuildDate>Thu, 11 Sep 2014 09:58:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: SitePoint Blogs &#187; The Week In ColdFusion: June 25-July 1: An unconference, a new book and a boatload of code</title>
		<link>https://www.barneyb.com/barneyblog/2008/06/27/railo-3-beta-2/comment-page-1/#comment-101852</link>
		<dc:creator>SitePoint Blogs &#187; The Week In ColdFusion: June 25-July 1: An unconference, a new book and a boatload of code</dc:creator>
		<pubDate>Thu, 03 Jul 2008 15:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=432#comment-101852</guid>
		<description>[...] been released, with several improvements which Michael Streit explains on the offical Railo blog. Barney Boisvert talks about the significance of the array and struct improvements, and Raymond Camden points out the new variable scope handling [...]</description>
		<content:encoded><![CDATA[<p>[...] been released, with several improvements which Michael Streit explains on the offical Railo blog. Barney Boisvert talks about the significance of the array and struct improvements, and Raymond Camden points out the new variable scope handling [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad Wood</title>
		<link>https://www.barneyb.com/barneyblog/2008/06/27/railo-3-beta-2/comment-page-1/#comment-101151</link>
		<dc:creator>Brad Wood</dc:creator>
		<pubDate>Tue, 01 Jul 2008 16:06:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=432#comment-101151</guid>
		<description>Ah-- thank you so much for the clarification.  That makes perfect sense.  In fact I hadn&#039;t even thought of of those uses before.  Sounds like I need to &quot;Go Wish&quot; something to Adobe.  :)

~Brad</description>
		<content:encoded><![CDATA[<p>Ah&#8211; thank you so much for the clarification.  That makes perfect sense.  In fact I hadn't even thought of of those uses before.  Sounds like I need to "Go Wish" something to Adobe.  :)</p>
<p>~Brad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2008/06/27/railo-3-beta-2/comment-page-1/#comment-101147</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Tue, 01 Jul 2008 15:56:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=432#comment-101147</guid>
		<description>Brad,

I meant &quot;express&quot; installation, which is the Railo/Jetty combined bundle.  I&#039;ve fixed the post.

On ColdFusion, array and struct literals are an extension to the assignment statement syntax.  That is, they can only be used inside assignment statements (x = []).  Contrast this with an expression such as &quot;1 + 2&quot;.  The right side of an assignment statement is always an expression (except if it&#039;s an array/struct literal), so you can do this: &lt;cfset x = 1 + 2 /&gt;.  Similarly, CFRETURN takes an expression, so you can do this: &lt;cfreturn 1 + 2 /&gt;.  Method invocations, tag attributes, hashes in CFOUTPUT, CFIF/CFELSEIF, etc. all accept expressions.  However, since ColdFusion doesn&#039;t implement struct and array literals as expressions, you can&#039;t use them in any of those places.  Railo doesn&#039;t have that deficiency.  Make sense?

Here&#039;s two examples of literal usage that leverage the expression-ness of the literals.  They&#039;ll work on Railo, but not on ColdFusion:

&lt;cfreturn {
  query = myQuery,
  result = myResult
} /&gt;

&lt;cfif arrayLen([1, 2, 3]) EQ 3&gt;
&lt;/cfif&gt;</description>
		<content:encoded><![CDATA[<p>Brad,</p>
<p>I meant "express" installation, which is the Railo/Jetty combined bundle.  I've fixed the post.</p>
<p>On ColdFusion, array and struct literals are an extension to the assignment statement syntax.  That is, they can only be used inside assignment statements (x = []).  Contrast this with an expression such as "1 + 2&#8243;.  The right side of an assignment statement is always an expression (except if it's an array/struct literal), so you can do this: &lt;cfset x = 1 + 2 />.  Similarly, CFRETURN takes an expression, so you can do this: &lt;cfreturn 1 + 2 />.  Method invocations, tag attributes, hashes in CFOUTPUT, CFIF/CFELSEIF, etc. all accept expressions.  However, since ColdFusion doesn't implement struct and array literals as expressions, you can't use them in any of those places.  Railo doesn't have that deficiency.  Make sense?</p>
<p>Here's two examples of literal usage that leverage the expression-ness of the literals.  They'll work on Railo, but not on ColdFusion:</p>
<p>&lt;cfreturn {<br />
  query = myQuery,<br />
  result = myResult<br />
} /></p>
<p>&lt;cfif arrayLen([1, 2, 3]) EQ 3><br />
&lt;/cfif></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad Wood</title>
		<link>https://www.barneyb.com/barneyblog/2008/06/27/railo-3-beta-2/comment-page-1/#comment-100326</link>
		<dc:creator>Brad Wood</dc:creator>
		<pubDate>Sat, 28 Jun 2008 05:24:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=432#comment-100326</guid>
		<description>Pardon my ignorance, but what is an &quot;expression&quot; installation?
Also, what exactly does it mean that the array and struct literals are expressions?  

Thanks.

~Brad</description>
		<content:encoded><![CDATA[<p>Pardon my ignorance, but what is an "expression" installation?<br />
Also, what exactly does it mean that the array and struct literals are expressions?  </p>
<p>Thanks.</p>
<p>~Brad</p>
]]></content:encoded>
	</item>
</channel>
</rss>
