The upcoming release of easyXDM v2.0

Major improvements has been added to the project and I am proud to soon be able to release version 2.0, a release that features a new and simpler API, and a stack approach that is highly customizable when it comes to adding new features.

I would really love to get some feedback on the current state before releasing the new version, so as to make it as successful as possible, and so I turn to you.

Please, take a look at the repository at http://github.com/oyvindkinsey/easyXDM/, view the new documentation at http://easyxdm.net/v2.0.0/docs/, run the tests at http://easyxdm.net/v2.0.0/tests/ or download the code at http://easyxdm.net/v2.0.0/source.zip, and if you feel like it, give me some feedback either on this mailing list, or as an Issue at Github.
Some of the new features planned can be viewed at http://wiki.github.com/oyvindkinsey/easyXDM/planned-features, and I’ll continue to update this list as new ideas show up.

By the way, moving to the new API is really simple and only requires a few small changes – this is all shown in the examples.

And to show one of them, here is the new xhr.html sample, which shows how to use the easyXDM.Rpc (the old Interface class) together with the bundled xhr.html document.

var xhr = new easyXDM.Rpc({
    local: "../hash.html",
    remote: remoteUrl + "/../xhr.html",
    remoteHelper: remoteUrl + "/../hash.html"
}, {
    remote: {
        post: {}
    }
});

This will give you an instance of easyXDM.Rpc that exposes a method quite similar to the one many frameworks use for doing AJAX calls…

xhr.post("example/glossary.php", {
    param1: "a",
    param2: "b"
}, function(json){
    alert(json.glossary.title);
});

.. and hey presto, you have cross-domain AJAX without the inherent security issues that other approaches like JSONP has.
By the way, if anybody wants to contribute (as some has started to) feel free to do so!
What the project needs the most is a decent logo, a proper website (maybe something like http://www.dotnetopenauth.net/) and to have the documentation extended with samples etc like the ones at http://www.extjs.com/deploy/dev/docs/?class=Ext.form.ComboBox .

Also, if you want to stay up to date on new releases, ask questions  etc. then there is now a new google group created for this at http://groups.google.com/group/easyxdm

Tags: , , , , ,

This entry was posted on Tuesday, March 16th, 2010 at 00:48 and is filed under easyXDM. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

  • http://www.ehowtotradeforex.com/ Brenda

    in my opinion  the project needs a good decent logo and a proper website