<?xml version="1.0" encoding="UTF-8"?>
<essay xml:lang="en" version="5.0" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:gal="http://norman.walsh.name/rdf/gallery#" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<info>
    
    
    
    
    
    
    
    
    
    
<title>Topic-oriented authoring</title><biblioid class="uri">http://norman.walsh.name/2007/02/05/painting</biblioid>
<volumenum>10</volumenum>
<issuenum>7</issuenum>
<pubdate>2007-02-05T10:24:38-05:00</pubdate>
<date>$Date: 2007-02-05 13:33:58 -0500 (Mon, 05 Feb 2007) $</date>
<author>
      <personname>
<firstname>Norman</firstname>
	<surname>Walsh</surname>
</personname>
    </author>
<copyright>
      <year>2007</year>
      <holder>Norman Walsh</holder>
    </copyright>
<abstract>
<para>A visual analogy and the importance of good metrics.</para>
</abstract>
<dc:subject rdf:resource="http://norman.walsh.name/knows/taxonomy#DITA"/>
<dc:subject rdf:resource="http://norman.walsh.name/knows/taxonomy#DocBook"/>
</info>

<para xml:id="p1">I get asked about writing methodologies with some regularity. It
often starts as a “DocBook vs. DITA” question, but it's not usually
about the spelling of the names between the angle brackets. As I've
<link xlink:href="http://norman.walsh.name/2005/10/21/dita">said before</link>,
there's nothing about the DITA methodology that you can't do
in DocBook.</para>

<para xml:id="p2">Usually it's about topic-oriented writing vs. book-oriented (or
what I'm going to call here “narrative”) writing. The subtext is often
that the topic-oriented style is better than the narrative style.
It'll come as a surprise to very few that I'm not convinced.</para>

<para xml:id="p3">The narrative style has been around a long time:</para>

<itemizedlist spacing="compact">
<listitem>
      <simpara xml:id="p4">It is built on “English 101” principles: introduction, successive
exploration of new ideas, review, and reference.</simpara>
    </listitem>
<listitem>
      <simpara xml:id="p5">“Knowledge units” (topics, sections, chapters) are supported
by the units that preceded them.</simpara>
</listitem>
<listitem>
      <simpara xml:id="p6">Supports the reader by providing a context for the information
presented.</simpara>
</listitem>
<listitem>
      <simpara xml:id="p7">Works in print and online.</simpara>
</listitem>
<listitem>
      <simpara xml:id="p8">Is not generally amenable to arbitrary reuse.</simpara>
</listitem>
</itemizedlist>

<para xml:id="p9">The topic-oriented style is relatively newer and has different features:
</para>

<itemizedlist spacing="compact">
<listitem>
      <simpara xml:id="p10">It is developed on principles of reuse and
minimalism.</simpara>
    </listitem>
<listitem>
      <simpara xml:id="p11">“Knowledge units” (topics) stand alone.</simpara>
</listitem>
<listitem>
      <simpara xml:id="p12">Focuses on documenting tasks, not tools, functions,
applications, or systems.</simpara>
</listitem>
<listitem>
      <simpara xml:id="p13"><link xlink:href="http://english.ttu.edu/kairos/3.1/reviews/eiler/minimal.html">Reportedly</link> preferred by “learners” that tend
to jump in and “resist detailed systems of instructional
steps.”</simpara>
</listitem>
<listitem>
      <simpara xml:id="p14">Provides opportunities for the reader to explore in
arbitrary directions.</simpara>
</listitem>
<listitem>
      <simpara xml:id="p15">Works online; may work in print.</simpara>
</listitem>
<listitem>
      <simpara xml:id="p16">Offers the opportunity of arbitrary reuse.</simpara>
</listitem>
</itemizedlist>

<para xml:id="p17">Recently, I was describing to a group of documentation managers,
tool writers, and authors how I think these two styles differ and what
appear to be their respective strengths and weaknesses. In the course
of this discussion, the following analogy occurred to me.</para>

