Originally posted by daniel wolff:
...
thats good news, because I have to hand in my work on the 17.Nov.
And I have no idea yet. But am I not right that the model is on the server side and has to notify all the views that are on the client side?
...
Hi dewe,
I believe Sun's specifications will force you to make some adjustments to the MVC
pattern (for the better?) if you plan on applying it to your entire system. I haven't personally used MVC in this way (I'm using the pattern entirely within the context of my GUI layer); but I can see how it may make sense-- yes it makes sense that your server represents the Model and yes it makes sense that your client-side GUI can be one of many types of Views, however the part where MVC states that the Model is supposed to notify its Views of changes is
not a requirement for this project so you'll probably do away with
alot of unnecessary code (and time?) by leaving that function out.
With that being said, if you decide to not have your server (model) notify all clients (views) of changes, maybe you should think about applying the MVC in a different context? It's possible if you leave the function out and still document that your system is based on an MVC architecture, Sun may think you're misunderstanding the pattern, which is clearly not the case.
Good luck with your deadline! I tried to tell myself I'd turn this in last Friday, but small things kept coming up
- hopefully this Friday will be the day.
Originally posted by Philippe
I agree with everyhing Paul wrote above
Phew! Thanks for the confirmation Philippe
Regards,
Paul
[ November 09, 2003: Message edited by: Paul Tongyoo ]