ColdSpring Framework and Fusebox 4

I’ve spent time some getting familiar with Springframework for .NET which, among other features, supports inversion of control containers and the dependency injection pattern. While that may sound complicated, once you read about it, you’ll find that it’s really not all that complex. Basically, it’s a great way to make the configuration and [...]

Putting CFMX’s Event Gateway to Good Use

I found a very nice way to use CFMX’s asynchronous event gateways. I’m working on an import tool of sorts that spiders a site and generates a Google sitemap XML document. Once the sitemap is generated, all the URLs are requested one by one and then parsed for the various content we need. [...]

ColdFusion doesn’t like the xmlns attribute

For some reason CF doesn’t like the xmlns attribute in the root node of an XML document. If you attempt to use a valid XPath statement in the xmlSearch function the array that’s returned will be empty. Strip it out like so:

<cfset myXMLDoc = xmlParse(myXMLDoc)/>
<cfset myXMLDoc = reReplaceNoCase(myXMLDoc,'xmlns=".*?"',"","all")/>

Just another one of those, “who’s [...]

Porting an FB4/MVC ColdFusion Application to ASP.NET

We’re building a prototype application based on an existing CF app, a move primarily driven by the need for a more refined/elegant front end as well as the need to command greater ‘respect’ (for want of a better word). Let’s face it: an ASP.NET app written in C# is seen by most business [...]

CFML highlighting for iG:Syntax Hiliter WordPress Plugin

I tried a bunch of code formatting plugins for WordPress and none seemed to work very well. Either they were prone to errors, or they didn’t have enough language support. This plugin: iG:Syntax Hiliter is based on the GeSHi - Generic Syntax Highlighter which supports a bunch of different languages…all but ColdFusion it [...]