Hello everyone,
This is regarding model - view - controller model of Music Blocks. As
suggested by respected mentor , there is a need to separate controller and
model of widgets. I think it will be good if for every widget, we can have
two files controller.js  and model.js. In model.js , we can store the data
and the domain logic. In controller.js , various processes and response to
various events and invokes changes on the model and the view.
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to