Mutant World

Tuesday, August 04, 2009

Jetty Support for Cross-Domain XMLHttpRequests

Remember the same origin policy that restricts most of our JavaScript applications ?

Seems that we can finally get rid of it, thanks to a new W3C specification already implemented by Firefox 3.5 and, on server side, by the Jetty Servlet Container.

I blogged about all the details here.

Oh, if you're using Ubuntu Jaunty, you can install Firefox 3.5 via apt://firefox-3.5. It is named "Shiretoko" (its codename), but it's exactly Firefox 3.5.

Time to move on !

Labels: , , , ,

Wednesday, July 29, 2009

JavaScript Cometd

Lately I have been working with JavaScript, in particular I have written a JavaScript library that implements the Bayeux specification for the Cometd project.

I have to say that I really like JavaScript, the language.

Don't be fooled by "Oh, it's only for modifying CSS in web pages" because it's really a nice language, although it's misunderstood.

You can write nice applications in JavaScript and today JavaScript toolkits (such as Dojo or jQuery) helps you to figure out browser differences and make a wonderful job at reducing the code that you have to write, allowing you to concentrate on the business and not on the technical details.

I have blogged about the Cometd library I have written here.

Enjoy !

Labels: ,