This is

as days pass by, by Stuart Langridge

. Here I write about many things. In the past I wrote about other things but the past is past. I write code for people to play with, I write about my life on Twitter, and I write here.

On I wrote textmockuptool, on the subject of Hacks.

textmockuptool. A daft tool to help me do wireframes of windows in ascii-art. When I mentioned that this is how I do mockups, dobey said that I should join the 21st century. So I videoed myself using it and put the video on YouTube and embedded it with the HTML5 video element. That's so far into the 21st century that I'm not sure it'll even work.

Basically, I think that a text mockup of a window is a really simple way to get going. If you see:

+--------------------------+
| x _   My great app       |
|                          |
| Name:    [_____________] |
| Gender:  (o) M     ( ) F |
| Country: [Andorra     v] |
|                          |
|          [Cancel] [ OK ] |
+--------------------------+

then it's reasonably obvious what's meant: no-one complains about the graphics not being right; it's incredibly quick to do (that one above took less than a minute -- try mocking up that same window in that time in Balsamiq or Pencil or Glade or Qt Designer or Google Sketchup or whatever); and it's dead easy to show to other people because it's just text. You can cut-and-paste it into an email; it's really easy for them to alter (not the case with, say, a PNG), and they'll definitely have the tools to edit it (not the case with, say, an SVG or a .glade file).

Anyway, the most annoying thing by miles is having to go along and add spaces to all the rows when I want to make the window bigger, and keep toggling between insert mode and overtype mode when I want to add things to the middle of the window. Hence, textmockuptool; now I don't have to do that. I don't think the Balsamiq people are gonna be quivering in their boots over something I wrote in an hour, but, hey, I like it.

Code at lp:~sil/+junk/textmockuptool, anyway.

bochecha

I've had some quick mockups to do lately. I tried using Inkscape, following the presentation Mairin Duffy gave at FUDCon for how to properly use it.

But after half an hour of struggling to display a rectangle, I gave up and did as I've always done: I opened Gedit and got my mockup done in 5 minutes.

So you're not alone. :)

I'll be sure to try textmockuptool, it looks fantastic!

nona

This is quite cool.

It reminds me a bit of another project that uses ASCII for "mockups" (well, diagrams really)

http://ditaa.org/

Alex Launi

Sort of off topic, but please take a lesson from the folks at Diaspora and make gender a text box, not a binary radio button.

That's now how the world is.

Alex Launi

Sort of off topic, but please take a lesson from the folks at Diaspora and make gender a text box, not a binary radio button.

That's now how the world is.

heh

http://imgur.com/7j6oN

sil

Um... http://img6.imagebanana.com/img/anwezg0b/screenshot_003.png looks fine to me, Mr heh?

Nathan

What python / gtk+ version is required?

I got twice an error about the number of arguments to a function that were not correct. I fixed those by commenting the offending lines (not the best thing to do, but I wanted something to look at :p).

After that I got a crash...

(http://pastebin.com/mLj5ciET)

sil

Nathan: ah. It probably requires the currently-in-development Ubuntu 11.04, oops, sorry :)

eric casteleijn

Using a single cell ascii table in emacs/org-mode would also do this for you. Just saying. :P

gbutler

Awesome! I'd like to subscribe to your newsletter!

Seriously, I'm a big fan of texts mock-ups myself.

PJ Brunet

Have you tried Asciio?

numerology calculator

This is quite cool post...I really like this post and also the known about the text mock-up by this post....

This website belongs to Stuart Langridge. Contact details are available. Don't eat yellow snow. Valid HTML5, at least in theory, except for the bits that aren't because I'm that futuristic that I'm ahead of the spec, oh yes. HTML5 help from Bruce Lawson, among others. Fonts from the superb FontSquirrel. End.