jquery Programming Glossary: coupling
How to avoid locking my HTML structure when using jQuery to create rich client experiences? http://stackoverflow.com/questions/10743682/how-to-avoid-locking-my-html-structure-when-using-jquery-to-create-rich-client-e Keep them as decoupled as possible but there's always some coupling it's the interface between script and HTML. It's like being..
What does bind and unbind mean in jquery? http://stackoverflow.com/questions/1264353/what-does-bind-and-unbind-mean-in-jquery jquery binding share improve this question Binding coupling an handler to an element s that will run when an event occurs.. or focus function alt bind 'focus' function . Unbinding de coupling of an handler from an element s so that when an event occurs..
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 share improve this question It ™s all about loose coupling and single responsibility which goes hand to hand with MV MVC.. which are very modern in the last few years. Loose coupling is an Object oriented principle in which each component of the.. tries to not care about them as much as possible . Loosing coupling is a good thing because you can easily reuse the different modules...
How to trigger the window resize event in JavaScript? http://stackoverflow.com/questions/1818474/how-to-trigger-the-window-resize-event-in-javascript to run the code it is better to do it directly without coupling yourself to the events what if you changed the event then your..
rails3 rails.js and jquery catching success and failure of ajax requests http://stackoverflow.com/questions/3501317/rails3-rails-js-and-jquery-catching-success-and-failure-of-ajax-requests ajax success As the javascript should be unobtrusive this coupling is not done in the HTML. An example from the same site the following..
How do you organize large JS/jQuery code bases across your entire website? http://stackoverflow.com/questions/3668518/how-do-you-organize-large-js-jquery-code-bases-across-your-entire-website multiple pages using the same code staying DRY with loose coupling etc. Below is how I deal with it. I've never been comfortable..
How to avoid locking my HTML structure when using jQuery to create rich client experiences? http://stackoverflow.com/questions/10743682/how-to-avoid-locking-my-html-structure-when-using-jquery-to-create-rich-client-e on the amount of rework you'll have to update the script. Keep them as decoupled as possible but there's always some coupling it's the interface between script and HTML. It's like being able to change an implementation without having to change the..
What does bind and unbind mean in jquery? http://stackoverflow.com/questions/1264353/what-does-bind-and-unbind-mean-in-jquery unbind mean in jquery in idiot slow learner terms javascript jquery binding share improve this question Binding coupling an handler to an element s that will run when an event occurs on said element s . Depending on what kind of event you want.. functions like click function alt bind 'click' function or focus function alt bind 'focus' function . Unbinding de coupling of an handler from an element s so that when an event occurs the handler function will no longer run. Unbinding is always..
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 above javascript jquery design patterns publish subscribe share improve this question It ™s all about loose coupling and single responsibility which goes hand to hand with MV MVC MVP MVVM patterns in JavaScript which are very modern in the.. which goes hand to hand with MV MVC MVP MVVM patterns in JavaScript which are very modern in the last few years. Loose coupling is an Object oriented principle in which each component of the system knows it ™s responsibility and don ™t care about the.. and don ™t care about the other components or at least tries to not care about them as much as possible . Loosing coupling is a good thing because you can easily reuse the different modules. You ™re not coupled with the interfaces of other modules...
How to trigger the window resize event in JavaScript? http://stackoverflow.com/questions/1818474/how-to-trigger-the-window-resize-event-in-javascript You can use jQuery to trigger the event although if you want to run the code it is better to do it directly without coupling yourself to the events what if you changed the event then your trigger wouldn't do what you expect whereas if you call the..
rails3 rails.js and jquery catching success and failure of ajax requests http://stackoverflow.com/questions/3501317/rails3-rails-js-and-jquery-catching-success-and-failure-of-ajax-requests failure triggered after a failed AJAX request as opposite to ajax success As the javascript should be unobtrusive this coupling is not done in the HTML. An example from the same site the following Rails 2.3.8 form_remote_tag url action 'run' id tool..
How do you organize large JS/jQuery code bases across your entire website? http://stackoverflow.com/questions/3668518/how-do-you-organize-large-js-jquery-code-bases-across-your-entire-website and fit each piece into place side wide code organization multiple pages using the same code staying DRY with loose coupling etc. Below is how I deal with it. I've never been comfortable organizing my code like this because I think it's sloppy and..
|