Object-Oriented Analysis And Design — Behavioral Models (Part 5)

The dynamic behavior of the system as it’s executing.

Omar Elgabry
OmarElgabry's Blog
1 min readMar 19, 2017

--

A system responds to external events — trbimg

This is a series of articles on Object-Oriented Analysis And Design. The full series of articles can be found here.

Behavioral models shows the dynamic behavior of the system as it’s executing. They show what happens or what’s supposed to happen when a system responds to an alarm. You can think of an alarm as being of two types:

  1. Data Some data arrives that has to be processed by the system.
  2. Events Some event happens that triggers system processing. Events may have associated data, but, this is not always the case.

Many business systems are data processing systems that are primarily driven by data. For example, a phone billing system will accept information about calls made by a customer, calculate the costs of these calls, and generate a bill.

By contrast, real-time systems are often event driven with minimal data processing. For example, a landline phone switching system responds to events such as pressing on keys on a handset by capturing the phone number.

Data-driven Models

TODO: DFD and Activity Diagram.

Event-driven Models

TODO: State machine diagram.

--

--

Omar Elgabry
OmarElgabry's Blog

Software Engineer. Going to the moon 🌑. When I die, turn my blog into a story. @https://www.linkedin.com/in/omarelgabry