摘要: prototype有助于减少function的冲突。闭包有助于避免全部变量。this, prototype有助于实例化多个对象。函数函数表达式 阅读全文
posted @ 2013-11-20 03:30 daishuguang 阅读(128) 评论(0) 推荐(0) 编辑
摘要: framework is a kind of javascript usage.use javascript to operate dom, css, ajax, bom, and other data or object.javascript is a language which can be used anywhere.mvc is a kind of javascript usage.view or dom is just operating elements.1.Use javascript to render View or Element2. BOM3. Transfer Dat 阅读全文
posted @ 2013-11-20 02:27 daishuguang 阅读(215) 评论(0) 推荐(0) 编辑
摘要: http://www.w3cmm.com/javascript/this-currenttarget-target.htmlabout mvcthis one is not recommend:http://alistapart.com/article/javascript-mvcthis one is very nice:http://alexatnet.com/articles/model-view-controller-mvc-javascripthttp://net.tutsplus.com/tutorials/javascript-ajax/using-javascripts-pro 阅读全文
posted @ 2013-11-20 01:12 daishuguang 阅读(183) 评论(0) 推荐(0) 编辑