<para xml:id="p18">Imagine that instead of authors, we were painters. In the
narrative style, a painter (or perhaps a group of painters) begins at
one side of the canvas and paints it from beginning to end (from
left-to-right and top-to-bottom). They may not paint it in a strictly
linear fashion, but the whole canvas (the narrative whole) is always
clearly in view.</para>

<para xml:id="p19">The result may be a little ragged around the edges, and there's
no gaurantee that there won't be voids on the canvas, but by and large
the result is a complete picture<footnote>
<para xml:id="p20">In this case,
<link xlink:href="http://en.wikipedia.org/wiki/Image:VanGogh-starry_night.jpg">Starry
Night</link> by
<wikipedia page="Vincent_Van_Gogh">Vincent Van Gogh</wikipedia>.</para>
    </footnote>:</para>

<mediaobject>
<alt>Starry Night by Vicent Van Gogh</alt>
<imageobject>
<imagedata fileref="images/painting.jpg"/>
</imageobject>
</mediaobject>

<para xml:id="p21">In the topic-oriented style, the work is divided into topics,
or by analogy, the canvas is divided into squares. For this painting,
perhaps we'll decide that 60 topics will cover it.</para>

<para xml:id="p22">Each square, or topic, is painted in relative isolation.
To the extent that the author has the whole topic in view, it too is
likely to be relatively complete.</para>

<mediaobject>
<alt>A single square of the painting</alt>
<imageobject>
<imagedata fileref="images/square.jpg"/>
</imageobject>
</mediaobject>

<para xml:id="p23">In addition to creating individual topics, to save time and
effort, similar topics from other paintings can be reused. The final
work is achieved by mapping all the topics into a whole:</para>

<mediaobject>
<alt>A checkerboard version of Starry Night by Vincent Van Gogh</alt>
<imageobject>
<imagedata fileref="images/topical.jpg"/>
</imageobject>
</mediaobject>

<para xml:id="p24">Of course, there's nothing that prevents the authors from
filling in each topic right to the edges. Nor is there any reason why
the result has to have holes in it. But I bet most of you have had an
experience similar to this one:</para>

<para xml:id="p25">The printer in <personname>
      <firstname>Deb</firstname>
<surname role="suppress">Walsh</surname>
    </personname>’s office started to jam.
This being a modern piece of hardware, it didn't ship with a printed manual.
It didn't even ship with a PDF file of a printed manual. No, instead it shipped
with a large topic-oriented help file, er, manual.</para>

<para xml:id="p26">After a half-hour or so of searching and following links, I
concluded that the manual contained six or seven topics related in one
way or another to paper jams. Each of them was two or three sentences
long. Each linked to two or more of the others. And none of them
actually contained anything very helpful.</para>

<para xml:id="p27">So, if the author's metric for success on the question “do we
have paper jams covered?” was “Yes, we have seven topics about them,”
then I think the metric was a terrible failure.</para>

<para xml:id="p28">Similarly, if the author's manager's metric for success on the
question “did we produce better documentation faster and cheaper?” was
“Yes, we reused seven topics about paper jams without any new writing,”
then I think that metric was a terrible failure; not because it wasn't
faster and cheaper, but because the resulting documentation was a nearly
worthless stack of…bits.</para>

<para xml:id="p29">It would be ridiculous for me to suggest that it's impossible to
write good topic-oriented documentation,
but I think it's <emphasis>a lot</emphasis> harder than it looks. Likewise, it would
be narrow-minded of me to suggest that there aren't subjects that lend
themselves to a topic-oriented treatment such that the narrative style
would be more difficult and expensive to produce.</para>

<para xml:id="p30">At the end of the day, I think the really important question is,
did the documetation you produced, regardless of the style chosen,
actually provide clear, concise, and accurate information for your
readers? Your readers probably don't care how many pages you wrote, or
how many topics, or how much faster you wrote it, they only care if it
answered their questions.</para>

</essay>

