<?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: Chain.js: jQuery Data Binding Service</title>
	<atom:link href="http://ajaxian.com/archives/chainjs-jquery-data-binding-service/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/chainjs-jquery-data-binding-service</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:55:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: Polaris431</title>
		<link>http://ajaxian.com/archives/chainjs-jquery-data-binding-service/comment-page-1#comment-278793</link>
		<dc:creator>Polaris431</dc:creator>
		<pubDate>Wed, 10 Feb 2010 09:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4155#comment-278793</guid>
		<description>I don&#039;t find this solution particularly well for templating. As far as I am concerned, a template engine should really do nothing more than replace placeholders with values. If I want sorting functionality on items or UI markup, there are plenty of plugins for that. I also find it odd to use class property as a mechanism to identify and replace the inner html content of a tag. Classes are not meant for that purpose. If you need to use a property to identify tags that get their inner html replaced, create a unique property name like &quot;FieldVal&quot;.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t find this solution particularly well for templating. As far as I am concerned, a template engine should really do nothing more than replace placeholders with values. If I want sorting functionality on items or UI markup, there are plenty of plugins for that. I also find it odd to use class property as a mechanism to identify and replace the inner html content of a tag. Classes are not meant for that purpose. If you need to use a property to identify tags that get their inner html replaced, create a unique property name like &#8220;FieldVal&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ShawnS</title>
		<link>http://ajaxian.com/archives/chainjs-jquery-data-binding-service/comment-page-1#comment-267555</link>
		<dc:creator>ShawnS</dc:creator>
		<pubDate>Sat, 20 Sep 2008 20:24:14 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4155#comment-267555</guid>
		<description>Just a quick post to mention that there is an alternative templating solution.

jsRepeater is a templating solution that provides for binding to an entire hierarchy, alternation, output formatting as well as recursive databinding.

It has been created to be easy to use with the minimum amount of javascript. Let&#039;s face it, a template is supposed to allow us to say &quot;I want this here&quot; instead of having to write javascript that says &quot;Put this there&quot;.

