I assume everyone already knows about mockjax [1], a fantastic library for mocking out plain-old jquery ajax requests. It's a great way to develop and test Backbone apps against an API contract even before the API is up and running.<p>[1] <a href="https://github.com/appendto/jquery-mockjax" rel="nofollow">https://github.com/appendto/jquery-mockjax</a>
Somewhat related is that Elijah showed Aaron Powell this some time ago and he blogged about it at <a href="http://aaron-powell.com/javascript/stubbing-ajax-responses-with-tbd" rel="nofollow">http://aaron-powell.com/javascript/stubbing-ajax-responses-w...</a> but used a different mock objects generator. This technique has come in quite handy, so thanks for showing Aaron this Elijah.