<div dir="ltr">Sounds good to me. We should probably make an individual directory for each widget with its model and controller js files.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 11, 2020 at 11:22 AM b18050 b18050 <<a href="mailto:b18050@students.iitmandi.ac.in">b18050@students.iitmandi.ac.in</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello everyone,</div><div>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. <br></div><div> <br></div><div><br></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><font><font>Walter Bender</font></font><br><font><font>Sugar Labs</font></font></div><div><font><a href="http://www.sugarlabs.org" target="_blank"><font>http://www.sugarlabs.org</font></a></font><br><a href="http://www.sugarlabs.org" target="_blank"><font></font></a><br></div></div></div>