Set Up Your Web Development Environment on Mac OS X Leopard

First off, a massive thanks to Nick Tong for helping me with my transition to a Mac, and answering some seemingly dumb questions.

If you're new to a Mac, you're probably feeling the "parralell dimension" syndrome. Getting to grips with general tasks seems daunting enough, and even touching on your local development environment is a far off dream. Here are a few tips for setting up your dev environment that I wish I'd known before :

[More]

Stop / Start / Restart ColdFusion on Mac OS X Leopard

Standalone server :

sudo /Applications/Coldfusion8/bin/coldfusion start
sudo /Applications/Coldfusion8/bin/coldfusion stop
sudo /Applications/Coldfusion8/bin/coldfusion restart

JRUN server :

sudo /Applications/JRun4/bin/jrun -start cfusion
sudo /Applications/JRun4/bin/jrun -stop cfusion
sudo /Applications/JRun4/bin/jrun -restart cfusion

You have attempted to dereference a scalar variable of type class java.lang.String as a structure

I get this error fairly often when dealing with CRUD cfc's. It doesn't mean much to me, and probably to a fair few other people.

I have found, more often than not, that adding a dump and abort to your cfcatch in the CRUD cfc's will display a more helpful.

[More]

Set up Apache with ColdFusion

A quick note on setting up Apache with ColdFusion

[More]

Alternating row color

Another quickie - creating alternating row colors in a query table.

[More]

CF8 CFGRID problem - using edit with bind

I've been playing about with the new CF8 form tags today, and I've encountered one of a few problems with <cfgrid>

The first was I was unable to use the 'pagesize' attribute to a simple query, I had to create a binding. I worked around this one though....or rather, went with the flow

The next, more pressing issue is the inability to use the 'insert' attribute with a binding. Insert allows you to insert new rows, obviously! It worked before, using just a query.

Any help on this matter would be great, It's a feature I need to get working for a project.

[More]

CFImage - reading an image URL with a string attached

I was just reading a post on cfimage (which can be found here), and I found a hack which some people might find useful, and which I might, at some point, need in the future. So I'll blog it incase I forget

[More]

Passing Variables in a URL & using cfset's

I've been introduced to the wonders of variables, and on a recent project (an email template, as it would have it) I had to work out how to pass some variables from the email to the landing zone. Just thought I would blog about how its done Wink...

[More]

BlogCFC was created by Raymond Camden. This blog is running version 5.9.1.002. Contact Blog Owner