Comments

  1. Right on. I’ve tried to explain this to other developers many times, that MVC is a specialization of a more abstract kind of decoupling that uses publish and subscribe. Many developers adhere to a very rote concept of what MVC is and don’t realize the ideas can be applied more broadly.
    There is also too much acceptance of the very limiting form of implementation which uses a listeners collection, popular in the Java circle. Inspired by my experience in Smalltalk I recently wrote an event management system for a Java application that allows us to subscribe to events based on the publisher and the event name. This has been very helpful throughout our system; not just in the GUI layer.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.