Discover the best of the web!
Learn more about Digg by taking the tour.
Cool Ajax Tutorial With Prototype...
petefreitag.com — "I wanted to give an example of a good use of AJAX, and at the same time keep it simple. So I thought a good example would be to build a zip code verifier. As soon as the person enters the zip code it makes a request to the server to see if the zip code is in the database, and returns the city and state."
- 913 diggs
- digg it
- roostishaw, on 10/12/2007, -3/+2Dude, you friggin' stole my little picture/avitar thingy, but with a new color... not cool. ;)
- DonWilson, on 10/12/2007, -3/+3CFM? Lame. Talk about a dead programming language...
- elitheeli, on 10/12/2007, -3/+0Old. I saw this a few weeks ago.
- 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?
- boohiss, on 10/12/2007, -1/+0Digg's RSS feeds are jacked up
- 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. - vemon388, on 10/12/2007, -5/+2cfm? crap
- 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. - Seumas, 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. - mrfx, on 10/12/2007, -5/+0Trash!
- 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. - spacebar14, on 10/12/2007, -1/+0@roostisshaw: :) hahaha nice
- 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! - 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
- 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!
- 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 - 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.
- 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 .. ;) - gunbuster, on 10/12/2007, -2/+0dup, boring, no digg
- 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.
- Thickey, on 10/12/2007, -3/+0Coldfusion.. are you on crack?
- Toiling, on 10/12/2007, -1/+0Love the AJAX!
--------------------------
http://www.venusarcade.com - thal3s, on 10/12/2007, -2/+0A tutorial using Cold Fusion?! Give me a break. Total waste of a click.
Not dugg. - 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) - 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. - 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.
