DOM this, currentTarget, Target

本文探讨了MVC模式在JavaScript开发中的实践,通过多个链接深入解析如何使用MVC来实现DOM操作、代码分层及提高代码维护性。重点突出MVC模式在功能实现、代码组织与维护方面的价值。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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,可以看作是功能,而不是模式。

 

转载于:https://www.cnblogs.com/daishuguang/p/3432594.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值