Intent can be used in a lot of use cases, from Literate Modeling to ALM, from Doc Driven Development to software migration. We will try here to present typical use cases of Intent.
Use Case 1 : Doc Driven Development
Alice works in a ten people team in charge... One of their customers wants a new feature (mostly IHM) : a customer page allowing to search through all customers with several parameters and filters.
Documentation & metamodels
Presentation of the Intent document (meta-model, structure) used by the team to capture design choices.
Step 1 : Getting the parts to update
In a regular development process, Alice would have had to determine the components to update, without many help. How many of you have used the Eclipse's Open Type wizard and search for Java Classes with a name that may indicate that it is doing what you are searching for ? With Doc Driven Development, you first have to determine what parts of the documentation have to be changed/deleted/created.
To do so, Intent provides tools to enhance searches. Alice has two solutions :
- searching through the documentation as if it was a paper doc :
from the table of contents, she identifies the chapters/sections related to UI features. In some cases, it can be really quick, especially if the documentation has been well-structured.
- searching for all document parts related to a model element :
if Alice has some basicall knowledge of the meta-model, she should know that the UI feature should be added .... If she has not, she will have to quickly read the meta-model overview section.