Sponsored by Sony Pictures
Do you believe the 2012 Mayan Prophecy? view!
whowillsurvive2012.com - The Mayan Calendar predicts the end of time: 2012. See the trailer for 2012, opening November 13.
29 Comments
- cfsynergydotcom, on 10/12/2007, -1/+5Pete Freitag is always doing interesting stuff and it's great that it's in CF.
CF bashers havn't looked at ColdFusion in years, now it's a completely object-oriented Java scripting language. Far from being dead, it's growing like a weed. And 8.0 will kick ass! - grayrest, on 10/12/2007, -0/+3@seumas
The important thing is not the server side technology. All you need is something at a given url that can return:
1. JSON, which you eval() and do something with the resulting object
2. A HTML fragment, which you then dump into the page using innerHTML
3. XML which you can do a couple things with including transform with XSLT or walk using something like E4X which is available in firefox
There really isn't that much to it. I will say, however, that prototype hacking is the crack/cocaine of the javascript world. Use dojo or mochikit instead of prototype.js. - jiminoc, on 10/12/2007, -0/+2"i hate blogs that don't grammar check. i mean honestly. you'd think someone would know the difference between your and you're"
you need to get out more - pete, on 10/12/2007, -0/+2Those that are bashing ColdFusion don't seam to be posting any reasoning. Feel free to bash away, but please give a reason for it.
And no the article was not stolen from webpasties, it just happens that two people came up with the idea of using zip codes and ajax together. - shawnwaite, on 10/12/2007, -2/+4
CF is far from dead.. where do come off with that statement...
seaner - you can use the developer copy for free, CF hosting is fairly cheap also. - glind01, on 10/12/2007, -0/+2mike P what?? done in a completely better and simple, in PHP. Personally I like both PHP and ColdFusion for different reasons, but that statement is just ignorant. It's a fact that large scale enterprise level apps can be built and deployed much quicker with ColdFusion. Just because you don't know a a language does not make it stupid.
- br0ken1128, on 10/12/2007, -0/+2Back-end programming language is irrelevant anyway, the ajax work is all done in javascript, it's all about how you handle the exchange of information ..
Ajax app posts to a back-end app, the back-end app returns information, the front-end parses the returned values..
So, with perl .. just build a CGI that spits out information you can handle in javascript and you're fine .. ;) - jeremiahx, on 10/12/2007, -0/+2CF is in no way dead... Anytime I can write enterprise level Java backend applications in about 1/2 the time and 1/8 of the overall cost of Java (yeah it may be free software but you have to look at overall cost). For the time being I am sticking with CF as I have for the last 7 years.
- bikeheadDOTcom, on 10/12/2007, -1/+2"I can't try this because I don't have ColdFusion. Why wouldn't they make it without CF?"
I've never coded cold fustion, but their example is just a simple page that can easily be rewritten in you language of choice (php,jsp,asp,etc.). I digg. - seaner, on 10/12/2007, -1/+1I can't try this because I don't have ColdFusion. Why wouldn't they make it without CF?
- inactive, on 10/12/2007, -0/+0I'm looking for a good tutorial/guide/example of how to do AJAX stuff with Perl. I haven't found much/anything.
Specifically, I'm interested in doing things with Perl and PostgreSQL. Everything I find is based around PHP and Ruby. I'm not a web designer by trade and I tend not to focus on that aspect -- but I do want some of that functionality . . . just need a good tutorial for my tools. - jinocide, on 06/25/2008, -0/+0i was disappointed to see it was written in CF too at first but then it only took me 5 minutes to rewrite it in PHP. here's an example of what the zipCheck.php file would look like:
$colname_rs_zipcodes = "-1";
if (isset($_GET['zip'])) {
$colname_rs_zipcodes = $_GET['zip'];
}
else
{
print('Please enter a valid zip code.');
}
mysql_select_db($database, $conn);
$query_rs_zipcodes = sprintf("SELECT * FROM zipcodes WHERE ZipCode = %s", GetSQLValueString($colname_rs_zipcodes, "text"));
$rs_zipcodes = mysql_query($query_rs_zipcodes, $conn) or die(mysql_error());
$row_rs_zipcodes = mysql_fetch_assoc($rs_zipcodes);
$totalRows_rs_zipcodes = mysql_num_rows($rs_zipcodes);
if ($totalRows_rs_zipcodes > 0)
{
print('' . $row_rs_zipcodes['ZipCity'] . ', ' . $row_rs_zipcodes['ZipState'] . '');
}
else
{
print('Zip code not found.');
}
?> - Toiling, on 10/12/2007, -0/+0I love ColdFusion. I need to better my skills at it though.. The article wasn't stolen anyway.. coincedience.
Gamers out!
-------------------------------------------------
http://www.venusarcade.com - raym444, on 10/10/2007, -0/+0ColdFusion is dead??? yeah right. That's why the biggest, most popular personal networking site in the entire world (MySpace.com) is using it. I just love all these amateur webapp programmers putting down CF when they have no idea what they're talking about.
- inactive, on 10/12/2007, -4/+3CFM? Lame. Talk about a dead programming language...
- spacebar14, on 10/12/2007, -1/+0@roostisshaw: :) hahaha nice
- boohiss, on 10/12/2007, -1/+0Digg's RSS feeds are jacked up
- rickysilk, on 10/12/2007, -2/+1I wish CF were dead, sorta. I work with it everyday. We're slowing porting everthing to php though.
- Toiling, on 10/12/2007, -1/+0Love the AJAX!
--------------------------
http://www.venusarcade.com - roostishaw, on 10/12/2007, -3/+2Dude, you friggin' stole my little picture/avitar thingy, but with a new color... not cool. ;)
- joshfraz, on 10/12/2007, -1/+0it appears that this article was stolen from: http://www.webpasties.com/xmlHttpRequest/
(which also includes a nice example) - mike_p, on 10/12/2007, -3/+1CF is on its way out... it costs money and the same effects (for the most part) can be achieved, if not done in a completely better and simple, in PHP... and you know this, MAN!
- gunbuster, on 10/12/2007, -2/+0dup, boring, no digg
- thal3s, on 10/12/2007, -2/+0A tutorial using Cold Fusion?! Give me a break. Total waste of a click.
Not dugg. - Thickey, on 10/12/2007, -3/+0Coldfusion.. are you on crack?
- elitheeli, on 10/12/2007, -3/+0Old. I saw this a few weeks ago.
- aaron.dunlap, on 10/12/2007, -4/+0i hate blogs that don't grammar check. i mean honestly. you'd think someone would know the difference between your and you're
- vemon388, on 10/12/2007, -6/+2cfm? crap
- inactive, on 10/12/2007, -5/+0Trash!


What is Digg?
The Digg Toolbar for Firefox lets you Digg, submit content, and keep track of Digg even when you're not on the Digg site. Download the official