easyXDM just became even easier to use!

To accommodate older browsers that does not implement the postMessage interface, easyXDM is able to fall back to using the URI fragment trick, and until now this has meant that the provided hash.html file had to be uploaded to the local domain (the ‘calling’ domain).

This seems to be a dealbreaker for many as they are unable to upload files to the server, either due to special systems, or because they just want to present an API in the form of ‘just include this javascript file’ etc..

With the new 1.5.5 release, this has all changed.

For scenarios where you do not want to upload the hash.html file, you can now point the local attribute to any file present on the local domain, like robots.txt or favicon.ico, and supply a readyAfter attribute with the number of milliseconds to wait before assuming the local file to be loaded and the library to be ready for interaction.

{
local: "/robots.txt",
readyAfter: 1000,
remote: "http://.........",
...
}

Update: Just released 1.6.0 which makes it possible to utilize the current document instead of loading a new one from the local domain. This makes it very easy to integrate, but does mean that you will be modifying the documents location when falling back to the HashTransport – and this might interfere with for instance history managers etc.

{
local: window,
remote: "http://.........",
...
}

The hash.html file is still the recommended approach for stable
implementations as it is unobtrusive and it guarantees that the library is indeed ready
when transitioning into a ready state.
Using hash.html also shortens the time needed to initialize easyXDM
as there is no need for the delay to give the local file time to
properly load.

All the different ways to set up easyXDM can now be viewed at http://easyxdm.net/wiki/Documentation.ashx

34 thoughts on “easyXDM just became even easier to use!

  1. Pingback: Alan Trider
  2. Pingback: sbobet
  3. Pingback: UMS Banking
  4. Pingback: Dror Soref
  5. Pingback: Bryan Zwan
  6. Pingback: m88
  7. What i do not realize is actually how you are not
    actually much more smartly-liked than you might be now.

    You are so intelligent. You recognize therefore significantly
    on the subject of this topic, made me in my view consider it from a lot of varied
    angles. Its like women and men don’t seem to be involved unless it’s one thing to do with Woman gaga!

    Your individual stuffs outstanding. At all times
    handle it up!

  8. I comment whenever I like a article on a website or if I have something
    to contribute to the conversation. It’s caused by the sincerness communicated in the article I browsed.

    And on this article easyXDM just became even easier to use!
    | Rantings in the dark. I was actually excited enough to post a thought :-P I do have a couple of questions for you if you tend not to mind.
    Could it be only me or do a few of the responses look as if they are left
    by brain dead people? :-P And, if you are writing at other sites,
    I would like to follow you. Would you list all of your social sites like your Facebook page, twitter feed, or linkedin profile?

  9. I rarely comment, however i did some searching and wound up here easyXDM just became even easier to
    use! | Rantings in the dark. And I actually do have a couple of questions for you if you don’t mind.
    Could it be just me or does it appear like a few of these comments appear as if they are written by brain dead visitors?
    :-P And, if you are writing at other sites, I would like to
    follow everything fresh you have to post. Could you list
    of the complete urls of all your public pages like your
    linkedin profile, Facebook page or twitter feed?

  10. Hi all, here every one is sharing such familiarity, thus it’s good to read this blog,
    and I used to go to see this web site everyday.

  11. Very nice post. I simply stumbled upon your blog and wanted to say that I’ve
    really loved browsing your weblog posts. In any case I will be subscribing for
    your feed and I’m hoping you write again very soon!

  12. There is no need to make your central heater work all day while you
    are at work. Enormous currents flow through the work piece,
    and are called eddy currents. Some intumescents such
    as soft char producers emanate a light char, which are poor conductors of heat.
    Based on the intensity of heating required, one
    should choose the infrared heater.

    My page ขาย induction heater

  13. I am really enjoying the theme/design of your blog. Do you ever
    run into any web browser compatibility problems?
    A few of my blog visitors have complained about my site not working correctly in Explorer
    but looks great in Safari. Do you have any solutions to help fix this problem?

  14. I got to lay in a treatment room chair and experience Ultherapy for
    myself. Some women who got this procedure done have commented that
    they did NOT have significant lifting results.

    Ulthera does not include the use of needles or surgical tools, making it completely non-invasive.
    These reactions may consist of: slight pain or a temporary numbness.

  15. I used to be recommended this blog by means of my cousin. I’m not sure whether or not this submit is written via him as
    nobody else know such distinctive about my trouble.
    You are wonderful! Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>