Tag Archives: rpc
v2.2.0 is out
Recently I have dived back in to the RPC feature and I have managed to improve this quite a lot. No more isVoid/isAsync These are no longer needed as all of this is automatically handled by the RpcBehavior. Optional callbacks … Continue reading
easyXDM and prototype.js, how to make it work
This is no longer needed from v2.1.0 as easyXDM now feature tests for a valid JSON implementation. Cross-domain RPC was made easy by the introduction of easyXDM, but there are still obstacles to be found, especially when using libraries like … Continue reading
Creating a bookmarklet with easyXDM
Bookmarklets has been common for a long time and are quite easy to make. But one thing that you often see when examining the code behind bookmarklets are that most of the code is just to facilitate simple cross domain … Continue reading
Adding easyXDM to your project, including debugging tools
To be able to use easyXDM in you project, either as a provider, consumer or both, there are a few things that you need to do.
Remote Procedure Calls (RPC)
As fun as transferring simple strings from one domain to another might sound; is this really what you need? While some applications (like the resize iframe example) might need nothing more, most often what you want is to be able … Continue reading
Cross-domain AJAX
As mashups are getting more and more common a problem that keeps arising is how to include data from external domains in a safe way.
Resize iframe based on content
One thing that many are using easyXDM (and other cross-domain hacks) for, is to dynamically change the size of embedded iframes based on the contents size, so as to avoid the scrollbars. With easyXDM this is really easy: