All in the <head>

– Ponderings & code by Drew McLellan –

– Live from The Internets since 2003 –

About

By the way of an example

15 June 2004

Anyone who has written any sort of technical book or tutorial will tell you that one of the trickiest bits of doing so is picking the right example page or project to base the tutorial on. The challenge is threefold. Firstly, and most obviously, you need to pick a project that will enable you to cover all the technical points you’re trying to address in the tutorial. Secondly, you want to pick something that’s not going to be a million miles away from an actual task that the user might perform once they’ve learned the skills – it has to be relavent to your target audience. Lastly, it really helps if the subject matter is interesting.

I’m as guilty as anyone of falling foul of that last requirement. Sometimes it’s just too easy to use the example of a corporate web site again and again to illustrate your points. However, we’ve seen it all before and it’s no fun trying to learn from dull, unimaginative material. In response to both this and modern online trends, many authors have switched to using a weblog-type site in their examples, but I fear this may be more constricting, less imaginative and even more tiresome that the famed corporate outing.

It could be that I’m far too paranoid about this and boring examples aren’t actually a problem for most readers. After all, it’s the techniques that are important and in some ways it can be beneficial if the example is so boring that it fades into the background. It’s more important that the reader takes away the technique than remembers the learning experience. So I figure the only way to find out is to ask. Yes, I’m talking to you.

Are corporate web sites and other such run-of-the-mill examples in books a real turn-off? Or do they work just fine? What sort of examples would you actively like to see in a book?

If you hadn’t guessed already, I have a new book underway, so your thoughts count.

- Drew McLellan

Comments

  1. § Dave S.: When in doubt, there’s always porn.
  2. § Matt: Dave! :0
  3. § Tim: For me, it’s not about cutting-edge originality or interesting versus run-of-the-mill examples. The point can be made effectively either way. I don’t think interesting examples get in the way of technique any more than a boring sample project discourages me from investigating what might be a interesting, useful technique. After all, you’re writing about the technique or an approach, not the example per se.

    Slightly off subject I think, but my beef is when book projects and examples are so generalized or oversimplified that it’s hard to know how to apply what you’ve learned to a real world situation. Technical books are notorious for trivial examples (from Photoshop to server-side code) that you would NEVER see in the real world. I’m sure the writer’s intention was to focus on the technique or approach, but it just becomes too fake.

    Unimaginative examples can be real world useful. Likewise, cutting edge original examples don’t necessarily teach me so much as entertain me. And sometimes the effort to entertain the reader just comes across as mindless chatter at best, and annoyingly self-indulgent at worse (something I don’t find you guilty of, BTW).

    As a reader, the use or misuse of tired examples is not how I judge a technical book. That’s not why I’m reading it.
  4. § Ethan: Well, what else is he going to do in Vancouver? ;)
  5. § mattymcg: I think you’re being paranoid. Real world examples like a corporate site are instantly applicable and provide insight into how things are actually done. Which, if it is a good technique, is motivation enough for someone “learning the ropes” to get excited about learning it…
  6. § rotoass: yes I think I read books to learn and I don’t need porno distracting me (your reader would never learn anything cause he sees the chick you stuck in there and he’s back on the porn =/)
  7. § James: Please use examples that last.

    Many authors currently seem to use personal sites to illustrate CSS techniques. Then a week or so after publishing the book they redesign their site.

    I’m not saying don’t redesign, only that if people buy your book, read it and find that the examples no longer exist online, I’d imagine they could get slightly confused?
  8. § janco: Are corporate web sites and other such run-of-the-mill examples in books a real turn-off?
    Well if it looks nice, it won’t put me off. So your first MM example did put me off, the second was acceptable…

    If you use real examples then they should last, I agree with james. So it might be better to make a good looking design especially for your book.

Textile Help

Photographs

Work With Me

edgeofmyseat.com logo

At edgeofmyseat.com we build custom content management systems, ecommerce solutions and develop web apps.

Recent Links

Affiliation

  • Web Standards Project
  • Britpack
  • 24 ways

About Drew McLellan

Photo of Drew McLellan

Drew McLellan (@drewm) has been hacking on the web since around 1996 following an unfortunate incident with a margarine tub. Since then he’s spread himself between both front- and back-end development projects, and now is Director and Senior Web Developer at edgeofmyseat.com in Maidenhead, UK (GEO: 51.5217, -0.7177). Prior to this, Drew was a Web Developer for Yahoo!, and before that primarily worked as a technical lead within design and branding agencies for clients such as Nissan, Goodyear Dunlop, Siemens/Bosch, Cadburys, ICI Dulux and Virgin.net. Somewhere along the way, Drew managed to get himself embroiled with Dreamweaver and was made an early Macromedia Evangelist for that product. This lead to book deals, public appearances, fame, glory, and his eventual downfall.

Picking himself up again, Drew is now a strong advocate for best practises, and stood as Group Lead for The Web Standards Project 2006-08. He has had articles published by A List Apart, Adobe, and O’Reilly Media’s XML.com, mostly due to mistaken identity. Drew is a proponent of the lower-case semantic web, and is currently expending energies in the direction of the microformats movement, with particular interests in making parsers an off-the-shelf commodity and developing simple UI conventions. He writes here at all in the head and, with a little help from his friends, at 24 ways.