1 / 9

Week 7, Class 1: The Command Pattern (cont.)

Week 7, Class 1: The Command Pattern (cont.). Get Ready for Poll Everywhere Return labs 2 & 3 Lab 7 deadline The Command Pattern The Remote Control App (Review) How to reduce coupling? Coding example General form of pattern Undo Macros. Remote Control App. Cohesion Problem.

adair
Download Presentation

Week 7, Class 1: The Command Pattern (cont.)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Week 7, Class 1:The Command Pattern (cont.) • Get Ready for Poll Everywhere • Return labs 2 & 3 • Lab 7deadline • The Command Pattern • The Remote Control App (Review) • How to reduce coupling? • Coding example • General form of pattern • Undo • Macros SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder

  2. Remote Control App SE-2811 Dr.Yoder

  3. Cohesion Problem SE-2811 Dr.Yoder

  4. Which previous pattern? SE-2811 Dr.Yoder

  5. We started here… Client Code SE-2811 Dr. Mark L. Hornick

  6. We ended here… SE-2811 Dr.Yoder

  7. SE-2811 Dr. Josiah Yoder

  8. Another difference • Enabling Undo • Wrapping the destination object • Terminology • Invoker – “Subject” • Command – “Command” • Concrete Command – “CarStartCommand” • Receiver – “Observer” • Client – “GUI” SE-2811 Dr. Josiah Yoder

  9. Where Dr. Hornick took this SE-2811 Dr. Mark L. Hornick

More Related