CFWheels - Rediscovering beauty in CF Code

I've dabbled with Ruby on Rails and Grails in the past and have always lamented about the fact that the frameworks in CF do not possess the same beauty and elegance.

Well, CFWheels changes all that.

If you ask me, I'd say that all CF developers should at least try it out to once to see all that it has to offer.

Read more...

Running Apache Solr on JBoss

Off late, I've been doing a lot of development with Railo running on JBoss. So naturally, I wanted to plug in Apache Solr (which now ships with ColdFusion 9) into my JBoss instance running Railo.

What I thought would be straight-forward took a bit to figure out. The issue comes when you have to setup the solr.home property. The Apache Solr wiki suggests putting an <env-entry> node in the web.xml. However, if you do that, the XML does not validate as "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN". JBoss 5 is a little particular about web.xml validating properly -- which is a good thing!

So the trick to declare Solr home variable is to do this:

Read more...

&lt;cfdump&gt; Art

<cfset variables.art = {art = art}>
<cfdump var="#variables.art#">

=

ColdFusion Dump Art