Software design and architecture lecture 13 Review


Download 93.83 Kb.
bet2/4
Sana08.06.2023
Hajmi93.83 Kb.
#1463316
1   2   3   4

Specializations

  • Often connectors in an implicit invocation system include the traditional procedure call in addition to the bindings between event announcements and procedure calls.

Integrated Development Environments (IDEs)

  • Think of the debugging process (use of breakpoints)
    • How editors behaves on a breakpoint?
    • How variables monitors behave on a breakpoint?
    • How these components know when these are required?

Examples

  • Used in programming environments to integrate tools:
    • Debugger stops at a breakpoint and makes that announcement.
    • Editor responds to the announcement by scrolling to the appropriate source line of the program and highlighting that line.

Examples

  • Used to enforce integrity constraints in database management systems (called triggers).
  • Used in user interfaces to separate the presentation of data from the applications that manage that data.

Non-buffered Event-Based Implicit Invocations

Non-buffered Event-Based Implicit Invocations

  • The nonbuffered event-based implicit invocation architecture breaks the software system into two partitions:
    • Event sources and
    • Event listeners.
  • The event registration process connects these two partitions. There is no buffer available between these two parties.

Non-buffered Event-Based Implicit Invocations

  • In the event-based implicit invocations (nonbuffered) each object keeps its own dependency list.
  • Any state changes of the object will impact its dependents.
  • the basic concept of event-based implicit invocation, which is the opposite of the direct explicit method invocation whereby the invoker must wait for the response from the called module; in this case, the invoker does not proceed until the called party responds.

Applicable domains of nonbuffered event-driven architecture:

  • Interactive GUI component communication and integrated development environment (IDE) tools
  • Applications that require loose coupling between components that need to notify or trigger other components to take actions upon asynchronous notifications
  • When event handlings in the application are not predictable

Download 93.83 Kb.

Do'stlaringiz bilan baham:
1   2   3   4




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling