Software As She’s Developed

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

Software As She’s Developed header image 4

Entries Tagged as 'AjaxPatterns'

What’s New in On-Demand Javascript? ScaleCamp Presentation

December 6th, 2009 · No Comments · SoftwareDev

On Demand Javascript – Scalecamp 2009View more presentations from mahemoff.

These are the slides from my ScaleCamp presentation, covering various techniques for various styles of On-Demand Javascript, including Script Islands, “async” and “defer” attributes, and library support.

One of the interesting things at ScaleCamp is that many of the folks there are dealing with third-party advertisers and [...]

[Read more →]

Tags: ···

Embedded Images in TiddlyWiki Under IE6 via MHTML – Proof-of-concept

November 16th, 2009 · 6 Comments · SoftwareDev

I only came across the MHTML image hack over the weekend, while listening to @jeresig on the new jQuery podcast (incidentally not the only

[Read more →]

Tags: ·····

Fun with Fragment Identifiers

February 13th, 2009 · 5 Comments · SoftwareDev

I was recently invited to make a statement on WebMasterWorld about something in advanced Javascript at the edge of my understanding. I decided to cover fragment identifiers, something I have an odd obsession about:

There’s a lot of cool stuff going on right now, standards-based graphics and sound foremost in my mind. But I’ll focus here [...]

[Read more →]

Tags: ·····

The Upside in Web Advertising

December 24th, 2008 · No Comments · SoftwareDev

TechDirt discussion about web advertising. This reminds me of a recent Doc Searles article, Why Online Advertising Sucks and is a Bubble:

It isn’t adveristing itself. It’s the way it’s too often done.

I almost never click on an ad, for three reasons. First is that I almost never find what I’m looking for. Second is that [...]

[Read more →]

Tags: ····

Chasing super

December 4th, 2008 · 1 Comment · SoftwareDev

A lot of discussion around object-oriented Javascript involves finding cunning methods to get a super reference. This is sometimes a reference to the super class, the super instance, or the super version of the current method. The latest installment in an Ajaxian posting this week on work by Erik Arvidsson. It makes for an interesting [...]

[Read more →]

Tags: ·····

WordPress “Edit This” Links via Ajax

November 25th, 2008 · 2 Comments · SoftwareDev

Working on a WordPress customisation recently, I added an "Edit This" link which only logged-in people can see. To get caching right, the server always outputs the same thing - an invisible link - and only in the browser does the decision get made to show the link or not. This exemplifies the pattern I [...]

[Read more →]

Tags: ···

Offline Sound: No Flash, No File

October 21st, 2008 · 13 Comments · SoftwareDev

I just did some tinkering with offline sound and it turns out you can embed an audio clip in an HTML file, and play it without using Flash. I could have demo'd this in a raw HTML file, but it was just as easy to stick it in a Tiddlywiki file. So I made a [...]

[Read more →]

Tags: ······

Frame-Busting Gadgets

September 16th, 2008 · 3 Comments · SoftwareDev

In the questions after my @media ajax talk, Simon Willison asked about frame busting. If gadgets sit inside iframes, what's to stop them from busting the frame, i.e. replacing the container with another website. I notice he made a similar comment when OpenSocial came out. If a gadget can cause iGoogle to go away in [...]

[Read more →]

Tags: ······

Relative Paths and On-Demand Calls in Gadgets

May 19th, 2008 · No Comments · SoftwareDev

A problem with the current opensocial gadget spec is that there's no relative path support. This means you end up hard-coding any references to Javascripts, CSS stylesheets, images, and services which are distributed along with your gadget.

This is not good. For example, you may have a "prod" setup and a "dev" setup. While developing, you [...]

[Read more →]

Tags: ····

Cross-Domain Communication with IFrames

March 31st, 2008 · 81 Comments · Links, SoftwareDev

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: ······