Question
Handling Visual Changes in a Cairngorm Application
I was wondering if there are any suggestions/best practices for how to handle visual changes in a Cairngorm Application.
I am currently working on a Cairngorm Application with many moving parts - Trees, Lists, ViewStacks with ViewStacks as children. I want the application to be able to change visually based on some user actions - no real business logic involved. For instance, I have a menu that has options for displaying PopUps, or making hidden Panels visible. Right now, I am using Events all over the place to bubble up to the appropriate parent component.
Does it make sense to have properties in the Model that control the visual aspects of the Application?
Any thoughts are greatly appreciated.
Thank you.
I am currently working on a Cairngorm Application with many moving parts - Trees, Lists, ViewStacks with ViewStacks as children. I want the application to be able to change visually based on some user actions - no real business logic involved. For instance, I have a menu that has options for displaying PopUps, or making hidden Panels visible. Right now, I am using Events all over the place to bubble up to the appropriate parent component.
Does it make sense to have properties in the Model that control the visual aspects of the Application?
Any thoughts are greatly appreciated.
Thank you.
