For quite awhile I’ve been using a messaging bus within my apps to de-couple different sub-systems from each other. I use this heavily in my MVVM-based apps to minimise the dependencies between my Views and ViewModels, but it applies to non-MVVM apps of reasonable complexity as well. Read On…
Posts Tagged ‘MVVM’
MVVM Resource List
Here are the resources I mentioned in my Introduction to MVVM in Delphi session at CodeRage 7. There are many more MVVM resources out there, but I’ve tried to keep this as the short-list of those I’ve found truly useful. I’ll update as I encounter more. Read On…
An Introduction to Model-View-ViewModel (MVVM) in Delphi
CodeRage 7 is on next week and I’ll be doing a session introducing MVVM and how to implement it in Delphi. If you’re not aware of MVVM, it’s a Presentation Pattern, a way to structure your applications so that you maximize the amount of code in your app that can be unit tested (including your form logic) while at the same time, simplifying the task of swapping out different UI’s in front of your app (eg. to have different forms for different platforms or devices). It leverages Data Binding, in my case, LiveBindings in XE3.
I have a series of deeper dive articles planned on different areas of MVVM in Delphi, and this session will serve as the starting point.
Session details are here.