-
Recent Posts
Recent Comments
Archives
- February 2012
- January 2012
- October 2011
- August 2011
- June 2011
- May 2011
- February 2011
- January 2011
- November 2010
- October 2010
- September 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- September 2008
Categories
Meta
Category Archives: jquery
Handling DOM Events With EmberJS Views And Controllers
Hot on the heels of picking up Ember and starting to learn it, I think I’ve actually learned something useful! I certainly hope I have, at least. Otherwise, I’m going to be in trouble soon. In my EmberCloneMail app, I … Continue reading
Using jQuery, Plugins and UI Controls With Backbone
Most Backbone applications either use jQuery or Zepto as their DOM manipulation of choice. I tend to use jQuery as it’s supported across more browsers and has more features – though it is a little heavier in terms of download … Continue reading
Asynchronously Load HTML Templates For Backbone Views
As JavaScript applications become larger and larger, we have to think about the download size, memory usage and other performance constraints for our end users. There are a number of aspects to consider, one of which is how to deliver … Continue reading
Rewriting My ‘Guaranteed Callbacks’ Code With jQuery Deferred
In a previous post, I showed some code that I wrote to guarantee the execution of a callback method after a Backbone collection was loaded. Even if you added the callback after the collection had been loaded, it would run. Shortly … Continue reading
Don’t Rely Solely On jQuery’s “keyup” Event
A few days ago I pushed some changes to the form validation up to my WatchMeCode website. I was trying to fix a scenario where a browser cache would have some of the data in the purchase form already filled … Continue reading
Backbone.js: Object Literals, Views Events, jQuery, and `el`
I’ve seen this question in various forms on StackOverflow, more than a few times: Why aren’t my view event callbacks are being fired? or My view events won’t fire. What am I doing wrong? or My view’s `el` is empty? … Continue reading
Coordinating multiple ajax requests with jquery.when
While building a rich JavaScript application, you may get in a situation where you need to make multiple ajax requests, and it doesn’t make sense to work with the results until after all of them have returned. For example, suppose … Continue reading
Test-Driving Backbone Views With JQuery Templates, The Jasmine Gem, and Jasmine-JQuery
In my current production rails app, I use Cucumber to test my backbone code as an integration test – to make sure that the entire system is playing nice. Over the weekend, I decided to dive a little deeper into my … Continue reading
A Simple Example For Backbone.ModelBinding
I received a question via Github, asking if I had any simple, functional examples of my Backbone.ModelBinding plugin. After looking back through my blog posts and the documentation for it, I realized I did not. So, I whipped one up … Continue reading
Run QUnit tests under Continuous Integration with NQUnit
Almost three years ago, I wrote about Running jQuery QUnit tests under Continuous Integration. As you can imagine, a lot has changed in three years. You would now have a lot of trouble following my post if you use the … Continue reading
Also posted in qunit, teamcity
Leave a comment
