<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Backbone.EventBinder: Better Event Management For Your Backbone Apps</title>
	<atom:link href="http://lostechies.com/derickbailey/2012/10/01/backbone-eventbinder-better-event-management-for-your-backbone-apps/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/derickbailey/2012/10/01/backbone-eventbinder-better-event-management-for-your-backbone-apps/</link>
	<description>Better Than Yesterday</description>
	<lastBuildDate>Thu, 23 May 2013 00:44:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Naresh Bhatia</title>
		<link>http://lostechies.com/derickbailey/2012/10/01/backbone-eventbinder-better-event-management-for-your-backbone-apps/#comment-2879</link>
		<dc:creator>Naresh Bhatia</dc:creator>
		<pubDate>Sun, 02 Dec 2012 22:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=1005#comment-2879</guid>
		<description>Derick,

I like EventBinder, but somewhere between the Zombies post and this one, I am lost on how to use EventBinder with Backbone views (which is the most popular use case). Do you still recommend adding a close() method to the Backbone.View prototype and a onClose() method to the view? Also where does one store the binder object, so that binder.unbindAll() can be called on close? What is the recommended way to close child views (e.g. a parent view on a collection which has child views on the associated models). A working example would be a great addition to the Backbone.EventBinder project.

Thanks.
Naresh</description>
		<content:encoded><![CDATA[<p>Derick,</p>
<p>I like EventBinder, but somewhere between the Zombies post and this one, I am lost on how to use EventBinder with Backbone views (which is the most popular use case). Do you still recommend adding a close() method to the Backbone.View prototype and a onClose() method to the view? Also where does one store the binder object, so that binder.unbindAll() can be called on close? What is the recommended way to close child views (e.g. a parent view on a collection which has child views on the associated models). A working example would be a great addition to the Backbone.EventBinder project.</p>
<p>Thanks.<br />
Naresh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Lidström</title>
		<link>http://lostechies.com/derickbailey/2012/10/01/backbone-eventbinder-better-event-management-for-your-backbone-apps/#comment-2796</link>
		<dc:creator>Daniel Lidström</dc:creator>
		<pubDate>Fri, 19 Oct 2012 13:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=1005#comment-2796</guid>
		<description>Ah I see, now it makes sense. Thanks for clarifying.</description>
		<content:encoded><![CDATA[<p>Ah I see, now it makes sense. Thanks for clarifying.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derick Bailey</title>
		<link>http://lostechies.com/derickbailey/2012/10/01/backbone-eventbinder-better-event-management-for-your-backbone-apps/#comment-2795</link>
		<dc:creator>Derick Bailey</dc:creator>
		<pubDate>Fri, 19 Oct 2012 11:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=1005#comment-2795</guid>
		<description>they serve different purposes, and can / should be used together.


the EventBinder is just for handling events bindings and being able to easily group them and unbind all of them in a single call.


the onBeforeClose / onClose methods and events are still very useful when creating a base view that uses the EventBinder in a close method.</description>
		<content:encoded><![CDATA[<p>they serve different purposes, and can / should be used together.</p>
<p>the EventBinder is just for handling events bindings and being able to easily group them and unbind all of them in a single call.</p>
<p>the onBeforeClose / onClose methods and events are still very useful when creating a base view that uses the EventBinder in a close method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Lidström</title>
		<link>http://lostechies.com/derickbailey/2012/10/01/backbone-eventbinder-better-event-management-for-your-backbone-apps/#comment-2794</link>
		<dc:creator>Daniel Lidström</dc:creator>
		<pubDate>Fri, 19 Oct 2012 10:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=1005#comment-2794</guid>
		<description>I&#039;ve used the technique from the Zombies blog post. I like it as many others. The technique with the EventBinder seems nice too. I&#039;m just wondering what are the benefits from the original technique with the beforeClose method?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve used the technique from the Zombies blog post. I like it as many others. The technique with the EventBinder seems nice too. I&#8217;m just wondering what are the benefits from the original technique with the beforeClose method?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derick Bailey</title>
		<link>http://lostechies.com/derickbailey/2012/10/01/backbone-eventbinder-better-event-management-for-your-backbone-apps/#comment-2793</link>
		<dc:creator>Derick Bailey</dc:creator>
		<pubDate>Wed, 17 Oct 2012 00:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=1005#comment-2793</guid>
		<description>generally speaking, yes. 


Of course you can write code that hangs on to the DOM elements and cause zombies... but it requires a lot of effort to purposely make that happen when using a Backbone View.


I have yet to see a zombie view instance caused by DOM events wired in from the view&#039;s events hash.</description>
		<content:encoded><![CDATA[<p>generally speaking, yes. </p>
<p>Of course you can write code that hangs on to the DOM elements and cause zombies&#8230; but it requires a lot of effort to purposely make that happen when using a Backbone View.</p>
<p>I have yet to see a zombie view instance caused by DOM events wired in from the view&#8217;s events hash.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: darius</title>
		<link>http://lostechies.com/derickbailey/2012/10/01/backbone-eventbinder-better-event-management-for-your-backbone-apps/#comment-2792</link>
		<dc:creator>darius</dc:creator>
		<pubDate>Tue, 16 Oct 2012 22:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=1005#comment-2792</guid>
		<description>Oh, so using the events hash doesn&#039;t expose you to the risk of zombie code?</description>
		<content:encoded><![CDATA[<p>Oh, so using the events hash doesn&#8217;t expose you to the risk of zombie code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derick Bailey</title>
		<link>http://lostechies.com/derickbailey/2012/10/01/backbone-eventbinder-better-event-management-for-your-backbone-apps/#comment-2791</link>
		<dc:creator>Derick Bailey</dc:creator>
		<pubDate>Tue, 16 Oct 2012 21:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=1005#comment-2791</guid>
		<description>it doesn&#039;t, and doesn&#039;t need to. the events hash is managed by the view already</description>
		<content:encoded><![CDATA[<p>it doesn&#8217;t, and doesn&#8217;t need to. the events hash is managed by the view already</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: darius</title>
		<link>http://lostechies.com/derickbailey/2012/10/01/backbone-eventbinder-better-event-management-for-your-backbone-apps/#comment-2790</link>
		<dc:creator>darius</dc:creator>
		<pubDate>Tue, 16 Oct 2012 21:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/derickbailey/?p=1005#comment-2790</guid>
		<description>How does this work with the events hash in a View?</description>
		<content:encoded><![CDATA[<p>How does this work with the events hash in a View?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
