Proposal for a use case template (taken shamelessly from wiki.maemo.org)
On documenting use cases
{{subst::Documentation/Use_Case_template}}
###This is a mandatory section.### Describe the objective of the developer. Remember that one use case only answers one question, such as "How to display a list of media files?" or "How to play the media files selected by a device user?". In contrast, the API doc explains the functionality from a platform point of view.
Contents |
###This is a mandatory section.### Briefly describe the previous steps and knowledge needed to get to this point. Do not state the obvious, such as "SDK installed" or "C++ knowledge". Link to any logical previous steps documented in the Developer Library or elsewhere. If there are no prerequisites for the use case, write "There are no prerequisites for this use case." in this section.
###This is a mandatory section.### Present the set of APIs used in this use case and describe them in general. (Related APIs can also come from other areas than the one under which the use case is placed.) Link to API docs.
###This is a mandatory section.### Provide numbered step-by-step instructions on how to complete the task. Include relevant code snippets and screenshots to help the reader understand the steps.
1. <Do this-and-this>
<An example code snippet>
2. <Do that-and-that>
<An example code snippet>
###This is a mandatory section.### Link to code examples at http://maemo.gitorious.org (default) and/or other relevant code repositories. Link to Maemo open source applications that provide good examples related to this use case.
###This is an optional section.### Link to any logical next steps documented in the Developer Library or elsewhere.
###This is a mandatory section, but leave its contents blank.### In this section readers can share their own learnings & interesting links.