If you would like to check it out there is a site dedicated to it at:
http://jsrepeater.devprog.com/</description>
		<content:encoded><![CDATA[<p>Just a quick post to mention that there is an alternative templating solution.</p>
<p>jsRepeater is a templating solution that provides for binding to an entire hierarchy, alternation, output formatting as well as recursive databinding.</p>
<p>It has been created to be easy to use with the minimum amount of javascript. Let&#8217;s face it, a template is supposed to allow us to say &#8220;I want this here&#8221; instead of having to write javascript that says &#8220;Put this there&#8221;.</p>
<p>If you would like to check it out there is a site dedicated to it at:<br />
<a href="http://jsrepeater.devprog.com/" rel="nofollow">http://jsrepeater.devprog.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: diyism</title>
		<link>http://ajaxian.com/archives/chainjs-jquery-data-binding-service/comment-page-1#comment-267220</link>
		<dc:creator>diyism</dc:creator>
		<pubDate>Fri, 05 Sep 2008 06:05:27 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4155#comment-267220</guid>
		<description>Guys, why not give a try to &quot;jQuery micro template&quot;?
http://plugins.jquery.com/project/micro_template
It&#039;s more flexible than Chains.js, and need not seperate template container like Trimpath etc.
Example:
&lt;code&gt;
&lt;div id=&quot;test5&quot; class=&quot;bids&quot;&gt;
&lt;!for (var i=0;i&lt;json.length;++i){!&gt;
Bid price:&lt;span *=&quot;&lt;!if (json[i][&#039;bid&#039;]%3e=1) {write.push(&#039;style=%22color:red;&#039;+(json[i][&#039;bid&#039;]%3e=5?&#039;font-weight:bold;&#039;:&#039;&#039;)+&#039;%22&#039;);}!&gt;*=&quot;&gt;&lt;!=json[i][&#039;bid&#039;]!&gt;&lt;/span&gt;&lt;br&gt;
&lt;!}!&gt;
&lt;/div&gt;
var data5=[{bid:2.3}, {bid:5.3}, {bid:0.9}];
$(&#039;#test5&#039;).drink(data5);
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Guys, why not give a try to &#8220;jQuery micro template&#8221;?<br />
<a href="http://plugins.jquery.com/project/micro_template" rel="nofollow">http://plugins.jquery.com/project/micro_template</a><br />
It&#8217;s more flexible than Chains.js, and need not seperate template container like Trimpath etc.<br />
Example:<br />
<code><br />
&lt;div id="test5" class="bids"&gt;<br />
&lt;!for (var i=0;i&lt;json.length;++i){!&gt;<br />
Bid price:&lt;span *="&lt;!if (json[i]['bid']%3e=1) {write.push('style=%22color:red;'+(json[i]['bid']%3e=5?'font-weight:bold;':'')+'%22');}!&gt;*="&gt;&lt;!=json[i]['bid']!&gt;&lt;/span&gt;&lt;br&gt;<br />
&lt;!}!&gt;<br />
&lt;/div&gt;<br />
var data5=[{bid:2.3}, {bid:5.3}, {bid:0.9}];<br />
$('#test5').drink(data5);<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rubyred</title>
		<link>http://ajaxian.com/archives/chainjs-jquery-data-binding-service/comment-page-1#comment-266831</link>
		<dc:creator>rubyred</dc:creator>
		<pubDate>Thu, 21 Aug 2008 21:01:55 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4155#comment-266831</guid>
		<description>This looks great!  I wonder if I could hook this up with taffydb...</description>
		<content:encoded><![CDATA[<p>This looks great!  I wonder if I could hook this up with taffydb&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zwaugh</title>
		<link>http://ajaxian.com/archives/chainjs-jquery-data-binding-service/comment-page-1#comment-266829</link>
		<dc:creator>zwaugh</dc:creator>
		<pubDate>Thu, 21 Aug 2008 19:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4155#comment-266829</guid>
		<description>Really nice piece of code. Just what I was looking for. Already started to implement it in a project. Thanks!</description>
		<content:encoded><![CDATA[<p>Really nice piece of code. Just what I was looking for. Already started to implement it in a project. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tidelipop</title>
		<link>http://ajaxian.com/archives/chainjs-jquery-data-binding-service/comment-page-1#comment-266826</link>
		<dc:creator>tidelipop</dc:creator>
		<pubDate>Thu, 21 Aug 2008 17:37:46 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4155#comment-266826</guid>
		<description>I haven&#039;t tried it yet, but by just looking at the demos I can say that this is a great piece of code you&#039;ve written! I&#039;m sure it will be very useful for me. I can see it used in a very flexible selectbox, with filtering etc...
Thank you!</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t tried it yet, but by just looking at the demos I can say that this is a great piece of code you&#8217;ve written! I&#8217;m sure it will be very useful for me. I can see it used in a very flexible selectbox, with filtering etc&#8230;<br />
Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rizqi</title>
		<link>http://ajaxian.com/archives/chainjs-jquery-data-binding-service/comment-page-1#comment-266823</link>
		<dc:creator>rizqi</dc:creator>
		<pubDate>Thu, 21 Aug 2008 12:36:27 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4155#comment-266823</guid>
		<description>@jlbruno
Chain.js doesn&#039;t have anything to do with styling. The inline styles are only in the demo, because of the limitation of the wiki at the github.</description>
		<content:encoded><![CDATA[<p>@jlbruno<br />
Chain.js doesn&#8217;t have anything to do with styling. The inline styles are only in the demo, because of the limitation of the wiki at the github.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jlbruno</title>
		<link>http://ajaxian.com/archives/chainjs-jquery-data-binding-service/comment-page-1#comment-266822</link>
		<dc:creator>jlbruno</dc:creator>
		<pubDate>Thu, 21 Aug 2008 12:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4155#comment-266822</guid>
		<description>Looks interesting, but what&#039;s with all the inline styles it&#039;s creating??</description>
		<content:encoded><![CDATA[<p>Looks interesting, but what&#8217;s with all the inline styles it&#8217;s creating??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iumentum</title>
		<link>http://ajaxian.com/archives/chainjs-jquery-data-binding-service/comment-page-1#comment-266817</link>
		<dc:creator>Iumentum</dc:creator>
		<pubDate>Thu, 21 Aug 2008 07:19:30 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4155#comment-266817</guid>
		<description>Really nice work!
Will for sure use this in many of my future projects.
Thanx for sharing!</description>
		<content:encoded><![CDATA[<p>Really nice work!<br />
Will for sure use this in many of my future projects.<br />
Thanx for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nosredna</title>
		<link>http://ajaxian.com/archives/chainjs-jquery-data-binding-service/comment-page-1#comment-266816</link>
		<dc:creator>Nosredna</dc:creator>
		<pubDate>Thu, 21 Aug 2008 06:54:10 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4155#comment-266816</guid>
		<description>That&#039;s pretty neat. I like it. Nice and simple.</description>
		<content:encoded><![CDATA[<p>That&#8217;s pretty neat. I like it. Nice and simple.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

