hjzheng / CUF_meeting_knowledge_share

Record CUF team meeting knowledge share
121 stars 49 forks source link

2015-4-2 Angular file upload directive || JavaScript跨域总结 #28

Open hjzheng opened 9 years ago

hjzheng commented 9 years ago

Angularjs file upload directive http://jsfiddle.net/nmdcwf3w/ https://github.com/danialfarid/ng-file-upload

lodash VS underscore http://stackoverflow.com/questions/13789618/differences-between-lodash-and-underscore

StackOverFlow精彩问答赏析:有jQuery背景的开发者如何建立起AngularJS的思维模式? http://www.infoq.com/cn/news/2013/11/how-to-think-angularjs

Chrome devtools top 14 http://blog.ovidiubokar.com/hacks/top-14-chrome-devtools

adaptive VS responsive http://basicuse.net/articles/pl/textile/html_css/adaptive_vs_responsive_web_approach_two_sides_of_the_same_coin

Angularjs 处理 http://jsfiddle.net/JeJenny/ZG9re/ http://stackoverflow.com/questions/17922557/angularjs-how-to-check-for-changes-in-file-input-fields

Angular通过CORS实现跨域方案 http://developer.51cto.com/art/201408/448615.htm

hjzheng commented 9 years ago

Upload Example https://github.com/hjzheng/CUF_meeting_knowledge_share/tree/master/2015-4-2/uploadApp

qq 20150415103414

hjzheng commented 9 years ago

JavaScript跨域总结

1、document.domain+iframe的设置 2、动态创建script 3、利用iframe和location.hash 4、window.name实现的跨域数据传输 5、使用HTML5 postMessage 6、利用flash