This is the recording from Ray Camden’s presentation today.
Archive for category CFML
I found this article by James Netherton on a discussion list of CF-Brasil group.
I needed that long time ago, when I had to import some data from a PHP web application. I tried his code and it works perfectly, so I’m linking to his blog so you may use that code too if you need.
Invoking a Webservice Using CFHTTP
Here is his code for the component:
<cfcomponent output="false" style="rpc"> <cffunction name="addNumbers" access="remote" returntype="numeric" output="false"> <cfargument name="firstNumber" type="string" required="true"/> <cfargument name="secondNumber" type="string" required="true"/> <cfreturn arguments.firstNumber + arguments.secondNumber/> </cffunction> </cfcomponent>
Here is his code for the test:
<!--- You'd need to strip any whitespace before passing to CFHTTP ---> <cfsavecontent variable="soap"> <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <ns1:addNumbers soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://directorypath"> <firstNumber xsi:type="xsd:string">100</firstNumber> <secondNumber xsi:type="xsd:string">10</secondNumber> </ns1:addNumbers> </soapenv:Body> </soapenv:Envelope> </cfsavecontent> <!--- Note that there's no ?wsdl appendage to the url ---> <cfhttp url="http://myserver/webservice.cfc" method="post"> <cfhttpparam type="header" name="content-type" value="text/xml"> <cfhttpparam type="header" name="SOAPAction" value=""> <cfhttpparam type="header" name="content-length" value="#len(soap)#"> <cfhttpparam type="header" name="charset" value="utf-8"> <cfhttpparam type="xml" name="message" value="#trim(soap)#"> </cfhttp> <!--- Dump out a nice representation of the SOAP response ---> <cfdump var="#xmlParse(cfhttp.FileContent)#">
New book release: ColdFusion 9 Developer Tutoria by John Farrar.
You may purchase it through Packt Publishing, either paper, eletronic or both editions.
I was doing a bit of research on a potential project when I stumbled across faint, a Java facial recognition library and decided to give it a quick try.
The bad news is that the documentation is literally non-existent. So I did a bit of poking around the Jar and quickly found an ‘OpenCVDetection’ class. I dropped the faint Jar in my class path, restarted CF and about 5 minutes and 14 lines of code later I got the following result…
by Todd Sharp
See the complete post here.
I always used version 2 of the best wysiwyg editor out there: FCKeditor. But it began to show it’s age, and some functions didn’t work like I wanted. So I checked for an upgrade.
And yes, did they have one! A completely rewritten editor, now dubbed CKeditor, created byCKsource.com. It looks good, works good, and was easy to integrate.
On the other hand, they really changed the way they do business: if you want the file uploader CKfinder with the editor, you have to pay for it! Previously, all was free. I understand they want to make money, but to pay a license fee per client website would be unreal.
Luckily, there is a free alternative: the CKeditor filemanager plug-in by Core FiveThey made a file manager (uploader) plugin which can be used with CKeditor, and is very easy to implement. But as always, Coldfusion wasn’t yet supported. And that’s why I created the CFM connector for CKeditor’s alternative Filemanager!
by Paul Klinkenberg.
Download the CKeditor with FileManager from Paul’s blog “Railo Developer“.
For those who work or are interested in Sean Corfield’s FW/1 framework, {quicklycode} published a nice cheat sheet.
You may find it here.
Railo Expanding Hot
Apr 7
Good news for the ColdFusion community!
Railo is expanding its operations to United Kingdom and U.S.A..
Mark Drew will be the head of U.K. operations and Peter Bell will be the one in U.S., congratulations to both excellent professionals and active members of our community.
Railo 3.0 Launched
Sep 9
The new Railo version 3.0 is out there. Open source version with jBoss is coming soon, that will bring more developers to the CFML language.








