Given a complex object e.g.:
public class RootObject{ IEnumerable<IParticipant> ParticipantCollection {get;set;} }
Where implementations of IParticipant are complex objects that require a several screens in a SPA application to populate. And, given 2 existing workflows (where a workflow is a series of steps or screens required to populate the object) in a 7 step wizard that are currently somewhat hard coded with switch statements. Is there an existing spa/wizard framework that would make this more manageable?
I think I would like each implementation of an IParticipant to subscribe to a workflow and inject itself into the overarching workflow of the application. So, the overarching/meta workflow of the application would consist of 7 steps, with each step having sub steps...or extension points that IParticipants subscribe to. This would allow concrete IParticipant step workflows to exist on their own and allow the application to grow in a more manageable way.
Aucun commentaire:
Enregistrer un commentaire