dita for dummies - tekom · 1. structure struc-tured, adj. having and manifesting a clearly...
TRANSCRIPT
An introduction to the core concepts of DITA
“for the Rest of Us!®”
DITA for Dummies®
Jang F.M. GraatJANG CommunicationAmsterdam
All items marked with ® are registered trademarks of Wiley Publishing, Inc.
This presentation is copyrighted - © JANG Communication 2010
1zaterdag 6 november 2010
DITA core concepts
1. Structure
2. Minimalism
3. Specialization
4. Conrefs
5. Constraints
®
This presentation is copyrighted - © JANG Communication 2010
2zaterdag 6 november 2010
1. Structurestruc-tured, adj. having and manifesting a clearly defined structure or organization.
Webster’s Encyclopedic Unabridged Dictionary of the English Language, 1996
This presentation is copyrighted - © JANG Communication 2010
3zaterdag 6 november 2010
Structure makes our lives easier
This presentation is copyrighted - © JANG Communication 2010
4zaterdag 6 november 2010
How to structure information ?
This presentation is copyrighted - © JANG Communication 2010
5zaterdag 6 november 2010
Visible cues used consistently
This presentation is copyrighted - © JANG Communication 2010
6zaterdag 6 november 2010
Markup languages: content plus markup labels
<h1>DITA for Dummies</h1><p>An introduction to the core concepts of DITA</p><h2>"For the Rest of Us!®"</h2><h3>Jang F.M. Graat</h3><p>JANG Communication<br>Amsterdam</p>
This presentation is copyrighted - © JANG Communication 2010
7zaterdag 6 november 2010
XML enables using semantic labels
<title>DITA for Dummies</title><subtitle>An introduction to the core concepts of DITA</subtitle><byline> <trademark>For the Rest of Us!</trademark></byline><author> <name> <first>Jang</first> <middle>F.M.</niddle> <last>Graat</last> </name> <company>JANG Communication</company> <location>Amsterdam</location>
</author>
This presentation is copyrighted - © JANG Communication 2010
8zaterdag 6 november 2010
XML is eXtensible - create your own structuring method
This presentation is copyrighted - © JANG Communication 2010
9zaterdag 6 november 2010
XML is eXtensible - but which extension is sensible ?
This presentation is copyrighted - © JANG Communication 2010
10zaterdag 6 november 2010
DITA - an XML standard for modular documentation
This presentation is copyrighted - © JANG Communication 2010
11zaterdag 6 november 2010
2. Minimalismmin-i-mal, adj. barely adequate or the least possible
Webster’s Encyclopedic Unabridged Dictionary of the English Language, 1996
This presentation is copyrighted - © JANG Communication 2010
12zaterdag 6 november 2010
It can do almost anything, but you’re hopeless with it
This presentation is copyrighted - © JANG Communication 2010
13zaterdag 6 november 2010
It only does one thing, and does that one thing very well
This presentation is copyrighted - © JANG Communication 2010
14zaterdag 6 november 2010
John M. Carroll - books on minimalism 1990, 1998
This presentation is copyrighted - © JANG Communication 2010
15zaterdag 6 november 2010
Users do not want more information
This presentation is copyrighted - © JANG Communication 2010
16zaterdag 6 november 2010
• How do I do this ?
• What went wrong ?
• What are my options ?
• What is this thing for ?
• How does this work ?
One question
This presentation is copyrighted - © JANG Communication 2010
17zaterdag 6 november 2010
Authors do not need more options
This presentation is copyrighted - © JANG Communication 2010
18zaterdag 6 november 2010
Minimalism requires + enables modularity
topics maps docs
This presentation is copyrighted - © JANG Communication 2010
19zaterdag 6 november 2010
spe-cial-ize, v. to adapt to special conditions; restrict to specific limits.
Webster’s Encyclopedic Unabridged Dictionary of the English Language, 1996
3. Specialization
This presentation is copyrighted - © JANG Communication 2010
20zaterdag 6 november 2010
One size does not fit all - if it did, we would all be fish
This presentation is copyrighted - © JANG Communication 2010
21zaterdag 6 november 2010
Usability is always related to a specific environment
This presentation is copyrighted - © JANG Communication 2010
22zaterdag 6 november 2010
Specialization and inheritance (the Darwin part of DITA)
This presentation is copyrighted - © JANG Communication 2010
23zaterdag 6 november 2010
Basic topic
titlealts
topic
title
id, conref@
prolog
body
related-links
topic
lq note
ol
p
image
pre
fig
lines
object
sl
ul
abstractshortdesc
This presentation is copyrighted - © JANG Communication 2010
24zaterdag 6 november 2010
Structural specialization : machinery task
titlealts
task
title
id, conref@
abstractshortdesc
prolog
taskbody
related-links
task
prelreqs
steps
context
steps-unordered
section
steps-informal
result
example
closereqs
This presentation is copyrighted - © JANG Communication 2010
25zaterdag 6 november 2010
Domain specialization : elements from various domains
titlealts
topic
title
id, conref@
abstractshortdesc
prolog
body
related-links
topic
dl syntaxdiagram
imagemap lq
note ol
p
parml
image
hazardstatement
pre
fig
lines
object
codeblock msgblock
screen simpletable sl table
ul data data-about
foreign unknown
example
draft-comment
conbodydiv
section
required-cleanup
This presentation is copyrighted - © JANG Communication 2010
26zaterdag 6 november 2010
Basic type : room
This presentation is copyrighted - © JANG Communication 2010
27zaterdag 6 november 2010
Structural specialization : bedroom
This presentation is copyrighted - © JANG Communication 2010
28zaterdag 6 november 2010
Structural specialization : dining room
This presentation is copyrighted - © JANG Communication 2010
29zaterdag 6 november 2010
Domain specialization: hotel rooms
This presentation is copyrighted - © JANG Communication 2010
30zaterdag 6 november 2010
Domain specialization: hospital rooms
This presentation is copyrighted - © JANG Communication 2010
31zaterdag 6 november 2010
Standard specializations in DITA 1.2
Structural Domains
Concept Programming elements
Reference Software elements
Task User interface elements
Machinery task Task requirements elements
Glossary entry xNAL - elements
Glossary group Abbreviated form element
Bookmap Glossary reference element
Learning and Training specialization
This presentation is copyrighted - © JANG Communication 2010
32zaterdag 6 november 2010
4. ConrefsIn computer science, transclusion is the inclusion of a document or part of a document into another document by reference.
Wikipedia
This presentation is copyrighted - © JANG Communication 2010
33zaterdag 6 november 2010
Copying content : not the most economic option
This presentation is copyrighted - © JANG Communication 2010
34zaterdag 6 november 2010
Copy-paste is expensive and leads to inconsistencies
This presentation is copyrighted - © JANG Communication 2010
35zaterdag 6 november 2010
Referencing content : not the most user-friendly option
This presentation is copyrighted - © JANG Communication 2010
36zaterdag 6 november 2010
Write-time references, read-time copies
Replacing the bearings
Procedure:1. <include “proc1_step1”>2. <include “proc1_step2”>3. Remove the ball bearings4. Mount new ball bearings5. Apply grease6. <include “proc1_step4”>7. <include “proc1_step6”>
Replacing the drive
Procedure:1. Remove the cover2. Remove the drive3. Disconnect the cables4. Mount the new drive5. Connect the cables6. Mount the cover
proc2
proc1
Replacing the bearings
Procedure:1. Remove the cover2. Remove the drive3. Remove the ball bearings4. Mount new ball bearings5. Apply grease6. Mount the new drive7. Mount the cover
Replacing the drive
Procedure:1. Open the cover2. Remove the drive3. Disconnect the cables4. Mount the new drive5. Connect the cables6. Close the cover
proc1
pub1Replacing the bearings
Procedure:1. Open the cover2. Remove the drive3. Remove the ball bearings4. Mount new ball bearings5. Apply grease6. Mount the new drive7. Close the cover
pub2
corrections
This presentation is copyrighted - © JANG Communication 2010
37zaterdag 6 november 2010
Authors ‘borrow’ existing content
This presentation is copyrighted - © JANG Communication 2010
38zaterdag 6 november 2010
Link to any element in any DITA file
This presentation is copyrighted - © JANG Communication 2010
39zaterdag 6 november 2010
Conrefs are checked for consistency
This presentation is copyrighted - © JANG Communication 2010
40zaterdag 6 november 2010
5. Constraintscon-straint, n. repression of natural feelings and impulses
Webster’s Encyclopedic Unabridged Dictionary of the English Language, 1996
This presentation is copyrighted - © JANG Communication 2010
41zaterdag 6 november 2010
• Only required info
• One answer per topic
• Always same structure
• As boring as possible
• Become a minimalist
Writing for users
Define a more restrictive selection and order of elements
This presentation is copyrighted - © JANG Communication 2010
42zaterdag 6 november 2010
Without constraints, there is chaos
This presentation is copyrighted - © JANG Communication 2010
43zaterdag 6 november 2010
Rule #1: limitations
This presentation is copyrighted - © JANG Communication 2010
44zaterdag 6 november 2010
Rule #2: limitations
This presentation is copyrighted - © JANG Communication 2010
45zaterdag 6 november 2010
Rule #3: limitations
This presentation is copyrighted - © JANG Communication 2010
46zaterdag 6 november 2010
Specialization is endless
This presentation is copyrighted - © JANG Communication 2010
47zaterdag 6 november 2010
All of DITA gives too many options
This presentation is copyrighted - © JANG Communication 2010
48zaterdag 6 november 2010
Filter out elements that are not required
This presentation is copyrighted - © JANG Communication 2010
49zaterdag 6 november 2010
Define required elements
This presentation is copyrighted - © JANG Communication 2010
50zaterdag 6 november 2010
Define the structure of your topics
This presentation is copyrighted - © JANG Communication 2010
51zaterdag 6 november 2010
Less than the full standard
titlealts
task
title
id, conref@
abstractshortdesc
prolog
taskbody
related-links
task
prelreqs
steps
context
steps-unordered
section
steps-informal
result
example
closereqs
x!x
xx
xx
!
!! 1
x
1 x
task
title
id, conref@
shortdesc
prolog
taskbody
related-links
prelreqs
steps
context
closereqs
This presentation is copyrighted - © JANG Communication 2010
52zaterdag 6 november 2010
Constraints are defined in “mod” files
This presentation is copyrighted - © JANG Communication 2010
53zaterdag 6 november 2010
Carry only what you need for the job
This presentation is copyrighted - © JANG Communication 2010
54zaterdag 6 november 2010
A perfect fit for every occasion
This presentation is copyrighted - © JANG Communication 2010
55zaterdag 6 november 2010
Questions ?
Jang F.M. Graat
JANG CommunicationAmsterdam
This presentation is copyrighted - © JANG Communication 2010
56zaterdag 6 november 2010