What is the purpose of backbone.js?

前端 未结 15 1241
终归单人心
终归单人心 2020-12-02 03:22

I tried to understand the utility of backbone.js from its site http://documentcloud.github.com/backbone, but I still couldn\'t figure out much.

Can anybody help me b

15条回答
  •  甜味超标
    2020-12-02 03:48

    So many good answers already. Backbone js helps to keep the code organised. Changing the model/collection takes care of the view rendering automaticallty which reduces lot of development overhead.

    Even though it provides maximum flexibility for development, developers should be careful to destroy the models and remove the views properly. Otherwise there may be memory leak in the application.

提交回复
热议问题