Refactoring JavaFX GUI Code, Part 1: Functional Decomposition

Опубликовано: 07 Апрель 2020
на канале: Paul Gestwicki
866
28

This is the first in a three-part series that walks through the refactoring a JavaFX Application. The application starts with all the structure and behavior specified in the start method. In this part, I focus on functional decomposition: breaking apart the one large method into smaller ones. The result is a structure where the methods each do only one thing.

The context is an application that is only a simulacrum of one that would pull live data from the Web. The video demonstrates how, with good model-view separation, you can build and refactor view code while working with a simulated data source.

It should be noted that the application follows a Separable Model architecture. This is a classic approach that separates the model from the view. It is simpler than MVC, MVP, MVVM, and similar architectures. This means we can focus on the essential practices of refactoring rather than being weighed down in details like FXML.


Смотрите видео Refactoring JavaFX GUI Code, Part 1: Functional Decomposition онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Paul Gestwicki 07 Апрель 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 86 раз и оно понравилось 2 людям.