Shaun Mccran

My digital playground

13
O
C
T
2008

So I lost my job.....

But got a new one, so its all cool.

So I went on holiday, and in the mean time my ex box drops the ball, and makes my whole team redundant!

In these times of economic 'crises' (I say crises in quotes as it seems to be a media driven situation, rather than a real world scenario) it was a bit shocking, but luckily there are some industries that aren't as effected as others. And IT is one of them :-)

So now I'm working in Windsor! For a company called White Label Dating. (http://www.whitelabeldating.com/)

They are in the middle of a server migration, which leads me nicely on to my next subject, stress testing!

10
O
C
T
2008

Where have my code hints gone in eclipse??

I recently re-installed Eclipse (then CFEclipse, Aptana .... etc etc..). Much to my horror I was happily coding away on my new installed version, and my code hints had disappeard! CTRL+SPACE just didn't work anymore!

i couldn't find anywhere in the preferences to re-enable this (ala DreamWeaver) but I did discover that if I right clicked on the project folder, and selected "Add/Remove CFE Nature" it re-enabled the code hints!

Eclipse was already in the CfEclipse perspective, and it was a cf project, so I'm not sure why this made any difference. Handy tho.

08
O
C
T
2008

Microsoft PhotoSynth

I was recently sent a link to the new Microsoft photo synth site.

[quote] Imagine being able to share the places and things you love using the cinematic quality of a movie, the control of a video game, and the mind-blowing detail of the real world. With nothing more than a bunch of photos, Photosynth creates an amazing new experience. [/quote]


Microsoft Photo Synth

It looks very interesting, I know I'll be having a play :-)

06
O
C
T
2008

Calling Component methods in one function call

Sometimes I want to return a data object from a specific method within a cfc, but in one hit. Why code an object creator, then a call to a method in that object, when you can do it in one go.

view plain print about
1<cfset variables.myFusebox = createObject("component","myFusebox").init(variables.FUSEBOX_APPLICATION_KEY,variables.attributes,variables) />

In the code above I am creating a variable "variables.myFuseBox". This becomes the return data from the object "myFuseBox" which is invoked with the createObject command. I am then passing the ".init" command to reference the "init" method in the CFC.

Lastly I'm passing in a list of arguments to the init method in the standard way.

_UNKNOWNTRANSLATION_ /