Top Banner
© 2009 Xerox Corporation. All rights reserved. Using Feature-Based Metadata to Improve Maintainability Mike Rice
31

Using Feature Based Metadata To Improve Maintainability 2009 05 04

Jul 13, 2015

Download

Documents

Mike Rice
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Using Feature-Based Metadata to Improve MaintainabilityMike Rice

Page 2: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Model-C

No conditionalization

Page 3: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Model-D

Seat beltsWindshield wipers

(C)D

Page 4: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Publishing C and D

Model-C• No conditional contentModel-D• Include D

Applicability of C to D is implicit.

(C)D

Page 5: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Model-E

Seat beltsWindshield wipersRadioHeated seatsHydraulic brakesSun roof

(C)D

(C)

E

D

Page 6: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Publishing C, D, and E

Model-C• No conditional contentModel-D• Include DModel-E• Include D• Include E

Applicability of C and D to E is implicit.

(C)D

(C)

E

D

Page 7: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Model-F

Seat beltsWindshield wipersFour doorsChild safety locks (rear)Non-hydraulic brakesNon-heated seatsNo radio

(C)

E

D

F

Page 8: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Publishing C, D, E, and F

Model-C• No conditional contentModel-D• Include DModel-E• Include D• Include EModel-F• Include D• Include F

Content contains single conditions and implicit relationships.

(C)

E

D

F

Page 9: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Model-G

Seat beltsWindshield wipersSatellite radioHeated seatsHydraulic brakesTwo-doorTurboConvertible

(C)

E

D

F(C)

E

F

E G

GF G

D

Page 10: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Publishing E, F, and G

Model-C• No longer neededModel-D• No longer neededModel-E• Include D• Include EModel-F• Include D• Include FModel-G• Include D• Include G

Content contains compound conditions, obsolete conditions, and implicit relationships.

(C)

E

D

F(C)

E

F

E G

GF G

D

Page 11: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Model-H

Seat beltsWiperless windshieldSatellite radioHeated seatsHydraulic brakesFour doorsSport-utility

(C)

E

F

E G

GF G

D(C)

E

F

E G

G G HH

F G H

D

F H

D H

Page 12: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Publishing E, F, G, and H

Model-E• Include D• Include EModel-F• Include D• Include FModel-G• Include D• Include GModel-H• Include H

Some implicit relationships have become fragmented.

(C)

E

F

E G

G G HH

F G H

D

F H

D H

Page 13: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Rework and new for Model-G

Rework Rework

New

Page 14: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Rework and new for Model-H

ReworkNew

Page 15: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

System effect of a bottleneck

Page 16: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

System effect of a bottleneck

Page 17: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Analysis by the author becomes the bottleneck!

“Technical debt” incurred unknowingly now needs to be paidBacklog of features to analyzeIf Paul was unable to clear his backlog, did the product ship with incomplete information, or was the product delayed?What happens if Paul leaves?What happens if a motorcycle or bus are introduced?What happens when more than one related product is introduced at one time?

Page 18: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Analysis does not add value

Value added Non-value added

Publishproduct

information

Rework existingcontent

Add new content

Analyze existingcontent

Page 19: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

One aspect of the conflict

Quality, Cost, Deliveryrequirements met

Docs reflectdifferences in

product features

Common contentreused

Conditionalizefor each product

Describe product features

Page 20: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Product-based conditions

ProArise naturally from the progression of productsRelatively simple selection of conditions for the output

ConCompound conditionsRework grows as more products are supportedLong lead timesKnowledge of implicit conditions based on knowledge of product orderUse of prelaunch codenames can obscure the identity of the productObsolete product names add to clutterIf (when) errors creep in, the information set itself cannot be relied upon as the single source of truthAnalysis is thrown away

Page 21: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Hidden assumptions

Quality, Cost, Deliveryrequirements met

Docs reflectdifferences in

product features

Common contentreused

Conditionalizefor each product

Describe product features

Page 22: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

What is feature-based metadata?

SeatBeltsWindshieldWipersRadioHeatedSeatsHydraulicBrakesSunRoofFourDoorsTwoDoorsChildLocksNOHydraulicBrakesNOHeated seatsNORadio

SeatBelts

Radio

SunRoof

WshldWipers

TwoDoors

ChildLocksFourDoors

NoRadio

Page 23: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Feature-based conditions

ProGreatly reduced rework – potentially zeroAnalysis is encoded into the information rather than being thrown awayReduced need to clean up legacy tagsShorter lead timesIncreased flexibility to respond to feature changesKeep up with scrum teamReduced use of compound conditionsUnambiguous tag names

ConDoes not fit neatly into DITA 1.0 metadataMany more conditions to manageSelecting conditions for publishing becomes much more complex

Page 24: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Yes, but…

Our documentation conditions are product-based.How will you keep track of all of those conditions????What about logical AND?

Page 25: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Existing product-based information

Implement feature-based conditions incrementallyContinue to use product-based conditions where you don’t need to touch the topicUse feature-based conditions for rework and new work.Use NO and AND naming convention• NOBrakes• WshldWipersANDHeadlights

Page 26: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Managing feature-based conditions

Unstructured FrameMaker• Master tags document

– Description of each feature– List of applicable products– Feature tag applied to both

• Product-specific copies with appropriate show/hide conditions applied

• Import conditions from product-specific tags document to FrameMaker book or document.

DITA• Ditaval• Master conditions topic

– Description of each feature– List of applicable products– Feature condition applied to both

Page 27: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Logical AND

Product tags represented logical ANDSometimes not needed in DITA• Nested elements can provide AND logicUse product conditions in the “fusebox”

Page 28: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Consider feature-based metadata…

…when product development is modular.…when development team uses agile process.…when new products cause you to rework existing content.…when you have compound product conditions.…when you find yourself repeating analysis.

Page 29: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Opportunities

Zero lead time product documentationCustom documentationCustom advertisement

Page 30: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.

Contact me

[email protected]

http://www.linkedin.com/in/michaeljrice

Page 31: Using Feature Based Metadata To Improve Maintainability 2009 05 04

© 2009 Xerox Corporation. All rights reserved.