Software As She’s Developed

Mahemoff’s Podcast/Blog - Web, Programming, Usabilty from the Author of ‘Ajax Design Patterns’ (AjaxPatterns.org)

Software As She’s Developed header image 4

Cross-Domain Communication with IFrames

March 31st, 2008 · 2 Comments

This article explains iframe-to-iframe communication, when the iframes come from different domains. That you can do this effectively is only now becoming apparent to the community, and is now used in production by Google, Facebook, and others, and has powerful implications for the future of Ajax, mashups, and widgets/gadgets. I’ve been investigating the technique and […]

[Read more →]

Tags: Links · SoftwareDev

Fixing nightly Shindig build

March 4th, 2008 · No Comments

Update: Instead of the following, which assumes you're running containers off the filesystem, you should really run them off the web server. So the recommended way to run Shindig's sample container is "jetty:run-war" (not documented in the README, but my alert colleague located it on the mailing list). Then point to http://localhost:8080/gadgets/files/container/sample2.html. I checked out the [...]

[Read more →]

Tags: SoftwareDev

Shindig Architecture: Java Gadget Server 2 - Servlets

February 26th, 2008 · No Comments

More raw Shindig notes. This time, looking at org.apache.shindig.gadgets.http. See Shindigging tag. I'll structure them just a little more this time. Main Servlet BasicHttpContext.java - data struct for country/language/locale GadgetRenderingServlet.java - The servlet that accepts gadget spec URL and prefs, and outputs the gadget content (typically in an iframe). Delegates heavily to GadgetServer, in order to get a [...]

[Read more →]

Tags: Links · SoftwareDev

Shindig Architecture: Java Gadget Classes

February 25th, 2008 · 1 Comment

This is the first of an open series on the architecture of Shindig, the new open-source gadget/widget framework project. As mentioned here earlier, this project is building something similar to iGoogle, i.e. an environment for serving gadgets, a run-time environment for the gadgets to operate in, and a gadget container (as well as OpenSocial support). I'm [...]

[Read more →]

Tags: Links · SoftwareDev