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.

Problems with CFAjaxProxy and migrating over to ColdFusion 9, what you need to know

A little while ago I posted about this problem and after digging into it further, found here ColdFusion and debugging ColdFusion 9 Ajax calls with the line debugger. Since then I have done a bit more digging around and found that for some reason in ColdFusion 9 there is an extra URL paramter being passed via the AjaxProxy.

More ColdFusion and ExtJS Core and jQuery comparisons

Following on from a previous post I made about the comparisons between ExtJS and jQuery, I thought I would go into a bit more detail with some of the other features that the two frameworks offer.

ColdFusion and how to turn your forms into an ajax request with ExtJS core

Although I have used the freely downloadable core version of ExtJS for the example, one can certainly use and leverage of the existing ExtJS that is bundled with ColdFusion to do this as well.

On a project that I am currently working on I have the desire to use as much ajax as possible for this project, the reason being is that I personally hate to refresh an entire page just to make small changes to a page.

I have been working on this project for a few years and yes, my current blog is actually running a very early version of this application. In my design I want to turn a normal form into an Ajax form and not have to have the look and feel that comes with using the ExtJS widgets form.

This is actually easier than I thought it was.

How to handle ColdFusion session time outs with Ajax calls and ExtJS

I have been working on a ColdBox application for a few months now, which has a lot of Ajax calls when a user is signed in. The one thing that I have not really handled, is how do I tell the browser that the users session has timed out.

ExtJS can make this very easy, and the code that I am showing will work in both ExtJS and ExtJS Core.

ColdFusion and a small gotcha when wanting to use cfwindow methods from under the hood

After reading an email in a mailing list I wanted to put an example together, on how this person could achieve what they wanted to do. The problem that I came across was something that had me stumped for a long time.

It seems that there is something missing in the way ColdFusion is creating the CFWindow and including the correct code.

ColdFusion and populating a dropdown, based on the selection of another

I thought I would write a tutorial on this subject as it appears to be the most asked from people, and show how to utilise some features of ColdFusion that seem to be overlooked by a lot of people.

When this question arises it seems that the majority if not all the answers and solutions that I see, are always pointing to the use of jQuery and never have I seen one that uses what is already built into ColdFusion.

ColdFusion 8 and turning of column header moving

I wanted to blog this as I have done it before, and quickly forgot how I did this. So for others who might google a solution, then at least there will be something to find.

cfajaxproxy and a common gotcha

One of the best things that was introduced into ColdFusion was the cfAjaxProxy tag, however I would like to add that to the unwary there is a very huge gotcha. And can make for debugging a little hard.

Using Ajax in ColdFusion is simpler than most people think

I thought I would post this very quick Ajax tutorial and how easy it is to use, without using any extra frameworks or JavaScript libraries that don't already come with ColdFusion.

Cross Site Scripting, how safe is it.

This week I had the task of trying to fix a site that was moved to another location, and because the database with the sensitive data remained at another location I had to change the JSon methods that I was using.

But I stopped and thought that the amount of work I needed to do, just to fix this was too much there had to be an easier way.

And there was.

Dojo more to come

Currently finishing of a project at the moment, so I haven't had much time to post here. But I thought that the next step in my Dojo series would be to look at extending dojo to create a custome widget and show how easy it is to use this powerful framework.

More Entries