O'Reilly logo

Sams Teach Yourself Object Oriented Programming in 21 Days, Second Edition by Anthony Sintes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required