Months Archive September 2006

 
 

Coldfusion as popular as Perl!

Well, that probably doesn’t say much, but in a recent poll taken over at Ajaxian.com, Coldfusion was used by a respectable 45 out of 865 respondents. Of those 45 (presumably) 10 were using AjaxCFC and another 3 use CFAjax. I’m surprised another 2% were using Flex in conjunction with Ajax (not neccesarily using CF though), a majority using the Flex-Ajax Bridge (1.4%). Another 8 people wrote in Spry as one of their most often used ajax frameworks as well, which is a decent .9% of respondents. Interesting poll still, but it does make me curious about the global useage of Coldfusion.

Flex and Yahoo Maps integration

Why do extra work? When looking at what kind of APIs Yahoo maps offers for developers, I came across their Flex API and was absolutely stunned at how easy it might be to add them in. Unfortunately the current Flex API only supports up to Flex 1.5, which is completely different from Flex 2.0 (1.5 runs server side and has to be installed on the server, 2.0 compiles to swf files which run independently). i’ll be keeping an eye on this for when they do release the Flex 2.0 version, as by then I might have advanced beyond the novice stage.

The Flex 1.5 api allows for a very quick way of adding maps:

<yahoo:YahooMap id=”myMap” width=”550″ height=”400″ zoomLevel=”3″ latitude=”37.77159″ longitude=”-122.401714″ />

Along with some easy ways to add single points to the map.

In searching for a way to implement maps now though, I came across a wonderful example on inserting Yahoo! mpas in a Flex 2 application complete with a working example. I have to say, it’s developer support like this that make things fun when you’re first getting started.

Admittedly, I’ve cheated with the maps integration up to this point by using this, but should be a good intro to how they work. Tomorrow I’ll probably add some kind of feature to ‘clear’ previously clicked on items from the map (probably whenenver a new filter() occurs) as well as have a new option in the filter section to “map results” which would add all the filter results to the map, although I’ll probably need some kind of a limit.

What impresses me most about this is the speed at which the map reacts. It’s hard to compare it to Google Maps API for me though, because at the time I worked with Google I was just getting into Javascript and their API was only just released. It’s no surprise that due to API changes the current scipt no longer works.

Anyways, ArcadeFly.com is updated with mapping features, and you can have a good idea of what’s comming next now too.

Isn’t it obvious?

Is it easy to explain the difference between a hash

var myHash = {a: ‘value for a’}

and an object

var myObject = {a: ‘value for a’}

Sam Stephenson @ Ruby-sponoffs