ColdFusion and Remote Calls and notifying the caller of the problem

I want to touch on a subject that I know that not many people actually take into consideration, and that is how to deal with errors and other problems on the server when being called by a remote client call.

I am going to state that I am defining any call made as either a web service, remote procedure call, rest calls that is either from a client like a JavaScript call or even Flash, Flex or anything else.

So how do we handle them, should we report them to the caller or should we just log the call somehow on the server.

ColdFusion and what is a ValueObject as Flex developers seem to not know

It seems that somewhere some how someone quoted in the ColdFusion world, what a Value Object actually is by their definition. Since then the term has taken of in the Flex world like wild fire, and yet every time I ask these people what they think a Value Object is, they actually get it so wrong that it is not funny.

Nine times out of ten when these people are asked their answer are actually describing what we call Transfer Objects, and yet how does something like this exist and yet be so far wrong in the Flex world?

ColdFusion Guidelines/Standards what works for you and why

Today we had an interesting discussion on this very subject, now we already have one in place. Yet we have varying opinions on why we should do something, but nothing really concrete as the real truth as to why it should be this or that way. I personally have grown to love the fact that the beginning of a block is on the same line as the method, component class or loops etc. My logic behind this is that it is neater, doesn't clutter the workspace and fairly easy to read.

However my logic just doesn't end there.

ColdFusion, Flex Builder and debugging

While doing a project that is a mixture of Flex with some ColdFusion code, I was a little surprised to find that the line debugger in Flex is not worth that much. I mean the only time you can fire a break point, is if you have run the Flex Application from Flash Builder 4.

What this means is that if one was to design a Flex Application that can run stand alone, with some ColdFusion code. And you want to integrate this, or call this application from a full blown ColdFusion Application. You need to pass some variables across from the ColdFusion Application to the Flex Application, but as this is run from the browser then the Flex Application can never have break points for debugging.

I do consider this a very negative thing, but there is a work around.

Debugging with ColdFusion Builder and Flash Builder in same IDE

One of the things that took me by surprise was the way that I couldn't do any debugging while I had ColdFusion Builder and Flash Builder installed in the same Eclipse instance. Debugging ColdFusion projects on their own wasn't a problem and yet I struggled with getting this to work with a Flex and ColdFusion project.

That was till now.

Flash Builder 4 and project settings flaw in its design

After having a play around with a Flex project for a few months now, I decided to uninstall the beta version that I had been using and install the final release. But I noticed that there was one thing that seemed to be lacking in the design of the workflow and settings of this application.

I have to also assume that this has been a problem with the application for a number of years, and versions prior to this release as well.

Transfer Objects are not Value Objects, really!!

Very short post, after a colleague I work with has called them a VO again I have decided to make this  a little more public.

</more>

Sun changed their minds on this pattern, and I do not know how continued or even got it wrong in the world of ColdFusion and PHP. But 75% of the time anyone who asks a question on a VO is very much reminded that sun adopted them as Transfer Objects because it was too confusing to what a value object actually is.

So if you are a flex and/or ColdFusion developer I really wish you would begin to call your VO's as TO's unless you really mean the true definition of a Value Object. But to date every time I hear the term VO, I know they mean TO.

Enough said, I know who started it in the ColdFusion world. And I wish that person would step forward and say they got it wrong.

Free Flex 3 license round 2 USA now follows the UK lead

Well it seems that everyone is blogging how Adobe is giving away a free Flex 3 license to unemployed developers, and I am not going to jump on that same bandwagon.

Adobe is... Joining Facebook in Making the Web More Social

This is some very good news.

Gumbo and my thoughts

Had a quicj read of what Gumbo is today, and from what I can see its looking like it will be a great product.

However, I seriously hope that the Design in mind is just that. One of the things that I have not like about this product, is how much manual coding is involved.

Should ColdFusion adopt AS3 syntax?

When the news of what ColdFusion may or may not have in the next release, people have sparked a lot of discussion to adopt AS3 into ColdFusion. However I am just not going to agree it ever be adopted, and for many reasons.

Now after having said that there are some other options.

Flex Builder 2

After all the hype of Flex Builder, I must say I am very disappointed in the product. For the price tag, and the features the builder has. I think it is far over priced.

Adobe has done well to deliver this product, yet the design side of the product seems to be un polished, lacking the things one would expect to see.

I guess maybe that after seeing Microsofts Expression, Flex builder 2 is lacking so much potential.

More Entries