Tag Archive for 'designpatterns'

Organizing Javascript for Event Pooling with jQuery

It turns out my most popular article of the past year was Event Pooling with jQuery’s Bind and Trigger.  I wanted to write a follow up article taking this approach one step further by discussing how to logically organize the relationship between binders and triggers on a javascript heavy UI.  It’s important to properly design the code structure of your javascript to create a flexible and maintainable system.  This is essential for any software application.  For javascript development, you don’t want to end up with odd dependencies hindering changes or randomly bubbled events causing bugs. Read More

Event Pooling with jQuery Using Bind and Trigger: Managing Complex Javascript

Managing Complexity in the UI

As everyone knows, the more dependencies you have in a system, the harder maintaining that system is.  Javascript is no exception- and orchestrating actions across complex user interfaces can be a nightmare if not done properly.

Read More