javascript Programming Glossary: responsibility
Why would one use the Publish/Subscribe pattern (in JS/jQuery)? http://stackoverflow.com/questions/13512949/why-would-one-use-the-publish-subscribe-pattern-in-js-jquery this question It ™s all about loose coupling and single responsibility which goes hand to hand with MV MVC MVP MVVM patterns in JavaScript.. principle in which each component of the system knows it ™s responsibility and don ™t care about the other components or at least tries..
What are the advantages/disadvantages of Canvas vs. DOM in JavaScript game development? http://stackoverflow.com/questions/2266416/what-are-the-advantages-disadvantages-of-canvas-vs-dom-in-javascript-game-devel with one a few elements in the game great ability great responsibility. the freedom to draw brings in you have to charge of all the..
html - selection range - getting the range + starting node + ending node + distance http://stackoverflow.com/questions/2955244/html-selection-range-getting-the-range-starting-node-ending-node-dista a Blogger Code of Conduct. His proposals are p ol li Take responsibility not just for your own words but for the comments you allow on..
backbone.js - getting extra data along with the request http://stackoverflow.com/questions/5711245/backbone-js-getting-extra-data-along-with-the-request to handle this in the collection class' parse method. Its responsibility is to take the response and return back an array of model attributes... if you didn't mind the parse method having this additional responsibility. UserList Backbone.Collection.extend model User url ' users'.. would say that you are giving the parse method a secondary responsibility which might surprise some people e.g. returning something and..
Emulate super in javascript http://stackoverflow.com/questions/8032566/emulate-super-in-javascript be known when we do the super ing without passing that responsibility to this or one of its properties. There are many some things..
|