Hi,
I have seen a lot of people here using the observer
pattern (or something similar) to do an automatic update whenever a room is booked. Is this really needed? I don't see any must in the requirements. Or is it bad style not to use an observer on the MVC model?
I use the MVC pattern, but don't use any observer on the model. Whenever the user does something (booking/searching) I update the view. When a different client does the booking, the other client are not informed about that. Actually my view is independent of any network type.
So, do I loose points if I don't use the observer for the MVC model?
Thanks.
Bob