<?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: Composite Views</title>
	<atom:link href="http://www.itsgotwhatplantscrave.com/2009/07/29/composite-views/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itsgotwhatplantscrave.com/2009/07/29/composite-views/</link>
	<description>Sproutcore and other technologies with electrolytes</description>
	<lastBuildDate>Tue, 23 Feb 2010 00:24:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Evin</title>
		<link>http://www.itsgotwhatplantscrave.com/2009/07/29/composite-views/comment-page-1/#comment-41</link>
		<dc:creator>Evin</dc:creator>
		<pubDate>Mon, 03 Aug 2009 22:46:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.itsgotwhatplantscrave.com/?p=121#comment-41</guid>
		<description>@Suvajit Gupta:

It acts exactly like a normal SC.Binding so you can pass a string or you can pass an SC.Binding protocol like:
&lt;pre lang=&#039;javascript&#039;&gt;
 namePath: SC.Binding.from(&#039;myApp.myRecordController.name&#039;).oneWay()
&lt;/pre&gt;

But you should probably do this at the internal to the view to for better control.</description>
		<content:encoded><![CDATA[<p>@Suvajit Gupta:</p>
<p>It acts exactly like a normal SC.Binding so you can pass a string or you can pass an SC.Binding protocol like:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"> namePath<span style="color: #339933;">:</span> SC.<span style="color: #660066;">Binding</span>.<span style="color: #660066;">from</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'myApp.myRecordController.name'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">oneWay</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></pre></div></div>

<p>But you should probably do this at the internal to the view to for better control.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suvajit Gupta</title>
		<link>http://www.itsgotwhatplantscrave.com/2009/07/29/composite-views/comment-page-1/#comment-40</link>
		<dc:creator>Suvajit Gupta</dc:creator>
		<pubDate>Mon, 03 Aug 2009 19:38:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.itsgotwhatplantscrave.com/?p=121#comment-40</guid>
		<description>So how to enhance this to indicate what sort of binding to make from the path (e.g., oneWay)?</description>
		<content:encoded><![CDATA[<p>So how to enhance this to indicate what sort of binding to make from the path (e.g., oneWay)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evin</title>
		<link>http://www.itsgotwhatplantscrave.com/2009/07/29/composite-views/comment-page-1/#comment-31</link>
		<dc:creator>Evin</dc:creator>
		<pubDate>Fri, 31 Jul 2009 13:49:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.itsgotwhatplantscrave.com/?p=121#comment-31</guid>
		<description>@Fredrik W

You&#039;re right there is no magic here...it is just a naming convention.  The convention is more for readability and to make sure you DON&#039;T pass bindings around with the &#039;-Binding&#039; convention which is a performance hit.  &#039;-Binding&#039; convention should ONLY be used when you are actually setting a binding up not to pass the string.

The composite view is a the more important construct.  This is very helpful when you have to make views that have popups or other special characteristics</description>
		<content:encoded><![CDATA[<p>@Fredrik W</p>
<p>You&#8217;re right there is no magic here&#8230;it is just a naming convention.  The convention is more for readability and to make sure you DON&#8217;T pass bindings around with the &#8216;-Binding&#8217; convention which is a performance hit.  &#8216;-Binding&#8217; convention should ONLY be used when you are actually setting a binding up not to pass the string.</p>
<p>The composite view is a the more important construct.  This is very helpful when you have to make views that have popups or other special characteristics</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fredrik W</title>
		<link>http://www.itsgotwhatplantscrave.com/2009/07/29/composite-views/comment-page-1/#comment-30</link>
		<dc:creator>Fredrik W</dc:creator>
		<pubDate>Fri, 31 Jul 2009 00:28:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.itsgotwhatplantscrave.com/?p=121#comment-30</guid>
		<description>This may be me not fully grasping the SproutCore internals, but how will this increase performance? 

All you&#039;re doing is making the (name) coupling between views weaker (by passing it to the parent which is in turn responsible for creating its child views). The -Paths are only strings, so  the bindings will be set up for each child view anyway, right? Or am I missing something here?</description>
		<content:encoded><![CDATA[<p>This may be me not fully grasping the SproutCore internals, but how will this increase performance? </p>
<p>All you&#8217;re doing is making the (name) coupling between views weaker (by passing it to the parent which is in turn responsible for creating its child views). The -Paths are only strings, so  the bindings will be set up for each child view anyway, right? Or am I missing something here?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: It&#8217;s Got What Plants Crave &#187; Blog Archive &#187; Bindings Unleashed</title>
		<link>http://www.itsgotwhatplantscrave.com/2009/07/29/composite-views/comment-page-1/#comment-29</link>
		<dc:creator>It&#8217;s Got What Plants Crave &#187; Blog Archive &#187; Bindings Unleashed</dc:creator>
		<pubDate>Thu, 30 Jul 2009 14:25:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.itsgotwhatplantscrave.com/?p=121#comment-29</guid>
		<description>[...] A further discussion of using this convention can be found in the discussion about composite views. [...]</description>
		<content:encoded><![CDATA[<p>[...] A further discussion of using this convention can be found in the discussion about composite views. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.480 seconds -->
