Using multiple views vs. view with containers
I am using TGX v4.16 on F4 hardware.
In the first version of my application, to give all of my views the same basic look, I created a template view to be inherited by the view classes. The template created a "header" and "footer" on each view. A user used controls in the footer that to make the view change the custom container shown in the middle of the view. So basically the content changed and it looked like a new screen but from the code's perspective it was all the same view.
I now need to make a second version of the application. This will be a significant update so I am free to reevaluate my design.
My question is this: from an architecture/maintenance approach, is it better to stick with the existing design or replace the custom containers with view classes? (I would still keep the template class that all views inherit.) So for example if I now had three view with four containers each, if I went with making everything view classes, I would end up with 12 different view classes.
Given the scope of the content I will have to present, the one view to many containers feels like the right approach, but I'd like to get a gut check before I dive too deep.
Thanks.
