博文

目前显示的是 八月, 2015的博文

Why aren't more companies using AngularJS?

http://www.quora.com/Why-arent-more-companies-using-AngularJS http://www.quora.com/Should-I-learn-ReactJS-or-AngularJS https://docs.angularjs.org http://www.stridenyc.com/blog/2015/3/4/coming-to-react-from-angular http://reactjs.cn/

Blocked plug-ins & Chrome

Blocked plug-ins Google Chrome blocks plug-ins that are outdated or those that are not widely used because they can occasionally be a security risk. Plug-ins help browsers process special types of web content, like Flash or Windows Media files. Some plug-ins, such as Flash, are used by many websites on the Internet. Other plug-ins are only used by a small number of sites. Examples of plug-ins that Chrome blocks: Java RealPlayer QuickTime Shockwave Windows Media Player Adobe Reader prior to Adobe Reader X Unity Google Update VLC Run blocked plug-ins You can run some plug-ins even if they are blocked by Chrome. Chrome will ask you for permission to run a plug-in and you should only run plug-ins on sites that you trust. To let the plug-in run on the site, follow these steps: To run the plug-in just this once, click Run this time . The plug-in will run, but if you visit the site later, you'll be asked for permission to run the plug-in again. To always allow

Underscore.js Backbone.js

Underscore is a JavaScript library that provides a whole mess of useful functional programming helpers without extending any built-in objects. It’s the answer to the question: “If I sit down in front of a blank HTML page, and want to start being productive immediately, what do I need?” … and the tie to go along with jQuery 's tux and Backbone 's suspenders.  http://underscorejs.org/ Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.  http://backbonejs.org http://www.quora.com/What-JavaScript-framework-does-Flow-use-for-its-web-frontend - jQuery for DOM manipulation - Underscore.js for awesome, rock solid, and progressive utility - A heavily modified Backbone.js for the model

.serialize() & .serializeArray() in jQuery

 .serialize() Description : Encode a set of form elements as a string for submission. Returns : String Ref : https://api.jquery.com/serialize/  .serializeArray() ; Description: Encode a set of form elements as an array of names and values. Returns : Array Ref : https://api.jquery.com/serializeArray/ .param(); Description: Create a serialized representation of an array, a plain object, or a jQuery object suitable for use in a URL query string or Ajax request. In case a jQuery object is passed, it should contain input elements with name/value properties. Ref : https://api.jquery.com/jQuery.param/