Coldfusion

post thumbnail

Air Installer Build from any directory

I’ve been building an air installation builder in CF… and I ran into some issues with it at first, so I figured I would document some of them here in case someone else ran into the same stuff…
First off, I’ve been using what is right now the latest beta version of ADT, which is part [...]

9Jan2008 | Jim | 0 comments | Continued
post thumbnail

Managing Threads in ColdFusion

I started looking at <cfthread> today, and realized that it really does not have any sort of management facility built into it. while you can view / manage threads from within the server monitor…
1) you can’t get a status for a thread except from the calling page, or from another thread that was called from [...]

7Jan2008 | Jim | 0 comments | Continued
post thumbnail

Adobe onAir Event

I’ll be leaving this evening for the Adobe onAir event in Atlanta. I’ll be there all day tomorrow. onAir is Adobe’s 18 stop bus tour where they code while on the bus, and stop in these cities and show off what they’ve done while on the road. It’s all about Apollo and Flex (Apollo is [...]

13Aug2007 | Jim | 0 comments | Continued
post thumbnail

remoteObject() and Cold Fusion

 
I’ve recently started using Adobe Flex, and so far I really love it. Since I’m unable to design my way out of a wet paper bag, having pretty little components available like the datagrid has made me very happy.
Today i’m going to talk about my new friend remoteObject(), and since I am primarily a ColdFusion [...]

1Aug2007 | Jim | 1 comment | Continued
post thumbnail

What the CRUD?!

CRUD (Create, Retrieve, Update, Delete)
When interacting with any form of storage, these are the 4 basic methods that
you will use. Any time you are dealing with files, you will mostly only Create
a file, Retrieve a file, Update a file, or Delete a file. When dealing with
data, you will [...]

1Aug2007 | Jim | 1 comment | Continued
post thumbnail

Instantiating CFCs (Hello World!)

There are so many different ways to instantiate CFCs, that I decided that I would document them here for those who are interested.
Here is the helloWorld.cfc that we’ll be working with:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<cfcomponent hint="Hello World Component">
<cffunction name="greet">
<cfreturn "Hello World!">
</cffunction>
 
<cffunction name="greetUser">
<cfargument name="name" default="">
<cfset greeting = "Hello #arguments.name#!">
 
<cfreturn greeting>
</cffunction>
 
<cffunction name="display">
<cfargument name="name" default="">
<cfset greeting = "Hello #arguments.name#!">
<cfoutput>#greeting#</cfoutput>
</cffunction>
 
</cfcomponent>

<cfinvoke> is [...]

1Aug2007 | Jim | 2 comments | Continued