© John Kouraklis 2016

John Kouraklis, MVVM in Delphi, 10.1007/978-1-4842-2214-0_5

5. Converting the InvoiceForm

John Kouraklis

(1)London, UK

In the previous chapters, we developed a methodology to guide us in converting an application to follow the MVVM design. In summary, those steps are the following:

  1. Identify the different tasks for each procedure, class, and view the application performs.

  2. Identify which of those tasks are duties of the Model, the ViewModel, and the View, according to the MVVM paradigm.

  3. Consider moving procedures and functions from the View to the ViewModel and the Model.

  4. Build the required links to make the new code functional on the normal direction View-ViewModel-Model by developing the necessary properties, procedures, and functions. ...

Get MVVM in Delphi: Architecting and Building Model View ViewModel Applications 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.