Chapter 19. Applying an Alternative to MVC

Yesterday you analyzed, designed, and implemented a GUI for the Blackjack game. Today you will use an alternative approach to the design and implementation of the Blackjack GUI.

Today you will learn

  • About an alternative to the MVC design pattern

  • How to apply the alternative to the Blackjack GUI

  • When to base your GUIs on MVC and when not to do so

An Alternative Blackjack GUI

Yesterday you created an MVC based GUI for the Blackjack game. MVC is just one approach to GUI design. Today you will redesign and reimplement the GUI using a different approach.

The approach that you employ today is a specialization of the Presentation Abstraction Control (PAC) design pattern. Like the MVC design pattern, the PAC design ...

Get Sams Teach Yourself Object Oriented Programming in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.