liveBook · Manning

Trigger

As explained in Software Design for Python Programmers

A trigger is an actor-initiated event that starts a use case.

A trigger is the action an actor takes to start a use case. Describe it from the actor’s point of view, then follow it with the use case’s action steps. section 3.6.2

Search Catalogue

The customer presses the Search button after entering target book attributes in an online form. That action triggers the catalogue search use case, which returns matching books. section 3.6.2

Specify a trigger alongside the surrounding use-case details:

  • Identify the actor’s action that starts the use case. section 3.6.2
  • Record preconditions, primary and alternate action sequences, and postconditions around that starting event. section 3.6.2

How Software Design for Python Programmers covers it

How deep it goes
Defines the starting action and its viewpoint, but does not detail implementation or event-processing internals.
Examples
Uses a customer pressing Search after entering target book attributes in an online catalogue form.
What you can do after
Evaluate which actor action initiates a use case and document it in the use-case description.
How it connects
Connects triggers with actors, use cases, preconditions, action sequences, and postconditions.

Also explained in

Compare how 9 books explain trigger →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Software Design for Python Programmers. The section links point to the parts of the book it draws on.