Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13986
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 Wink.

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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: v8 JavaScript in U++
Next Topic: Wayland & U++
Goto Forum:
  


Current Time: Mon Jun 17 05:17:33 CEST 2024

Total time taken to generate the page: 0.02132 seconds