implementing the mvc-pattern
-
hey @ all, does anyone of you have experience by implementing the mvc-pattern? implementing the model should not be the problem, but how should i design the view (respectifly the fassade) when i try to build a app, that serves the model to the client's by remoting. i try to make a client-server-app, where the inelligent part of the app runs on the server an all clients are running just a proxy of the application. does this make sense? or ist there an other, better way to implement the mvc-pattern? thx, bernd
-
hey @ all, does anyone of you have experience by implementing the mvc-pattern? implementing the model should not be the problem, but how should i design the view (respectifly the fassade) when i try to build a app, that serves the model to the client's by remoting. i try to make a client-server-app, where the inelligent part of the app runs on the server an all clients are running just a proxy of the application. does this make sense? or ist there an other, better way to implement the mvc-pattern? thx, bernd
As far as I know MVC is used in web applications and not windows applications. Bu please correct me if I am wrong. -------------------------------------------------------- My development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!
-
As far as I know MVC is used in web applications and not windows applications. Bu please correct me if I am wrong. -------------------------------------------------------- My development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!
MVC is used in windows apps as well as web apps.
-
MVC is used in windows apps as well as web apps.
My bad then:-O -------------------------------------------------------- My development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!
-
MVC is used in windows apps as well as web apps.
ok, and how do i implement it the correct way? is there anywhere a guide for doing this in any other language? i just know what components are used in mvc and i tryed to implement it by using web-sservices to build something like a fassade for my app, but it seems to be not the right way. in fact i'm not sure if something like a fassade is the right way because it provides just a one way communication. please give me some hints. regards, bernd
-
ok, and how do i implement it the correct way? is there anywhere a guide for doing this in any other language? i just know what components are used in mvc and i tryed to implement it by using web-sservices to build something like a fassade for my app, but it seems to be not the right way. in fact i'm not sure if something like a fassade is the right way because it provides just a one way communication. please give me some hints. regards, bernd
It's difficult to answer that question because the number of unknowns is far too high. The only advice I can give is to make sure that using the MVC pattern is actually necessary, so that you don't rip your hair out over it unnecessarily. This is not a criticism of you, of course, but I find that many developers use design patterns just for the sake of using them. Almost habitually. In my view, patterns should only be used when they help solve a problem. In general design patterns add unnecessary complexity to, what should be, simple solutions. Josh