According to what i've learned about MVC, i know that if i want to add a handler function to an event listener from the controller (such as 'click') i can do it using the pub-sub pattern.
In my case i have 1 controller, 1 model and multiple views, and on page load i would like to call multiple methods (of multiple views) at once from the controller. Up until now i've only managed to do it with 1 method each time.
Does anyone know about an elegant way of doing this?
Thanks.