pf » Tag: coldfusion on Pete Freitag's Blog
May 05, 2008
CFSCRIPT Cheatsheet
Last year I put together a CFSCRIPT cheatsheet for my cheatsheet collection. I just realized today, I don't think I ever blogged about it. Let me know if you find it useful or if I am missing anything.
April 05, 2008
ColdFusion 8 Update 1 Fixes some Image Processing Quirks
It was nice to see that two of the quirks that I talk about in my Image Processing in ColdFusion 8 presentation were fixed in ColdFusion 8, Update 1 - they are:The cfimage tag and image functions now retain EXIF data after operating on an image.
April 05, 2008
10 Most Useful Image Functions in ColdFusion 8
Last week when I gave my Image Manipulation with ColdFusion 8 presentation at the New York City ColdFusion Users Group, several people asked me to blog this slide.
December 21, 2007
Foundeo's 2007 End of the Year Sale
Foundeo is holding a special promotion through the rest of 2007. We have bundled Foundeo's popular Image Effects Component for ColdFusion 8 along with the full source of our Simple Feed Parser for ColdFusion for $49.99 (you save $139!).
October 26, 2007
ColdFusion 8 Image Manipulation Presentation Recording
Last night I gave a presentation on Image Processing and Manipulation with ColdFusion 8 at the ColdFusion Online Meetup. The recording is now available. Charlie Arehart, the host of the ColdFusion Meetup, has also posted it on his UGTV.
October 19, 2007
Online ColdFusion Manual
Webucator, a web development training company has posted their ColdFusion training manual online. It currently covers ColdFusion 7, and will be updated to Cover ColdFusion 8 within the next few months.Looks like a great resource to send folks to that are new to ColdFusion.
August 09, 2007
CFImage Effects Library for ColdFusion 8
August 07, 2007
CFThread - Don't Abuse It
I love the fact that you can now create threads with CFML in ColdFusion 8, however as Spiderman can tell you with great power comes great responsibility.Using threads can increase the performance of your application, however using threads can also decrease performance.
August 06, 2007
Serializing CFC's in ColdFusion 8
One of the handy new features in ColdFusion 8 is that CFC's are now serializable. There isn't a whole lot of information about this new feature in the docs, but I did some playing around and it does appear that they have used Java's serialization API. This means that you can use java's java.io.
July 31, 2007
ColdFusion 8 Security Whitepaper
Adobe has published a whitepaper called: ColdFusion 8 Product Security Briefing, which outlines the results of an independent security audit from Information Risk Management Plc.
July 09, 2007
ColdFusion Security Presentation Slides
I want to thank everyone who attended my sessions at CFUnited this year. I was particularly amazed by the turnout for Building Secure CFML Applications. Here are the slides for the presentation.
July 09, 2007
Announcing Web Application Firewall for ColdFusion
I'm proud to announce a Web Application Firewall for ColdFusion, a new product that I have been working on. This product detects malicious requests (such as SQL Injection, Cross Site Scripting, etc) and then logs, filters, or blocks the request.
July 09, 2007
RSS Presentation Code and Slides
Several people have asked me for the code samples and slides from my RSS presentation at the CFUnited conference (Working with RSS in ColdFusion). As promised, the slides and code examples are now up online.
April 09, 2007
Getting the Application Root Path in ColdFusion
I wrote a handy function today that will return the server file system path of the acting Application.cfm file for a ColdFusion application. It works by working its way up the directory tree until it finds an Application.cfm file. If it doesn't find one it will throw an exception.
February 05, 2007
Application.cfm and AJAX
I had someone email me with the following question today:I'm developing a ColdFusion app with Prototype. Seems Ajax.updater wants to insert my application.cfm code into my div along with responseText. How can I stop this?
This question brought up two good points.
January 11, 2007
Finding the Last Modified Date on a File
This question came up on my local CFUG mailing list yesterday: how can I get the time last updated of the two
documents? I know you can do this with uploaded files using
FILE.TimeLastModified.
January 10, 2007
Top 10 Underrated Functions in ColdFusion
I gave a presentation at my local CFUG yesterday called 10 Underrated Functions in ColdFusion, I plan on doing one for tags as well at some point. Here was my list of functions, in no particular order:ValueList - Returns the contents of an entire query column in a string list.
December 22, 2006
New Icons for Adobe's Next Product Line
Adobe's new lineup of icons for the upcoming products including ColdFusion 8 (Scorpio), Adobe Photoshop CS3, etc. have been made public by John Nack, and they are generated quite a bit of reaction both good and bad.Here's the new icon for ColdFusion 8.
October 31, 2006
Trick or Treat - Web 2.0 Goodies for ColdFusion
I am happy to announce the latest creation from foundeo: fusionKit.fusionKit is a CD full of some handy ColdFusion components and UDF's. It is a similar concept to the DRK's that Macromedia used to sell, but is it's 100% ColdFusion.
October 24, 2006
ColdFusion Search Engine Using Google Coop
September 28, 2006
What's New in BlueDragon 7?
New Atlanta, just released Beta 1 of version 7 of thier BlueDragon CFML application server.Below is a list of the new features - I think the IsNull function and null keyword will prove to be quite handy.
August 22, 2006
Adobe Has a del.icio.us Account
June 14, 2006
CFCHART Example - Pie Chart
May 30, 2006
Floor Function in ColdFusion is Int
Those of you coming from programming languages that have a floor function, may be hard pressed to find it in ColdFusion - that's because it's called Int.The Int function will take in a floating point number chop off the decimal part, leaving you with just the integer part.
April 21, 2006
CFDocs.org back up and running
Several people have emailed to tell me that cfdocs.org was down. I have moved it to a different server, and it is now back up and running.If it's still not working for you give the DNS some time to propagate.
March 18, 2006
ColdFusion on the TIOBE index
My brother sent me a link to the TIOBE index which has ColdFusion at #13 (up from #26 last year). According to the site:The TIOBE Programming Community index gives an indication of the popularity of programming languages.
February 13, 2006
Textile for ColdFusion
A few weeks ago I mentioned that I had an open source project in the pipeline. Well I've been really busy so I haven't had a chance to release it until now...I built a UDF for converting textile markup into HTML markup.
You can learn more about textile here.
February 07, 2006
Use CFSILENT
Here's my tip for the day. If you have a choice in using either the cfsilent tag, or cfsetting enablecfoutputonly="true" use cfsilent.Here's why
Easier to type
Easier to read
The enablecfoutputonly gets very messy when used across cfincludes.
January 22, 2006
Jobs: ColdFusion vs Ruby
The Ruby programming language is getting a lot of interest these days, thanks to the Ruby on Rails framework developed by 37 Signals' David Heinemeier Hansson.
January 16, 2006
ColdFusion debate on digg
I was surprised to find that my AJAX zip code example made it on digg today. I was wondering why I was getting so many blog comments today...Anyways since I used ColdFusion in this example you will find some debate on ColdFusion in the comments on digg.
January 10, 2006
Null Java References in CF 6 vs 7
ColdFusion 7 appears to be much better at passing null values to a java object. ColdFusion 6 however likes to block you from doing it, even when you want to.I am tring to work with a java API that requires me to pass a null value to a method.
January 05, 2006
ColdFusion Tagging Library
November 14, 2005
Get Wheelin!
Rob Cameron has just released version 0.1 of ColdFusion on Wheels a MVC framework for ColdFusion, and inspired by Ruby on Rails.There's no better way to get started than to check out his 8 min. video tutorial. And if your new to Ruby on Rails check out their 15 min video.
October 27, 2005
DNS Query with ColdFusion
It has been a while since I've posted one of these java + cfml tricks, so here's a neat one for ya'.You can use the Java Naming and Directory Interface (JNDI) to perform a DNS query in ColdFusion.
September 19, 2005
Want additional DB or OS support in ColdFusion?
Are you burnin' for built-in PostgreSQL support in Macromedia ColdFusion (BlueDragon already has this)? How about FreeBSD? Debian Linux Support? Fedora Support? Additional J2EE servers? 64-Bit Operating systems?Then go and take the ColdFusion vendor support survey.
September 12, 2005
Build a directory browser with ColdFusion
Most web servers have directory browsing disabled, but sometimes you want it to work for certain directories. Most web servers also allow you to setup specific settings for your directories for instance you could do it with an .htaccess file on Apache.
September 09, 2005
RDS Security Problems?
Erki Esken posted a comment on Ben Forta's blog asking if the source to the RDS plugin for Eclipse would be released. Forta's response was:"But, my gut feel is that it would not be a good idea to fully expose the source for RDS as that may create potential security problems.
September 01, 2005
Cheat Sheet Roundup - Over 30 Cheatsheets for developers
Lets face it, unless you have a photographic memory, no developer can remember all the different functions, options, tags, etc. that exist. Documentation can be cumbersome at times, thats why I like cheat sheets.
August 31, 2005
CodeFetch
CodeFetch is a clever little app that searches published books for code samples matching your search. So if you search for cfmail you will get code samples from several books on ColdFusion. You can then of course buy the books through amazon.
August 28, 2005
ColdFusion Jobs
The indeed job search engine has a pretty cool feature that you can add to your site, called job rolls. So for instance if you have a coldfusion site, and want to list coldfusion jobs then, you can paste in a job roll for coldfusion jobs:Jobs from Indeed
August 18, 2005
Dynamic Java Class Loading with ColdFusion
Doug Hughes has posted a very clever technique for allowing you to run Java classes without adding them to your classpath. This means that people who build ColdFusion apps that include java classes can make them super easy to install.
July 28, 2005
40% use RDS
I am retiring my poll Do you use RDS? after 129 responses, 51 people said Yes (about 40%), and 78 people said no (about 60%).New poll coming up.
July 27, 2005
Critics skeptical of Fusion in a Jar
An EE Times Article about two Purdue researchers attempting to create Cold Fusion:But hard-headed physicists have grown wary of "fusion in a jar" experiments.
Don't they know that Macromedia has already done this? cfusion.
July 24, 2005
CF on Rails
I have noticed two CFML developers have made the switch to Ruby On Rails (a Rapid Web Application Development Framework for the Ruby programming language).
July 21, 2005
New Poll: Do you use RDS?
I have added a new blog poll titled Do You Use RDS? I'm just curious how many people use it. There are lots of reasons not to use it, but I think its still pretty popular.Here's why some people might use it:
Easy way to edit files on a remote server.
July 08, 2005
The client variables debacle
Nathan Strutz recently said that client variables are no good to use. From reading his entire post, he isn't saying that the concept is flawed, just the current implementation. He even suggests how they may could be improved.
June 16, 2005
Macromedia Example Applications
Looking for example applications built with Macromedia products? I found this list of Macromedia sample applications in the del.icio.us side bar on cfmx.org.
There are Flex, Flash, ColdFusion, and Dreamweaver example apps there.
June 10, 2005
cfmx.org
I have owned the domain cfmx.org for a while now, and I have had a lot of ideas for what I can do with it. But I wanted to start using it, so I whipped up a ColdFusion only aggregator portal a few weeks ago.
February 08, 2005
Installing multiple versions of CFMX on JRun
I like to setup my development machine with different versions ColdFusion, but all with the same web root. I setup a server for each instance, so I can use the same url on different ports (eg CFMX 6 on port 8600, CFMX 7 on port 8700, etc).
April 08, 2004
Parsing RSS 1.0 with ColdFusion MX
Well thanks to Sean Corfield I understand why I was having issues with namespaces when trying to parse RSS 1.0 with XPath.If you have a document with namespaces such as RSS 1.
April 08, 2004
RSS and XPath
I came across a handy reference article on xml.com today that gives XPath queries for RSS and Atom feeds. Just last week I was attempting to parse a RSS 1.0 feed in CFMX using the XMLSearch function. I'm running into problems however due to the name spaces in RSS 1.
January 21, 2004
Using Java Web Services with CFMX
JWS files are nothing more than a Java class with a .jws extension. But when placed on a web server with Axis installed (such as ColdFusion MX), you can expose that class as a web service. This works just like CFC's do in ColdFusion. Here's an example JWS we will call CaseService.
December 19, 2003
Regular Expressions with ColdFusion - a Howto Guide
Regular Expressions are a powerful tool for both developers and computer users alike. Regular Expressions were originally developed on Unix systems and used in programs like Perl, sed, and grep.
October 09, 2002
Batch Files to Restart Services on Windows
I wrote some batch files today for restarting services on windows. The bat files can be used to restart ColdFusion MX or IIS services on Windows NT/2000/XP.Batch File to restart ColdFusion MX
@echo off
REM - File: cfmxrestart.
October 08, 2002
CFC's - private works like protected
I noticed yesterday that when you use access="private" in a CFC function, inherited CFC's also have access to this function.In object oriented languages such as Java, C++, or C# this type of access is known as "protected" access.
Subscribe to my RSS Feed:
RSS
RSS
Pete Freitag is a software engineer, and web developer located in



