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

The Upside in Web Advertising

December 24th, 2008 · No Comments

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

Chasing super

December 4th, 2008 · 1 Comment

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

WordPress “Edit This” Links via Ajax

November 25th, 2008 · 1 Comment

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

Offline Sound: No Flash, No File

October 21st, 2008 · 11 Comments

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

Frame-Busting Gadgets

September 16th, 2008 · 3 Comments

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

Relative Paths and On-Demand Calls in Gadgets

May 19th, 2008 · No Comments

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

Cross-Domain Communication with IFrames

March 31st, 2008 · 7 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

BlingText and Banner

February 12th, 2008 · No Comments

Ajax, AjaxPatterns As foretweeted last week, I created a little Ajax app called BlingText. As you can see, it takes a message and provides some ASCII renderings. In particular, it includes a port of the old UNIX/C Banner utility. If I do more work on it, the main improvements will be: Options. Let the user specify, for [...]

[Read more →]

Tags: HumansAndTech · Links · SoftwareDev

Widget/Gadget Containers: What are they good for?

February 4th, 2008 · 3 Comments

Ajax, AjaxPatterns, Gadgets, OpenSocial, Shindig, Web, Web 2.0, Widgets Background Widgets are small "mini websites", typically self-contained blocks of content, on a larger web page (with Ajax Design Patterns, I referred to them by the nom du jour Portlets). They are used in a couple of ways: Embedded in a normal web page. For example, my [...]

[Read more →]

Tags: SoftwareDev

Where Do Widgets Come From? A Look at Widget/Gadget Content Types

February 1st, 2008 · 1 Comment

Ajax, AjaxPatterns, Gadgets, Google, Web, Web 2.0, Widgets Background A while back, I walked through a Google Gadget I made called Digg Roundup, which simply shows Digg headlines and can be customised on topic and popularity. In my quest for an uber-simple tutorial, one thing I skipped on was content type, the subject of the present muttering. [...]

[Read more →]

Tags: Links · SoftwareDev