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

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

Guid0: A Javascript GUID Generator

November 13th, 2008 · 4 Comments

Guid0.js Guid0 is a GUID library for Javascript. Okay, it doesn't yet do official, bona fide, 128-bit, GUIDs yet, mainly for API design reasons. But this is a library you might find useful if you want to generate a unique ID in your Ajax app. Usage: PLAIN TEXTJAVASCRIPT: guid = new Guid(); guid.generate(); // Returns a unique ID, e.g. "dkvagrkx1rt" [...]

[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

For Browser Extensions, Grease is the Word

October 20th, 2008 · 5 Comments

Chrome now has Greasemonkey support. The Chromium patch came from Aaron Boodman, who is at once a Google employee and the brains behind the original Firefox Greasemonkey extension. It makes me wonder if this is the plan for Chrome add-ons. Forget about anything like Firefox's add-on mechanism and just rely on Greasemonkey. With the right APIs, [...]

[Read more →]

Tags: SoftwareDev

Reflections from a TiddlyWiki Tiddler and Thoughts on a Guide for Web App Development with TiddlyWiki

September 21st, 2008 · 5 Comments

I've recently begun working on a project with Osmosoft, which I'll announce Real Soon Now, and have got my hands dirty with TiddlyWiki to the point where I'm now able to make at least some useful functionality. You effectively get an MVC framework for free with TiddlyWiki, so as a power developer, I can see [...]

[Read more →]

Tags: SoftwareDev

Can’t really get excited about Ecmascript enhancements. Can’t really get disappointed about them either. When it comes to Ecmascript enhancements, I’m all “it doesn’t really affect me much”.

August 14th, 2008 · No Comments

There's some tweets and such like about Ecmascript Harmony today. I also saw a nice demo of Ecmascript 1.7 goods today. Really, I can't get excited about future versions of Ecmascript and can't get emotionally all in a tangle about the trials and tribulations of Ecmascript. I mean, Javascript is arguably the most popular language in [...]

[Read more →]

Tags: SoftwareDev

Using 280Slides (Ajax slideshow maker): Real World Experiences

August 13th, 2008 · 2 Comments

I used 280slides.com for a quick presentation today at the London Javascript meetup. (The usual Jobsesque slides - usually one phrase plus an optional image.) The tool is very cool, as initial reviews suggested, but most of those folks had not used it in a real world situation. The tool has it's complications when you use [...]

[Read more →]

Tags: SoftwareDev

Vim Macro for IDE-Like Behaviour

August 6th, 2008 · 2 Comments

I find Vim easiest for browsing source and as I explore TiddlyWiki, I decided to use some fairly recent Vim features - vertical splitting and the explorer window. Combined, these give you the feeling you're an 1988 edition of Eclipse. Just like a modern IDE, but navigation is ten times faster. Here's the macro - which [...]

[Read more →]

Tags: SoftwareDev

Shout - First TiddlyWiki Plugin

August 5th, 2008 · 4 Comments

Okay, it's remarkably lame, but here's my first TiddlyWiki plugin. It defines a new shout macro - you include <<shout some-message>> in a tiddler and it includes A SHOUTING VERSION OF THE MESSAGE. I adapted it from the sparklines plugin. The important code is at the end - you create a macro by defining a value [...]

[Read more →]

Tags: SoftwareDev