Friday, December 28th, 2007
Facebook released FBJS as a way to do more than just the simple Mock Ajax that you could do before hand. It didn’t go as far as Caja (hopefully Facebook will work together on it), which seems to be the natural step wrt sandboxing code.
Many apps already use FBJS in innovative ways, and as part of this release we offer improved AJAX capabilities in FBJS. The new feature is a local proxy that allows you to make direct async requests back to your application server. This trick lets you to gain all the advantages of FBML without needing to use an embedded IFrame. To make this ability even more useful, we also now provide a DOM function setInnerXHTML that lets you to modify your canvas page by adding a string of HTML.
The more that we can do in our applications without having to jump into iframe land, the better.
Posted by Dion Almaer at 12:02 am