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

Walter Bender walter.bender at gmail.com
Wed Mar 11 11:32:51 EDT 2020


Sounds good to me. We should probably make an individual directory for each
widget with its model and controller js files.

On Wed, Mar 11, 2020 at 11:22 AM b18050 b18050 <
b18050 at students.iitmandi.ac.in> wrote:

> 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.
>
>
>

-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
<http://www.sugarlabs.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20200311/6e71eb68/attachment.htm>


More information about the Sugar-devel mailing list