torsten's .NET blog In the end, everything is a gag [Ch. Chaplin]
# Wednesday, March 12, 2003
MVC hell
I am really unhappy about the heaviness of implementing the model-view-controller (MVC) concept on an .NET GUI application. Is the only reason to have a application class on top of the Application.Run() and that starts the GUI to setup the global exception handler? If I modify the definitions within the GUI designer code region to get the tool and menu buttons implements a ICommands (the pattern) interface, I get stack overflow errors on closing the designer of my modified form. Ok, there is a comment to NOT do so, but how I should apply this? Ok, I can write a library project that encapsulates the tools and buttons as GUI components and then I can drag and drop it to my form to work around this limitation. So I made it by hand (oh my good)... Now I think about throw away the most of my work and keep the GUI Form class as big as it will be by implememting all of the stuff by itself. As my experiences with VB6 showed: this is usually not the best way to go.
Technorati tags:
Wednesday, March 12, 2003 9:58:01 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [1]  | 
Navigation

Like RSS Bandit? Make a donation to help support its development and maintenance. As little as 1€ will help.

Make payments with PayPal - it's fast, free and secure!
On this page....
<March 2003>
SunMonTueWedThuFriSat
2324252627281
2345678
9101112131415
16171819202122
23242526272829
303112345

SUBSCRIBE RSS GeoURL e-mail

Search
Categories
Blogroll
[Feed] Dare Obasanjo
Dare Obasanjo aka Carnage4Life
[Feed] Clemens Vasters
[Feed] Omar Shahine
[Feed] Tom Mertens

newtelligence dasBlog 2.1.8102.813

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

WOT Notar

Join WebHost4Life.com