Home » Developing U++ » U++ Developers corner » MVC example
Re: MVC example [message #14983 is a reply to message #14895] |
Mon, 24 March 2008 12:00   |
 |
mirek
Messages: 14265 Registered: November 2005
|
Ultimate Member |
|
|
Well, my take is that MVC is not a good abstraction for many real-world problems.
It has a good sense only if you bind more views to single data model. And yes, in U++, you would need a little bit more of code to achieve this (or, OTOH, you can fake it in most cases too, just look at how TheIde does text window split .
Sometimes, it also seems to me that rigid MVC is not that flexible. Well, my knowledge of MVC perhaps does not go too deep, but IMO, good example is RichText as "model" and RichEdit as "view/controller". But AFAIK, for pure MVC, RichText should not have the means of painting itself, right? But that would make the code 200% more complicated...
Mirek
|
|
|
Goto Forum:
Current Time: Wed Jul 16 15:06:14 CEST 2025
Total time taken to generate the page: 0.03423 seconds
|