Entries for month: April 2010

Full CFScript Component Syntax is Now in Latest Railo BER

CFML , Railo 2 Comments »

Below is a screenshot of my Railo Development server showing the change log for the latest development release (version 3.1.2.011).

Railo Update Screenshot

Take special note of the last 3 tickets. That's right -- you can now write properties, components, and interfaces in full cfscript with the latest development release of Railo. Thanks to Sean Corfield for pointing my attention to this. Enjoy!

Injected Methods Show Up in Object Metadata in Railo but not ColdFusion

CFML , ColdFusion , Railo 13 Comments »

I recently had a chance to listen to the latest edition of the This Week in ColdFusion Podcast wherein design patterns are discussed. One of the design patterns that Brian Carr talks about in the podcast is the Decorator Pattern. As an example, Brian describes how you can use the dynamic nature of ColdFusion to assign a function to a variable and then add that function to an object at runtime (this is also known as "method injection"). Bob Silverberg, who was a guest on the podcast then asked Brian whether the injected method would show up in the object's metadata if you called the getMetaData() function on it. Brian didn't know for sure, but he and Bob agreed that it was unlikely. This piqued my curiosity, so I set about to test this myself.

Read more...

Powered by Mango Blog. Design and Icons by N.Design Studio
RSS Feeds