Decorum for the Forum:
  • Be nice. If you want to be mean, try Reddit.
  • No Piracy. If you want to be a thief, there are dark places on the internet dedicated to that.
  • No Cracking. Discussions on AnyDVD, DeUHD, DVDFab, UHDKeys and similar tools are not permitted here.
  • No Spamming. If you want to make a buck, work smarter... somewhere else.
  • No Adult Content. Half the internet is dedicated to adult content. This half isn't.

Privacy Policy: Click Here to Review (updated September 30, 2020)

Decoupling the presentation layer so it's no longer hard coded

Post here to suggest ideas for future versions.
Post Reply
Teddyboy
Posts: 268
Joined: Wed Apr 25, 2018 10:30 pm
Location: San Diego, Ca

Decoupling the presentation layer so it's no longer hard coded

Post by Teddyboy » Sun Jan 24, 2021 12:21 pm

Hi Paul,

I think you may have already started down this path with the inclusion of a HTML component library in CMC in beta 8. Depending on how you do this, it could lead to users able make a their own skin for CMC. Sage TV did this with there own external WYSIWYG html application Sage TV Studio. I think it would make CMC's presentation more agnostic and easier for you to make changes to it. Not everything would be completely customizable. You'd have to maintain some uniformity for settings and what not. Of course this won't happen overnight as it's going to be some work to decouple the engine from the presentation layer and reintegrate them.

This might make it easier for you to capture windows messages to display them within the CMC interface. I really hate it when a windows dialog box pops up in the middle of the interface. It really ruins the experience for me. I get that you need to display those messages, but I just want to keep it in the interface like WMC did.
Mechanical Engineer, Solidworks junkie, Reef aquariums, sci-fi, weight training, orchids, Ferns, Kaiju, model kit building, balboa park, scripps aquarium

User avatar
Pauven
Posts: 2861
Joined: Tue Dec 26, 2017 10:28 pm
Location: Atlanta, GA, USA
Contact:

Re: Decoupling the presentation layer so it's no longer hard coded

Post by Pauven » Sun Jan 24, 2021 1:47 pm

I've been thinking the exact same thing.

One of the big decisions I'll have to make is whether I try to shoehorn a new presentation layer into the current CMC codebase, or actually start over from scratch with a clean-sheet design.

I'm actually leaning towards a clean-sheet design. I had no idea where MM Browser was going when I started this project 3.5 years ago. Now that I know, some of the early design choices are getting in the way of improving CMC. A clean-sheet design isn't as crazy as it sounds, as 90% of the functional logic would port right over.

I doubt any of this will occur in 2021.
President, Chameleon Consulting LLC
Author, Chameleon MediaCenter

Post Reply