CHAPTER 11

image

Model-View-Controller Pattern

In this chapter, you will learn:

  • What the model-view-controller pattern is
  • What other variants of the model-view-controller pattern are, such as the model-view-presenter pattern
  • How to develop a JavaFX application using the model-view-presenter pattern

What Is the Model-View-Controller Pattern?

JavaFX lets you create applications using GUI components. A GUI application performs three tasks: accepts inputs from the user, processes the input, and displays outputs. A GUI application contains two types of code:

  • Domain code that deals with domain-specific data and business rules
  • Presentation code that deals ...

Get Learn JavaFX 8: Building User Experience and Interfaces with Java 8 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.