[Sugar-devel] M-V-C model for MusicBlocks

b18050 b18050 b18050 at students.iitmandi.ac.in
Wed Mar 11 11:21:14 EDT 2020


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20200311/a7f12a6f/attachment.htm>


More information about the Sugar-devel mailing list