2008 East
DIAMOND SPONSOR:
Data Direct
Frontiers in Data Access: The Coming Wave in Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
Intel
Virtualization – Path to Predictive Enterprise
Green Hills
IT Security in a Hostile World
JBoss / freedom oss
Practical SOA Approach
GOLD SPONSORS:
Software AG
The Art & Science of SOA: How Governance Enables Adoption
PlateSpin
Effective Planning for Virtual Infrastructure Growth
Fujitsu
Automated Business Process Discovery & Virtualization Service
Ceedo
Workspace Virtualization
Click For 2007 West
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
In today's cooking class you'll add to your cookbo...
BLOG-N-PLAY.COM
New York Times - Frank Rich - October 4, 2008: After the debate, Republicans who had been bailing on Palin rushed back to the fold. They know her relentless ambition is the only hope for saving a tick
CFDJ TOP LINKS YOU MUST CLICK ON !


What Is AJAX?
It's become very popular lately, even though it's not exactly new. It's been possible to use the concept behind AJAX since browsers introduced the XMLHttpRequest function in 1999. Enjoy Rob Gonda's highly popular ColdFusion Developer's Journal article on AJAX, the hottest software development of 2005, with plenty more heat promised for 2006.
Reader Feedback: Page 1 of 2

Hi, I need a basic clarification. will Ajax can be implemented in ColdFusion 5 version(on IIS/oracle 9i). If yes, please help me by providing some information like How to setup engine files and how to get it worked in CF5.

Hi Rob,
Thank you for the introduction for ajax with coldfusion .It is very easy to get started.

did u recognize the Ajax interface as you posted your feedback, or you have no clue what Ajax means?

too bad you didnt use AJAX on this site...

It's become very popular lately, even though it's not exactly new. It's been possible to use the concept behind AJAX since browsers introduced the XMLHttpRequest function in 1999. Enjoy Rob Gonda's highly popular ColdFusion Developer's Journal article on AJAX, the hottest software development of 2005, with plenty more heat promised for 2006.

It's become very popular lately, even though it's not exactly new. It's been possible to use the concept behind AJAX since browsers introduced the XMLHttpRequest function in 1999. Enjoy Rob Gonda's highly popular ColdFusion Developer's Journal article on AJAX, the hottest software development of 2005, with plenty more heat promised for 2006.

Neither FF or IE will allow cross-domain scripting.

This is a securiry risk, read more here:
http://getahead.ltd.uk/ajax/cross-domain-xhr

There are ways around it like a Server Side proxy, or third party JavaScripts like Ajax Extend (http://ajaxextended.com/)

-Rob

Ok had a little time to kill and decided I'd give Ajax a try and see what all the hype was about. Downloaded and installed cfAjax folowed install directions step by step. all seemed fine untill I tried to run one of the sample applications. Then I got the following error.

Permission denied to call method xmlhttpRequest.open

I decided to load a full version of ajax and still got same error In looking for an answer I keep seeing the following as the culprit with no real solution.

This error occurs when you try to make requests off-domain.

which in pouring over the code I cant find anywher that the examples are making calls to off-domain. So lets cover the basics..

yes error is same in both ie and moxilla

no I'm not using a local file (ie //file/ajax/example)

no I dont have a firewall running between my work station and my development server

yes both machines are windows running IIS

yes the url has http (ie http://myDevelopmentServer/ajax/examples/text.htm

yes I created a virtual host for ajax in both IIS and my CF Administrator

So I guess that covers it Any help would be great

Trackback Added: What Is AJAX?; While I am on the topic of CFDJ articles, there is another one titled What Is AJAX?. This one begins a lot like my earlier p...

Trackback Added: Another “What Is Ajax” Introduction; What Is Ajax?
— It’s become very popular lately, even though it’s not exactly new. It’s been possible to use the concept behind AJAX since browsers introduced the XMLHttpRequest function in 1999. Enjoy Rob Gonda’s highly popu...

Mohan, I am glad I could help; I definitely tried to make the article so easy and straight forward so everyone can get AJAX started. This will be one of the major topics for 2006.

To stay up to date with AJAX, please check my blog (www.robgonda.com) http://www.robgonda.com

Best,

-Rob

i am new to AJAX this is a wonderful article. After seeing this article i am going to implement CFAJAX in our (production) search form.

thank you veryyyyyyyyyy much

regards mohan

Perhaps, nothing really prevented anyone from using it; Jesse James Garrett just had to come up with the idea/concept. By the way, don't miss Jesse at the Ajax Seminar (www.ajaxseminar.com/)

It is indeed; AJAX involves combining any server scripting language with client side, hence, JavaScript. I can see how you could probably automate a two related select boxes without writing JavaScript, but certainly not an RIA or Web 2.0 application.

SYS-CON will soon launch a dedicated online AJAX section but it will not be called "AJAX Developer's Journal" or "AJAX Magazine." Thanks and best regards.

P.S. Please stay tuned for SYS-CON's complete educational offerings to be announced soon.


Feedback Pages:


FEATURED WHITE PAPERS
YOUR FEEDBACK
Yogesh wrote: Hey Yang, Nice article. But how actually we handle transaction in case of spring and cxf?
Keith Levenson wrote: If I change sqlregex = "select" for testing the code works fine. The complete regular expression as listed above doesn't seem to work in CFMX8.
Joe wrote: Well, using agile programming is not stopping our company from outsourcing. So using technique number seven is not foolproof. Dont know how it will work out, but some people will be laid off.
Java Consultant wrote: Good Post.... Java Consultant...
Java Web Development Company wrote: Hey, It's great post... Thanks.....
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS

SYS-CON FEATURED WHITEPAPERS

BREAKING NEWS FROM THE WIRES

Adobe Systems Incorporated (Nasdaq:ADBE) today announced a partial line-up of prese...

Rich Internet Applications offer the potential to fundamentally change the user experience and in do...
Join Scott Guthrie as he discusses Microsoft’s commitment to web standards development, Rich Inter...
Virtualization has become a critical part of Enterprise IT strategy. Why and how has it become one o...
SQL Injection attacks are one of the easiest ways to hack into a website. One recent hack, using a s...
Recursion Software released a private beta version of their Voyager mobile platform, with powerful i...
2008 is going to be an important year for Rich Internet Applications. Most organizations are deliver...
CFDynamics, a ColdFusion web host, has renewed an agreement with SmarterTools that will allow them t...
From Application Virtualization to Xen, a round-up of the virtualization themes & topics being discu...
I might have skipped some of the new features of Flash Player 10, but you can always refer to the of...
Adobe has put out three free public betas: Dreamweaver, Fireworks and Soundbooth, all of which will ...
Google is opening up App Engine to one and all. The cloud-sharing gambit meant to entice developers ...
Red Hat is a trusted open source provider. Red Hat offers enterprise customers a long-term plan fo...
Adobe has published their first plan of what should be included in Flex 4 that is scheduled to relea...
The popular code generator Clear Data Builder will become available free of charge. Originally, Clea...
This is a checklist of items you need for an all-encompassing personal branding strategy. Personal b...
As CFML developers start to learn Java and move into the realm of Spring and Hibernate, it is very i...
In today's cooking class you'll add to your cookbook a delicious recipe. It's quick and won't cost ...
Ulitzer, Inc., which initially made the headlines with its 'job descriptions from the future,' annou...
My personal approach has become to to let ColdFusion do what it does best, and no more. No AJAX gene...
I am going to go ahead and contend that although a good number of ColdFusion developers can grasp an...
ADS BY GOOGLE