Chapter 13. OO and User Interface Programming

The user interface (UI) provides the interface between the user and your system. Almost every modern system will have some form of UI, whether graphical, command-line driven, or even phone or speech based. (Some systems may combine all four types!). In any case, you need to take special care in the design and implementation of your user interfaces. Luckily, OOP can bring the same benefits to your UI that it brings to other aspects of the system.

Today you will learn

  • How OOP and UI construction interrelate

  • About the importance of a decoupled UI

  • What patterns help you to decouple the UI

OOP and the User Interface

The process of designing and programming user interfaces is fundamentally no different than the ...

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.