Ajax has been revolutionizing the web. However it is greatly limited by the browser same-origin policy, meaning that your site can only be as good as the web applications and tools that you create. But there's a lot of great tools out there, wouldn't it be nice to tap into them? Changeable Origin Web Services -- COWS -- Ajax breaks down this barrier.
It argues that "traditionally" Ajax, which utilises
XmlHttpRequest object to perform asynchronised HTTP requests, has one problem -- which was actually a security policy. The way to solve this "problem" is by using its COWS Ajax mechanism which allows web services from hosts other than the origin of the page to be performed.
Behind the scene is actually quite simple. In order to invoke a web service on a different domain, the COWS API does:
- Create a
- Point the
- Append the
<SCRIPT/>DOM element to
Sounds exactly like how many complicated bookmarklets work. My old Google video download script works the same way. Besides security issues due to trust, there is really nothing new. In fact, I won't even consider it as "Ajax". What is Ajax then?
I personally don't think COWS has resolved any issue that has already been addressed. Nor is it a savour to Ajax -- it is far more limiting than the "traditional"
XmlHttpRequest style Ajax. There is however much market-speak on COWS' website:
And in exchange for making the cool apps, the application host can create branding, drive traffic, or employ serveral revenue streams. Everyone wins! In this case, the cow coming home is the cash cow ;-)
You need much much more than COWS to create a cool app, and you need much much more than a cool app to bring in the cash. Meanwhile, COWS just sounds like bull to me.