New look and now using AJAXCFC 2006 05 09

I have gone back through the application and implemented my View Controller script. This script uses Rob Gonda's AJAXCFC to allow for multiple "views" on one screen. AJAXCFC is a very clever method for allowing your client side interface to talk to your CFC's directly and it even does transparent conversions between JavaScript complex objects and ColdFusion complex objects. I am using this more abundantly in my work for my company. I also did some new work to my Flickr API.

Before, it was incredibly slow and I figured it was because for each method call I was wasting precious time trying to convert each return into a custom CF Query object. And because of how slow it was, I decided to set up a cache proxy (basically a set of MSSql Server tables that I would store results from a custom spider). In this new version I abandoned the proxy and decided to just let the Flickr CFC return the XML packet and then let the developer display what data he or she wanted. This has lead to a performance gain in using the Flickr API directly and eliminated the need for a proxy.



Tags for this article

Comments

No comments =(

Leave a comment



< Back