<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pivotal Labs &#187; Sheel Choksi</title>
	<atom:link href="http://pivotallabs.com/author/schoksi/feed/" rel="self" type="application/rss+xml" />
	<link>http://pivotallabs.com</link>
	<description>Agility Developed</description>
	<lastBuildDate>Sun, 19 May 2013 18:22:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>12/07/12: Off with the Backbone!</title>
		<link>http://pivotallabs.com/12-07-12-off-with-the-backbone/</link>
		<comments>http://pivotallabs.com/12-07-12-off-with-the-backbone/#comments</comments>
		<pubDate>Fri, 07 Dec 2012 15:10:00 +0000</pubDate>
		<dc:creator>Sheel Choksi</dc:creator>
				<category><![CDATA[Standup]]></category>
		<category><![CDATA[agile]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/12-07-12-off-with-the-backbone/</guid>
		<description><![CDATA[<p><h2>Interestings</h2>

<h3>Backbone.off can unbind callbacks from all instances of a class instead of just the instance you want</h3>

<p>If you set up some bindings such as </p>

<pre><code>viewClass = Backbone.View.extend&#40;{...}&#41;
view1 = new viewClass&#40;&#41;;
view2 = new viewClass&#40;&#41;;
model.bind&#40;"event", view1.myFunction, view1&#41;
model.bind&#40;"event", view2.myFunction, view2&#41;
</code></pre>

<p>and then want to unbind one of the callbacks...</p>

<pre><code>model.off&#40;"event", view1.myFunction&#41;
</code></pre>

<p>you will unbind both callbacks.  You need to use</p>

<pre><code>model.off&#40;"event", view1.myFunction, view1&#41;
</code></pre>

<p>This is fundamentally because of javascript prototypes that mean <code>view1.myFunction == view2.myFunction</code></p> <a href="http://pivotallabs.com/12-07-12-off-with-the-backbone/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/12-07-12-off-with-the-backbone/">12/07/12: Off with the Backbone!</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Interestings</h2>
<h3>Backbone.off can unbind callbacks from all instances of a class instead of just the instance you want</h3>
<p>If you set up some bindings such as </p>
<pre><code>viewClass = Backbone.View.extend&#40;{...}&#41;
view1 = new viewClass&#40;&#41;;
view2 = new viewClass&#40;&#41;;
model.bind&#40;"event", view1.myFunction, view1&#41;
model.bind&#40;"event", view2.myFunction, view2&#41;
</code></pre>
<p>and then want to unbind one of the callbacks&#8230;</p>
<pre><code>model.off&#40;"event", view1.myFunction&#41;
</code></pre>
<p>you will unbind both callbacks.  You need to use</p>
<pre><code>model.off&#40;"event", view1.myFunction, view1&#41;
</code></pre>
<p>This is fundamentally because of javascript prototypes that mean <code>view1.myFunction == view2.myFunction</code></p>
<p>The post <a href="http://pivotallabs.com/12-07-12-off-with-the-backbone/">12/07/12: Off with the Backbone!</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/12-07-12-off-with-the-backbone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>12/06/12: Prove your mohawk</title>
		<link>http://pivotallabs.com/12-06-12-prove-your-mohawk/</link>
		<comments>http://pivotallabs.com/12-06-12-prove-your-mohawk/#comments</comments>
		<pubDate>Thu, 06 Dec 2012 15:12:00 +0000</pubDate>
		<dc:creator>Sheel Choksi</dc:creator>
				<category><![CDATA[Standup]]></category>
		<category><![CDATA[agile]]></category>

		<guid isPermaLink="false">http://pivotallabs.com/12-06-12-prove-your-mohawk/</guid>
		<description><![CDATA[<p><h2>Interestings</h2>

<h3>Regex for Unicode</h3>

<p>Ruby 1.9 regexs can match Unicode Categories . Not filtering out Joëlle in your validations has never been so easy &#40;/p{L}/&#41;!</p>

<h2>Events</h2>

<h3>12/14: Railsbridge at Pivotal next weekend</h3>

<p>Railsbridge is a monthly-ish workshop to teach programming, primarily focused at women.</p>

<p>December's Railsbridge event will be at Pivotal SF on December 14-15.</p>

<p>All you pivots in the office know tons about Ruby and Rails. Please come to the workshop to spread your knowledge and be awesome!</p> <a href="http://pivotallabs.com/12-06-12-prove-your-mohawk/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>The post <a href="http://pivotallabs.com/12-06-12-prove-your-mohawk/">12/06/12: Prove your mohawk</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></description>
				<content:encoded><![CDATA[<h2>Interestings</h2>
<h3>Regex for Unicode</h3>
<p>Ruby 1.9 regexs can match Unicode Categories . Not filtering out Joëlle in your validations has never been so easy &#40;/p{L}/&#41;!</p>
<h2>Events</h2>
<h3>12/14: Railsbridge at Pivotal next weekend</h3>
<p>Railsbridge is a monthly-ish workshop to teach programming, primarily focused at women.</p>
<p>December&#8217;s Railsbridge event will be at Pivotal SF on December 14-15.</p>
<p>All you pivots in the office know tons about Ruby and Rails. Please come to the workshop to spread your knowledge and be awesome!</p>
<p>The post <a href="http://pivotallabs.com/12-06-12-prove-your-mohawk/">12/06/12: Prove your mohawk</a> appeared first on <a href="http://pivotallabs.com">Pivotal Labs</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://pivotallabs.com/12-06-12-prove-your-mohawk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using apc
Database Caching using apc
Object Caching 473/520 objects using apc

 Served from: pivotallabs.com @ 2013-05-19 21:56:11 by W3 Total Cache -->