DOM this, currentTarget, Target

http://www.w3cmm.com/javascript/this-currenttarget-target.html

 

about mvc

this one is not recommend: http://alistapart.com/article/javascript-mvc

 

this one is very nice: http://alexatnet.com/articles/model-view-controller-mvc-javascript

 

http://net.tutsplus.com/tutorials/javascript-ajax/using-javascripts-prototype-with-mvc/

 

http://howtodoinjava.com/2013/06/24/implement-mvc-and-pubsub-in-javascript/

 

MVC is just a solution of DOM opration.

 

 

Function and performance is for user

maintainable is for ourself

 

所谓的模式|MVC实际上是 |代码分层|

 

重心放在功能上,比如滚动,兼容性,插件,等等,浏览器检测等等。

模式只是让代码更加的易于维护而已。

 

MVC是操作DOM,可以看作是功能,而不是模式。

 

posted @ 2013-11-20 01:12  daishuguang  阅读(183)  评论(0编辑  收藏  举报