<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Rey Bango</title>
	
	<link>http://blog.reybango.com</link>
	<description>JavaScript, HTML, CSS &amp; Random Stuff...</description>
	<lastBuildDate>Thu, 02 Sep 2010 17:31:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/reybango/zSyW" /><feedburner:info uri="reybango/zsyw" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>How to Easily Inject jQuery into any Web Page</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/_PrLksQFdkI/</link>
		<comments>http://blog.reybango.com/2010/09/02/how-to-easily-inject-jquery-into-any-web-page/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 16:24:56 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1195</guid>
		<description><![CDATA[I use jQuery&#8230;a lot. It just makes JavaScript development much easier for me. Every so often, I may come across a site where I want to poke around and see what&#8217;s going on under the hood. In many cases, jQuery is being used so it&#8217;s simple to spark up Firebug and leverage jQuery to work [...]


Related posts:<ol><li><a href='http://blog.reybango.com/2010/07/09/not-using-jquery-javascript-templates-youre-really-missing-out/' rel='bookmark' title='Permanent Link: Not Using jQuery JavaScript Templates? You&#8217;re Really Missing Out.'>Not Using jQuery JavaScript Templates? You&#8217;re Really Missing Out.</a> <small>In preparation for my upcoming talk on jQuery Templates, I&#8217;ve...</small></li>
<li><a href='http://blog.reybango.com/2010/07/06/generic-activity-indicator-for-ajax-requests/' rel='bookmark' title='Permanent Link: Generic Activity Indicator for Ajax Requests'>Generic Activity Indicator for Ajax Requests</a> <small>Over the weekend I was fiddling was some code to...</small></li>
<li><a href='http://blog.reybango.com/2010/07/12/jquery-javascript-templates-tutorial-nesting-templates/' rel='bookmark' title='Permanent Link: jQuery JavaScript Templates Tutorial: Nesting Templates'>jQuery JavaScript Templates Tutorial: Nesting Templates</a> <small>In my last post, I presented an intro to how...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I use <a href="http://jquery.com">jQuery</a>&#8230;a lot. It just makes JavaScript development much easier for me. Every so often, I may come across a site where I want to poke around and see what&#8217;s going on under the hood. In many cases, jQuery is being used so it&#8217;s simple to spark up Firebug and leverage jQuery to work with a document. While jQuery is very pervasive, there are still plenty of sites that don&#8217;t use it which forces me to go back to plain &#8216;ole JavaScript. There&#8217;s nothing wrong with that but I&#8217;ve gotten used to the nice, terse syntax jQuery provides and I&#8217;d like to be able to use it.</p>
<p>Awhile back, I came across an awesome <a href="http://www.learningjquery.com/2009/04/better-stronger-safer-jquerify-bookmarklet">bookmarklet created by my jQuery teammate</a>, <a href="http://www.learningjquery.com">Karl Swedberg</a>, which allows me to inject the latest version of jQuery right into my page. This is great when you want to work with a page which doesn&#8217;t have jQuery included and you either don&#8217;t own the page or don&#8217;t feel like adding a script tag to it. The code below shows how the jQuery lib is included. </p>
<p>It&#8217;s fairly straightforward in that a script element is created:</p>
<pre class="brush: jscript;">var script=document.createElement('script');</pre>
<p> and the script tag&#8217;s <em>src</em> attribute is set with the following URL:</p>
<p><em>&#8216;http://code.jquery.com/jquery-latest.min.js&#8217;</em></p>
<p>Then, they grab a reference to the document&#8217;s <em>head</em> DOM element:</p>
<pre class="brush: jscript;">var head=document.getElementsByTagName('head')[0]...;</pre>
<p>and then insert the new script tag into the <em>head</em> of the document.</p>
<pre class="brush: jscript;">head.appendChild(script);</pre>
<p>That was a very high-level explanation because there&#8217;s definitely more going on. In fact, Karl took the extra step of ensuring that jQuery&#8217;s <a href="http://api.jquery.com/jQuery.noConflict/"><em>.noConflict()</em></a> method is called should there be another library present that requires the &#8220;$&#8221; namespace. Very cool. <img src='http://blog.reybango.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now, this leverages the latest minified version from the jQuery repo but you should be able to easily include a version of jQuery from the Microsoft or Google CDNs if that&#8217;s your preference:</p>
<p>Microsoft: http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.js<br />
Google: http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js </p>
<p>You can find the full source for the bookmarklet below and if you want to install it now, here&#8217;s the link for you to use:</p>
<p>» <a href="javascript:%20(function(){var%20el=document.createElement('div'),b=document.getElementsByTagName('body')[0];otherlib=false,msg='';el.style.position='fixed';el.style.height='32px';el.style.width='220px';el.style.marginLeft='-110px';el.style.top='0';el.style.left='50%';el.style.padding='5px%2010px';el.style.zIndex=1001;el.style.fontSize='12px';el.style.color='#222';el.style.backgroundColor='#f99';if(typeof%20jQuery!='undefined'){msg='This%20page%20already%20using%20jQuery%20v'+jQuery.fn.jquery;return%20showMsg();}else%20if(typeof%20$=='function'){otherlib=true;}%20function%20getScript(url,success){var%20script=document.createElement('script');script.src=url;var%20head=document.getElementsByTagName('head')[0],done=false;script.onload=script.onreadystatechange=function(){if(!done&amp;&amp;(!this.readyState||this.readyState=='loaded'||this.readyState=='complete')){done=true;success();script.onload=script.onreadystatechange=null;head.removeChild(script);}};head.appendChild(script);}%20getScript('http://code.jquery.com/jquery-latest.min.js',function(){if(typeof%20jQuery=='undefined'){msg='Sorry,%20but%20jQuery%20wasn\'t%20able%20to%20load';}else{msg='This%20page%20is%20now%20jQuerified%20with%20v'+jQuery.fn.jquery;if(otherlib){msg+='%20and%20noConflict().%20Use%20$jq(),%20not%20$().';}}%20return%20showMsg();});function%20showMsg(){el.innerHTML=msg;b.appendChild(el);window.setTimeout(function(){if(typeof%20jQuery=='undefined'){b.removeChild(el);}else{jQuery(el).fadeOut('slow',function(){jQuery(this).remove();});if(otherlib){$jq=jQuery.noConflict();}}},2500);}})();">jQuerify</a> «&#8211; Drag this link to your browser toolbar</p>
<p>I created a quick screencast that shows you how to add the bookmarklet to your browser and then use it for playing with a web page:</p>
<p><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/b0M5JFLJl48?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/b0M5JFLJl48?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></p>
<p>Nicely formatted bookmarklet code:</p>
<pre class="brush: jscript;">
(function() {
  var el=document.createElement('div'),
   b=document.getElementsByTagName('body')[0];
   otherlib=false,
   msg='';
  el.style.position='fixed';
  el.style.height='32px';
  el.style.width='220px';
  el.style.marginLeft='-110px';
  el.style.top='0';
  el.style.left='50%';
  el.style.padding='5px 10px';
  el.style.zIndex = 1001;
  el.style.fontSize='12px';
  el.style.color='#222';
  el.style.backgroundColor='#f99';
  if(typeof jQuery!='undefined') {
 msg='This page already using jQuery v'+jQuery.fn.jquery;
 return showMsg();
  } else if (typeof $=='function') {
 otherlib=true;
  }
  // more or less stolen form jquery core and adapted by paul irish
  function getScript(url,success){
 var script=document.createElement('script');
 script.src=url;
 var head=document.getElementsByTagName('head')[0],
  done=false;
 // Attach handlers for all browsers
 script.onload=script.onreadystatechange = function(){
   if ( !done &amp;&amp; (!this.readyState
     || this.readyState == 'loaded'
     || this.readyState == 'complete') ) {
  done=true;
  success();
  script.onload = script.onreadystatechange = null;
  head.removeChild(script);
   }
 };
 head.appendChild(script);
  }
  getScript('http://code.jquery.com/jquery-latest.min.js',function() {
 if (typeof jQuery=='undefined') {
   msg='Sorry, but jQuery wasn\'t able to load';
 } else {
   msg='This page is now jQuerified with v' + jQuery.fn.jquery;
   if (otherlib) {msg+=' and noConflict(). Use $jq(), not $().';}
 }
 return showMsg();
  });
  function showMsg() {
 el.innerHTML=msg;
 b.appendChild(el);
 window.setTimeout(function() {
   if (typeof jQuery=='undefined') {
  b.removeChild(el);
   } else {
  jQuery(el).fadeOut('slow',function() {
    jQuery(this).remove();
  });
  if (otherlib) {
    $jq=jQuery.noConflict();
  }
   }
 } ,2500);
  }
})();
</pre>


<p>Related posts:<ol><li><a href='http://blog.reybango.com/2010/07/09/not-using-jquery-javascript-templates-youre-really-missing-out/' rel='bookmark' title='Permanent Link: Not Using jQuery JavaScript Templates? You&#8217;re Really Missing Out.'>Not Using jQuery JavaScript Templates? You&#8217;re Really Missing Out.</a> <small>In preparation for my upcoming talk on jQuery Templates, I&#8217;ve...</small></li>
<li><a href='http://blog.reybango.com/2010/07/06/generic-activity-indicator-for-ajax-requests/' rel='bookmark' title='Permanent Link: Generic Activity Indicator for Ajax Requests'>Generic Activity Indicator for Ajax Requests</a> <small>Over the weekend I was fiddling was some code to...</small></li>
<li><a href='http://blog.reybango.com/2010/07/12/jquery-javascript-templates-tutorial-nesting-templates/' rel='bookmark' title='Permanent Link: jQuery JavaScript Templates Tutorial: Nesting Templates'>jQuery JavaScript Templates Tutorial: Nesting Templates</a> <small>In my last post, I presented an intro to how...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2010/09/02/how-to-easily-inject-jquery-into-any-web-page/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>

		<feedburner:origLink>http://blog.reybango.com/2010/09/02/how-to-easily-inject-jquery-into-any-web-page/</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/reybango/zSyW/~5/THMt_UMHlIU/Easily%20Inject%20jQuery%20in%20any%20Web%20Page.mp4&amp;blurover=false" length="8307499" type="video/mp4" /><feedburner:origEnclosureLink>http://content.screencast.com/users/ReyBango/folders/Default/media/b541a7ab-02af-4aba-838c-2c222638e46d/Easily%20Inject%20jQuery%20in%20any%20Web%20Page.mp4&amp;blurover=false</feedburner:origEnclosureLink></item>
		<item>
		<title>One year ago today, my dad passed away</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/gW5uGd7pTL4/</link>
		<comments>http://blog.reybango.com/2010/08/18/one-year-ago-today-my-dad-passed-away/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 20:43:51 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[Family]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1181</guid>
		<description><![CDATA[I can&#8217;t believe it&#8217;s been a year. A whole year since my dad lost his fight with cancer. The pain has definitely subsided over that time, especially knowing that he isn&#8217;t suffering anymore. No more shitty chemo. No more convulsions. No more meds. No more being an invalid. And that&#8217;s good because my dad hated [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.reybango.com/wp-content/uploads/2010/08/mem-047.jpg"><img src="http://blog.reybango.com/wp-content/uploads/2010/08/mem-047-300x225.jpg" alt="" title="mem 047" width="300" height="225" class="alignright size-medium wp-image-1182" style="float:right;margin-left:5px;" /></a>I can&#8217;t believe it&#8217;s been a year. A whole year since my dad lost his fight with cancer. The pain has definitely subsided over that time, especially knowing that he isn&#8217;t suffering anymore. No more shitty chemo. No more convulsions. No more meds. No more being an invalid. <strong>And that&#8217;s good because my dad hated being dependent on anyone.</strong></p>
<p>Tonight, I&#8217;ll join my family in a service to remember my dad. <strong>And that&#8217;s good because we all need some closure.</strong></p>
<p>We miss you dad.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2010/08/18/one-year-ago-today-my-dad-passed-away/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2010/08/18/one-year-ago-today-my-dad-passed-away/</feedburner:origLink></item>
		<item>
		<title>Choose 3 Developers You’d Spend a Day With</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/r4zr6fQFBAE/</link>
		<comments>http://blog.reybango.com/2010/08/12/choose-3-developers-youd-spend-a-day-with/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 14:55:34 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1176</guid>
		<description><![CDATA[Here&#8217;s a question. Given 3 days and allotted 1 day per developer, which 3 developers would you spend it with? Here&#8217;s the caveat, the developers MUST BE in the web development community. Here are my choices in no specific order: Nicole Sullivan &#8211; Why? Because she is a freaking CSS guru and the amount of [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a question. Given 3 days and allotted 1 day per developer, which 3 developers would you spend it with? Here&#8217;s the caveat, the developers MUST BE in the web development community.</p>
<p>Here are my choices in no specific order:</p>
<ul>
<li><a href="http://www.stubbornella.org/content/">Nicole Sullivan</a> &#8211; Why? Because she is a freaking CSS guru and the amount of CSS knowledge I could gain from a day of her mentoring would be so incredibly valuable. She&#8217;s also a super-cool person.</li>
<li><a href="http://www.nczonline.net/about/">Nicholas Zakas</a> &#8211; Why? Well, there are a lot of people who are really awesome JavaScript developers but few, in my opinion, who have the experience in a large-scale environment. Nicholas has that, as the principal front-end engineer for <a href="http://www.yahoo.com">Yahoo!</a> and that&#8217;s knowledge worth nabbing. And if you&#8217;ve watched his presentations, you know he can teach.</li>
<li><a href="http://stu.mp/">Joe Stump</a> &#8211; Why? Because Joe is one of the coolest dudes on the planet and apart from that, he has the knowledge to build out BIG sites. Now that he&#8217;s focused on <a href="http://simplegeo.com/">geolocation</a>, getting into that would be so cool. Plus, I know Joe loves kids so I could talk to him about babies and stuff. <img src='http://blog.reybango.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
</ul>
<p>Now, my list isn&#8217;t meant to leave anyone out because there are a ton of people who I&#8217;d like to learn from. This is just a group who I feel, at the moment, would offer knowledge that I want right now and they&#8217;re just great for providing that. So hopefully, I won&#8217;t hurt anyone&#8217;s feelings. <img src='http://blog.reybango.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So who would you pick?</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2010/08/12/choose-3-developers-youd-spend-a-day-with/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2010/08/12/choose-3-developers-youd-spend-a-day-with/</feedburner:origLink></item>
		<item>
		<title>The Case for jQuery’s .delegate() Method for Dynamic Event Binding</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/gNOmdRCbjTk/</link>
		<comments>http://blog.reybango.com/2010/08/11/the-case-for-jquerys-delegate-method-for-dynamic-event-binding/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 15:35:13 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1155</guid>
		<description><![CDATA[Binding events is one of the most common tasks a JavaScript developer has to do. It&#8217;s integral to the way our applications handle user interaction and response. Since it&#8217;s inception, jQuery has had event handling via various helper methods that helped to abstract cross-browser differences. If you&#8217;re a jQuery developer, I&#8217;m sure you&#8217;re used to [...]


Related posts:<ol><li><a href='http://blog.reybango.com/2010/04/14/my-solution-to-google-chrome-safari-double-firing-the-mouseup-event-when-selecting-text/' rel='bookmark' title='Permanent Link: My Solution to Google Chrome &#038; Safari Double Firing the mouseup Event when Selecting Text'>My Solution to Google Chrome &#038; Safari Double Firing the mouseup Event when Selecting Text</a> <small>I needed to write a quick bit of code today...</small></li>
<li><a href='http://blog.reybango.com/2010/07/08/im-presenting-on-jquery-templates-at-thinkvitamins-jquery-online-conference/' rel='bookmark' title='Permanent Link: I&#8217;m Presenting on jQuery Templates at ThinkVitamin&#8217;s jQuery Online Conference'>I&#8217;m Presenting on jQuery Templates at ThinkVitamin&#8217;s jQuery Online Conference</a> <small>This coming Monday (7/12/2010), I&#8217;ll be one of the speakers...</small></li>
<li><a href='http://blog.reybango.com/2010/07/06/generic-activity-indicator-for-ajax-requests/' rel='bookmark' title='Permanent Link: Generic Activity Indicator for Ajax Requests'>Generic Activity Indicator for Ajax Requests</a> <small>Over the weekend I was fiddling was some code to...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Binding events is one of the most common tasks a JavaScript developer has to do. It&#8217;s integral to the way our applications handle user interaction and response. Since it&#8217;s inception, jQuery has had event handling via various helper methods that helped to abstract cross-browser differences. If you&#8217;re a jQuery developer, I&#8217;m sure you&#8217;re used to syntax like this:</p>
<pre class="brush: jscript;">
$(&quot;#clname&quot;).click( function() { alert( &quot;Rey&quot; ) } );
</pre>
<p>which would bind a click event to a DOM element with an ID of &#8220;clname&#8221;. Very easy to understanding and simple to use. But when you get past just simple use of JavaScript and start inserting new DOM nodes, this binding becomes less useful because it can&#8217;t handle dynamically inserted elements. Let me explain.</p>
<p>Say you have the following HTML markup:</p>
<pre class="brush: xml;">
&lt;div id=&quot;clcontainer&quot;&gt;
&lt;a href=&quot;#&quot; class=&quot;clients&quot;&gt;Click for Rey Information&lt;/a&gt;
&lt;/div&gt;
</pre>
<p>and you bind the click event to generate an alert of some type like this:</p>
<pre class="brush: jscript;">
$(&quot;.clients&quot;).click( function() { alert( &quot;Here's some information.&quot; ) } );
</pre>
<p>but then you decide that you&#8217;re going to add a new DOM element to the page dynamically:</p>
<pre class="brush: jscript;">
$(&quot;#clcontainer&quot; ).append( &quot;&lt;a href='#' class='clients'&gt;Click for Mark Information&lt;/a&gt;&quot; )
</pre>
<p>What do you think will happen? I would venture many developers might expect that the second, dynamically appended DOM element would share the same binding as the first since they share the same class name. That&#8217;s not the case. jQuery methods such as click(), dbclick(), and bind() are meant to bind events to a specific set of available DOM elements (i.e: not dynamically appended). (Note: I updated this part to better clarify what I meant based on <a href="http://twitter.com/jamienewman">feedback by Jamie Newman</a>)</p>
<p>Now to get around this limitation, jQuery team member <a href="http://brandonaaron.net/">Brandon Aaron</a> initially created a plugin called LiveQuery which would allow you to bind events not only to specific DOM elements but all subsequent DOM elements that were appended to the DOM that matched the selector specified in the initial binding. That plugin eventually became part of the jQuery Core library and renamed simply to <a href="http://api.jquery.com/live/">live()</a>. The great thing with <a href="http://api.jquery.com/live/">live()</a> is that you could now bind dynamically added DOM elements like this:</p>
<pre class="brush: jscript;">
$(&quot;.clients&quot;).live( &quot;click&quot;, function() { alert( &quot;Here's some information.&quot; ) } );
</pre>
<p>and if you did append a new DOM element, like this:</p>
<pre class="brush: jscript;">
$(&quot;#clcontainer&quot; ).append( &quot;&lt;a href='#' class='clients'&gt;Click for Mark Information&lt;/a&gt;&quot; )
</pre>
<p>it would now share the same function binding as initially defined.</p>
<p><strong>The Problem with Live()</strong></p>
<p>Now, live() is an awesome method and people totally loved it. That is, until they wanted to bind events based on a deeper DOM traversal than just a single element, specifically when methods were used that alter the selector expression&#8217;s initial results (e.g.: using children()). So, if we had markup like this:</p>
<pre class="brush: xml;">
&lt;div id=&quot;clcontainer&quot;&gt;
	&lt;ul&gt;
		&lt;li&gt;Mary&lt;/li&gt;
		&lt;li&gt;Jane&lt;/li&gt;
	&lt;/ul&gt;
&lt;/div&gt;
</pre>
<p>and tried to use live() to bind all of the list items like this:</p>
<pre class="brush: jscript;">
$(&quot;#clcontainer&quot;).children( &quot;ul&quot; ).find( &quot;li&quot; ).live( &quot;click&quot;, function() { alert( &quot;Here's some information.&quot; ) } );
</pre>
<p>the binding would fail. Since chaining is so widely used within the jQuery community, this was a bit of a surprise to many and one of the most requested updates to jQuery.</p>
<p>In order to get around this, Brandon introduced in jQuery v 1.4 the new <a href="http://api.jquery.com/delegate/">delegate()</a> method. It provides greater control by allowing you to specify the context to which you&#8217;d like to bind to. So using the same example as above and making some slight changes to use delegate(), we&#8217;re now able to use chaining to determine our selector results and then specify that we&#8217;d like all current and future list items to be bound to our declared function:</p>
<pre class="brush: jscript;">
$(&quot;#clcontainer&quot;).children( &quot;ul&quot; ).delegate( &quot;li&quot;, &quot;click&quot;, function() { alert( &quot;Here's some information.&quot; ) } );
</pre>
<p><strong>When to Use live() or delegate()</strong></p>
<p>These two convenience methods are totally awesome and incredibly helpful with more complex apps. The best use case for them is when you know that you will be dynamically adding new DOM elements and they&#8217;ll share the same bound function. I mean, essentially that&#8217;s the premise of event delegation. You&#8217;re trying to limit the number of event handlers needed to handle functionality and increase maintainability be centralizing your logic. Make sense. If you&#8217;re not going to be doing anything that involved, though, then jQuery&#8217;s event helper methods such as bind(), click() etc. are still excellent choices for those one-off scenarios.</p>


<p>Related posts:<ol><li><a href='http://blog.reybango.com/2010/04/14/my-solution-to-google-chrome-safari-double-firing-the-mouseup-event-when-selecting-text/' rel='bookmark' title='Permanent Link: My Solution to Google Chrome &#038; Safari Double Firing the mouseup Event when Selecting Text'>My Solution to Google Chrome &#038; Safari Double Firing the mouseup Event when Selecting Text</a> <small>I needed to write a quick bit of code today...</small></li>
<li><a href='http://blog.reybango.com/2010/07/08/im-presenting-on-jquery-templates-at-thinkvitamins-jquery-online-conference/' rel='bookmark' title='Permanent Link: I&#8217;m Presenting on jQuery Templates at ThinkVitamin&#8217;s jQuery Online Conference'>I&#8217;m Presenting on jQuery Templates at ThinkVitamin&#8217;s jQuery Online Conference</a> <small>This coming Monday (7/12/2010), I&#8217;ll be one of the speakers...</small></li>
<li><a href='http://blog.reybango.com/2010/07/06/generic-activity-indicator-for-ajax-requests/' rel='bookmark' title='Permanent Link: Generic Activity Indicator for Ajax Requests'>Generic Activity Indicator for Ajax Requests</a> <small>Over the weekend I was fiddling was some code to...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2010/08/11/the-case-for-jquerys-delegate-method-for-dynamic-event-binding/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2010/08/11/the-case-for-jquerys-delegate-method-for-dynamic-event-binding/</feedburner:origLink></item>
		<item>
		<title>Random Thought: When Was the Last Time You Took a Step Back and Appreciated the Internet?</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/cpRppxRCHV8/</link>
		<comments>http://blog.reybango.com/2010/08/05/random-thought-when-was-the-last-time-you-took-a-step-back-and-appreciated-the-internet/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 02:11:54 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1152</guid>
		<description><![CDATA[As I was tweeting back and forth with my online buddies, I kind of had a moment where I just looked at the screen in utter amazement of the fact that I&#8217;m able to communicate so easily with so many people all over the world. Setting aside all of the web pages we look at, [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>As I was tweeting back and forth with my online buddies, I kind of had a moment where I just looked at the screen in utter amazement of the fact that I&#8217;m able to communicate so easily with so many people all over the world. Setting aside all of the web pages we look at, code we build, videos we see..isn&#8217;t it just amazing that a set of cables (obviously a lot of them) allow our thoughts to go from one end of the planet to another at incredible speed? </p>
<p>Seriously, take a step back and consider your IM chat or your Skype call or even a tweet. Think about the fact that every keystroke and every data bit somehow gets to where it needs to go. That&#8217;s just damn impressive. I think back 32 years ago when I was 10 years old having to get up to change a channel on a TV or using a paper map to figure out how to get to a vacation spot. Now, our phones can accurately pinpoint our location and find the nearest eatery for a great meal. Amazing!</p>
<p>I know the younger guys &#038; gals may not be able to relate. You guys grew up with much of this stuff so it&#8217;s just normal to you. For me, this is some really cool and amazing stuff and I truly hope that every now and then, you take a step back and just appreciate the wonder that is the Internet.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2010/08/05/random-thought-when-was-the-last-time-you-took-a-step-back-and-appreciated-the-internet/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2010/08/05/random-thought-when-was-the-last-time-you-took-a-step-back-and-appreciated-the-internet/</feedburner:origLink></item>
		<item>
		<title>Book Review: A Book Apart’s HTML5 for Web Designers by Jeremy Keith</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/FtaHI-iT-D4/</link>
		<comments>http://blog.reybango.com/2010/08/05/book-review-a-book-aparts-html5-for-web-designers-by-jeremy-keith/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 15:13:18 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1135</guid>
		<description><![CDATA[I just finished A Book Apart&#8217;s first book titled HTML5 for Web Designers. The book, written by well-known developer Jeremy Keith, and provides an overview of HTML5. I was pretty hyped up to receive this book and pre-ordered it based on my experience with Jeremy&#8217;s previous book. My Thoughts If you&#8217;re totally new to HTML5, [...]


Related posts:<ol><li><a href='http://blog.reybango.com/2009/12/05/book-review-crush-it/' rel='bookmark' title='Permanent Link: Book Review: Crush It!'>Book Review: Crush It!</a> <small>I picked up Gary Vaynerchuk&#8217;s new book &#8220;Crush It!&#8220;. I...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://books.alistapart.com/product/html5-for-web-designers"><img src="http://blog.reybango.com/wp-content/uploads/2010/08/html5-for-web-designers.png" alt="" title="html5-for-web-designers" width="213" height="300" class="alignright size-full wp-image-1140" style="float:right;padding:5px;margin:5px;" /></a>I just finished <a href="http://books.alistapart.com/">A Book Apart&#8217;s</a> first book titled <a href="http://books.alistapart.com/product/html5-for-web-designers"><u>HTML5 for Web Designers</u></a>. The book, written by well-known developer <a href="http://adactio.com/">Jeremy Keith</a>, and provides an overview of HTML5. I was pretty hyped up to receive this book and pre-ordered it based on my experience with Jeremy&#8217;s previous book.</p>
<p><strong>My Thoughts</strong></p>
<p>If you&#8217;re totally new to HTML5, this book will give you a good overview of the new spec. It&#8217;s not a highly technical book and is meant to provide the reader with an understanding of the evolution of the spec as well as some of the most important features of HTML5 including Canvas, video and updated form capabilities. The book is very short (only 85 pages) and extremely easy to read, which allowed me to finish it off in about 2-3 days of non-contiguous reading. I also liked Jeremy&#8217;s use of humor throughout the book.</p>
<p>With that said, this book is definitely not a deep-dive into HTML5 and if you&#8217;re expecting to pick it up and actually learn how to use the new features, I think you&#8217;ll be disappointed. While there are some technical nuggets (especially around Canvas), the book is really just an overview with very little technical meat to it. And I believe that&#8217;s the way that A Book Apart is trying to promote their books; quick, easy-to-read materials that get you good information fast. </p>
<p>What I would recommend is that if you&#8217;re looking to get a 10,000 foot view of HTML5, pick up this book. It&#8217;s definitely worthwhile from that perspective. If you&#8217;re looking to better understand the implementation of specific features, then this is not the right choice. And I offer this recommendation whether you&#8217;re a developer or designer. Better resources for a deeper, technical understanding of HTML5 include:</p>
<p><a href="http://diveintohtml5.org/">Dive Into HTML5</a><br />
<a href="http://html5demos.com/">HTML5 Demos</a><br />
<a href="http://html5doctor.com/">HTML5 Doctor</a></p>
<p>All of these are listed in the Resources section of the book and having read them previously truly are excellent sites for deep-diving into HTML5. </p>


<p>Related posts:<ol><li><a href='http://blog.reybango.com/2009/12/05/book-review-crush-it/' rel='bookmark' title='Permanent Link: Book Review: Crush It!'>Book Review: Crush It!</a> <small>I picked up Gary Vaynerchuk&#8217;s new book &#8220;Crush It!&#8220;. I...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2010/08/05/book-review-a-book-aparts-html5-for-web-designers-by-jeremy-keith/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2010/08/05/book-review-a-book-aparts-html5-for-web-designers-by-jeremy-keith/</feedburner:origLink></item>
		<item>
		<title>Tell Me the Development Problems that Script Junkie Can Try to Solve via Solutions-based Content</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/F7TwCuUffVA/</link>
		<comments>http://blog.reybango.com/2010/08/03/tell-me-the-development-problems-that-script-junkie-can-try-to-solve-via-solutions-based-content/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 14:46:33 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1119</guid>
		<description><![CDATA[My biggest focus at Microsoft is the Script Junkie website. We use it to publish really great cross-browser, solutions-based content to help developers improve their JavaScript, HTML, &#038; CSS development efforts. The Script Junkie team is working on our content plan for the next six months and we&#8217;re looking to identify developer problem areas that [...]


Related posts:<ol><li><a href='http://blog.reybango.com/2010/05/10/use-scriptsrc-net-to-copy-and-paste-the-script-tag-for-your-favorite-javascript-library/' rel='bookmark' title='Permanent Link: Use ScriptSrc.net to Copy and Paste the Script tag for Your Favorite JavaScript Library'>Use ScriptSrc.net to Copy and Paste the Script tag for Your Favorite JavaScript Library</a> <small>One of the things I hate about using CDNs is...</small></li>
<li><a href='http://blog.reybango.com/2010/04/29/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/' rel='bookmark' title='Permanent Link: The Big List of JavaScript, CSS, and HTML Development Tools, Libraries, Projects, and Books'>The Big List of JavaScript, CSS, and HTML Development Tools, Libraries, Projects, and Books</a> <small>NOTE: I&#8217;ve moved the list to it&#8217;s own dedicated page...</small></li>
<li><a href='http://blog.reybango.com/2010/07/09/not-using-jquery-javascript-templates-youre-really-missing-out/' rel='bookmark' title='Permanent Link: Not Using jQuery JavaScript Templates? You&#8217;re Really Missing Out.'>Not Using jQuery JavaScript Templates? You&#8217;re Really Missing Out.</a> <small>In preparation for my upcoming talk on jQuery Templates, I&#8217;ve...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>My biggest focus at Microsoft is the <a href="http://msdn.microsoft.com/en-us/scriptjunkie/">Script Junkie website</a>. We use it to publish really great cross-browser, solutions-based content to help developers improve their JavaScript, HTML, &#038; CSS development efforts.</p>
<p>The <a href="http://msdn.microsoft.com/en-us/scriptjunkie/">Script Junkie</a> team is working on our content plan for the next six months and we&#8217;re looking to identify developer problem areas that we can provide solutions for. So I&#8217;m reaching out to my blog readers in an effort to understand what type of things pain you. Here are some examples of problem areas that we&#8217;ve heard of:</p>
<ul>
<li>Designing and implementing for multiple devices like 42&#8243; LCD TVs to 480px Android device</li>
<li>Getting users to upgrade their browsers in a friendly way</li>
<li>Developing cross-browser compatible websites with minimal hacks</li>
<li>How realistic is it to begin using HTML5 &#038; CSS3 today?</li>
</ul>
<p><strong>It&#8217;s important to note that that we&#8217;re not looking for answers to the above problem areas at this time</strong>. These are examples to demonstrate the type of concerns we&#8217;re hearing. We&#8217;re looking for more questions that hopefully we can answer via solutions-based articles and code. So if you have thoughts on wide-spread development problems that you&#8217;d like to see tackled, please comment below. Remember that <a href="http://msdn.microsoft.com/en-us/scriptjunkie/">Script Junkie</a> focuses on JavaScript, HTML and CSS so please be sure to keep that in mind when listing out your pain points.</p>
<p>We&#8217;ll roll-up your comments and then focus on the top 10 things listed by the development community. </p>
<p>Thanks for your help! </p>


<p>Related posts:<ol><li><a href='http://blog.reybango.com/2010/05/10/use-scriptsrc-net-to-copy-and-paste-the-script-tag-for-your-favorite-javascript-library/' rel='bookmark' title='Permanent Link: Use ScriptSrc.net to Copy and Paste the Script tag for Your Favorite JavaScript Library'>Use ScriptSrc.net to Copy and Paste the Script tag for Your Favorite JavaScript Library</a> <small>One of the things I hate about using CDNs is...</small></li>
<li><a href='http://blog.reybango.com/2010/04/29/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/' rel='bookmark' title='Permanent Link: The Big List of JavaScript, CSS, and HTML Development Tools, Libraries, Projects, and Books'>The Big List of JavaScript, CSS, and HTML Development Tools, Libraries, Projects, and Books</a> <small>NOTE: I&#8217;ve moved the list to it&#8217;s own dedicated page...</small></li>
<li><a href='http://blog.reybango.com/2010/07/09/not-using-jquery-javascript-templates-youre-really-missing-out/' rel='bookmark' title='Permanent Link: Not Using jQuery JavaScript Templates? You&#8217;re Really Missing Out.'>Not Using jQuery JavaScript Templates? You&#8217;re Really Missing Out.</a> <small>In preparation for my upcoming talk on jQuery Templates, I&#8217;ve...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2010/08/03/tell-me-the-development-problems-that-script-junkie-can-try-to-solve-via-solutions-based-content/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2010/08/03/tell-me-the-development-problems-that-script-junkie-can-try-to-solve-via-solutions-based-content/</feedburner:origLink></item>
		<item>
		<title>The Essential List of JavaScript, jQuery, HTML &amp; CSS Books to Make You a Better Web Developer</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/uOHuSDQARDE/</link>
		<comments>http://blog.reybango.com/2010/07/20/the-essential-list-of-javascript-jquery-html-css-books-to-make-you-a-better-web-developer/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 19:37:43 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1085</guid>
		<description><![CDATA[Over the years, I&#8217;ve read or been recommended a number of books which are essential reading for professional web developers. I&#8217;ve compiled the list of books below to help the community find a comprehensive list of good books that can help them be better coders. JavaScript Professional JavaScript for Web Developers &#8211; My new favorite [...]


Related posts:<ol><li><a href='http://blog.reybango.com/2010/04/29/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/' rel='bookmark' title='Permanent Link: The Big List of JavaScript, CSS, and HTML Development Tools, Libraries, Projects, and Books'>The Big List of JavaScript, CSS, and HTML Development Tools, Libraries, Projects, and Books</a> <small>NOTE: I&#8217;ve moved the list to it&#8217;s own dedicated page...</small></li>
<li><a href='http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/' rel='bookmark' title='Permanent Link: The Big List of JavaScript, CSS, and HTML Development Tools, Libraries, Projects, and Books'>The Big List of JavaScript, CSS, and HTML Development Tools, Libraries, Projects, and Books</a> <small>I&#8217;ve been meaning to do a roll-up of top JavaScript,...</small></li>
<li><a href='http://blog.reybango.com/2010/05/11/video-interviews-part-2-nicholas-zakas-principal-front-end-engineer-at-yahoo-on-jquery-performance-and-menno-van-slooten-on-his-automated-ui-testing-framework-for-jquery/' rel='bookmark' title='Permanent Link: Video Interviews Part 2 &#8211; Nicholas Zakas, Principal Front-end Engineer at Yahoo! on jQuery Performance and Menno van Slooten on his Automated UI Testing Framework for jQuery'>Video Interviews Part 2 &#8211; Nicholas Zakas, Principal Front-end Engineer at Yahoo! on jQuery Performance and Menno van Slooten on his Automated UI Testing Framework for jQuery</a> <small>I got some more videos edited and uploaded for you...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Over the years, I&#8217;ve read or been recommended a number of books which are essential reading for professional web developers. I&#8217;ve compiled the list of books below to help the community find a comprehensive list of good books that can help them be better coders. </p>
<h3>JavaScript</h3>
<p><a href="http://www.amazon.com/gp/product/047022780X?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=047022780X">Professional JavaScript for Web Developers</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=047022780X" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; My new favorite book. Almost 1,000 pages of VERY detailed JavaScript information. Written by Nicholas Zakas, Yahoo! Principal Front-end Engineer for Yahoo!&#8217;s home page and recommended by the YUI team as well. BUY THIS BOOK!</p>
<p><a href="http://www.amazon.com/gp/product/0596101996?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0596101996">JavaScript: The Definitive Guide</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=0596101996" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; Considered the Bible of JavaScript for its thorough coverage of JavaScript. You need to have this in your library, even as a reference.</p>
<p><a href="http://www.amazon.com/gp/product/1590595335?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=1590595335">DOM Scripting: Web Design with JavaScript and the Document Object Model</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=1590595335" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; This is a good book to get you familiar with the DOM. </p>
<p><a href="http://www.amazon.com/gp/product/1590598563?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=1590598563">AdvancED DOM Scripting: Dynamic Web Design Techniques</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=1590598563" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> </p>
<p><a href="http://www.amazon.com/gp/product/1590596803?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=1590596803">Beginning JavaScript with DOM Scripting and Ajax: From Novice to Professional</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=1590596803" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; The book by Christian Heilmann that really got me past the initial hump of plain &#8216;ole JavaScript. His writing style is awesome.</p>
<p><a href="http://www.amazon.com/gp/product/1847194141?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=1847194141">Object-Oriented JavaScript: Create scalable, reusable high-quality JavaScript applications and libraries</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=1847194141" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; JUST BUY THIS BOOK! Stoyan did a great job of outlining OOJS principles and it&#8217;s been incredibly valuable.</p>
<p><a href="http://www.amazon.com/gp/product/0596517742?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0596517742">JavaScript: The Good Parts</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=0596517742" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; It&#8217;s certainly a good book and I would recommend reading it after one of the more intro books like JS for Web Developer by Nicholas Zakas.</p>
<p><a href="http://www.amazon.com/gp/product/1847196705?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=1847196705">Learning jQuery 1.3</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=1847196705" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; While covering jQuery v1.3, the techniques discussed are still useful and I still recommend the book highly.</p>
<p><a href="http://www.amazon.com/gp/product/1590597273?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=1590597273">Pro JavaScript Techniques</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=1590597273" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; John Resig&#8217;s famous book on advanced JS techniques.</p>
<p><a href="http://www.amazon.com/gp/product/193398869X?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=193398869X">Secrets of the JavaScript Ninja</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=193398869X" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; Still not out but considering that John Resig is that author, it&#8217;s sure to be great.</p>
<p><a href="http://www.amazon.com/gp/product/0321423305?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0321423305">ppk on JavaScript, 1/e</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=0321423305" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; One of the first books I picked up and great overview of the language.</p>
<p><a href="http://www.amazon.com/gp/product/1590597648?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=1590597648">Accelerated DOM Scripting with Ajax, APIs, and Libraries</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=1590597648" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
<p><a href="http://www.amazon.com/gp/product/0321491939?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0321491939">Ajax Security</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=0321491939" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; Billy Hoffman is the man when it comes to Ajax security and this books shows why.</p>
<p><a href="http://www.amazon.com/gp/product/0596159773?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0596159773">jQuery Cookbook: Solutions &#038; Examples for jQuery Developers (Animal Guide)</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=0596159773" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; Tips &#038; techniques from the jQuery team rolled up in a cookbook style. You can&#8217;t go wrong.</p>
<p><a href="http://www.amazon.com/gp/product/1935182323?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=1935182323">jQuery in Action, Second Edition</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=1935182323" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; This is now updated for jQuery v1.4.x as well as jQuery UI 1.8.x. Definitely a must-have for jQuery developers</p>
<p><a href="http://jqueryenlightenment.com/">jQuery Enlightenment</a> &#8211; Cody Lindley did an amazing job in outlining the best jQuery techniques in this self-published book. Totally worth the price.</p>
<p><a href="http://my.safaribooksonline.com/9780321684097">Test-Driven JavaScript Development</a></p>
<p><a href="http://www.amazon.com/gp/product/0980576857?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0980576857">jQuery: Novice to Ninja</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=0980576857" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
<h3>HTML &#038; CSS</h3>
<p><a href="http://www.amazon.com/gp/product/1430219203?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=1430219203">Web Standards Solutions: The Markup and Style Handbook, Special Edition</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=1430219203" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
<p><a href="http://www.amazon.com/gp/product/0321509021?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0321509021">Bulletproof Web Design: Improving flexibility and protecting against worst-case scenarios with XHTML and CSS (2nd Edition)</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=0321509021" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> </p>
<p><a href="http://www.sitepoint.com/books/cssdesign1/?SID=82b54f50488243b44b6b9c7acb10731a">The Art &#038; Science Of CSS</a> &#8211; This is one of Sitepoint&#8217;s best CSS books. Loved it.</p>
<p><a href="http://www.sitepoint.com/books/css2/?SID=82b54f50488243b44b6b9c7acb10731a">HTML Utopia: Designing Without Tables Using CSS, 2nd Edition</a> &#8211; Not being a designer, I thought this book was a tremendous help in understanding how to better design sites.</p>
<p><a href="http://www.amazon.com/gp/product/1600330045?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=1600330045">Head First HTML with CSS &#038; XHTML</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=1600330045" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; This has been my goto book for some time. The Head First books are just so great at breaking down topics in easy to understand ways and this book is no exception.</p>
<p><a href="http://www.amazon.com/gp/product/0321687299?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0321687299">Introducing HTML5 (Voices That Matter)</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=0321687299" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; Going to get this soon mainly because it&#8217;s written by Remy Sharp and Bruce Lawson whom I respect tremendously, especially for their HTML5 &#038; CSS3 savvy.</p>
<p><a href="http://books.alistapart.com/product/html5-for-web-designers">HTML5 For Web Designers</a>  &#8211; Just got this on 7/19/10. Need to read it by it&#8217;s by Jeremy Keith and he rocks.</p>
<p><a href="http://www.amazon.com/gp/product/059615593X?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=059615593X">CSS Cookbook, 3rd Edition (Animal Guide)</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=059615593X" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; Just picked this up on a recommendation.</p>
<p><a href="http://www.amazon.com/gp/product/0596802447?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0596802447">CSS: The Missing Manual</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=0596802447" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; I keep hearing rave reviews about this book all over the place.</p>
<h3>Site Performance &#038; Enhancement</h3>
<p><a href="http://www.amazon.com/gp/product/0596529309?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0596529309">High Performance Web Sites: Essential Knowledge for Front-End Engineers</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=0596529309" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; Steve Souders is the performance guru and if you want your apps to perform better, get this book and the one right below this one.</p>
<p><a href="http://www.amazon.com/gp/product/0596522304?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0596522304">Even Faster Web Sites: Performance Best Practices for Web Developers</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=0596522304" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
<p><a href="http://www.amazon.com/gp/product/059680279X?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=059680279X">High Performance JavaScript (Build Faster Web Application Interfaces)</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=059680279X" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; Again, another great book by Nicholas Zakas which outlines very important performance techniques for JavaScript applications. </p>
<p><a href="http://www.amazon.com/gp/product/0321658884?ie=UTF8&#038;tag=rebasbl-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0321658884">Designing with Progressive Enhancement: Building the Web that Works for Everyone</a><img src="http://www.assoc-amazon.com/e/ir?t=rebasbl-20&#038;l=as2&#038;o=1&#038;a=0321658884" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> &#8211; Great book on progressive enhancement by the superstars at the Filament Group.</p>
<p>This is certainly not all inclusive and I&#8217;m sure there are other books out there that have been great. If you feel very passionate about a specific title, let me know via the comments and I&#8217;ll check it out.</p>


<p>Related posts:<ol><li><a href='http://blog.reybango.com/2010/04/29/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/' rel='bookmark' title='Permanent Link: The Big List of JavaScript, CSS, and HTML Development Tools, Libraries, Projects, and Books'>The Big List of JavaScript, CSS, and HTML Development Tools, Libraries, Projects, and Books</a> <small>NOTE: I&#8217;ve moved the list to it&#8217;s own dedicated page...</small></li>
<li><a href='http://blog.reybango.com/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/' rel='bookmark' title='Permanent Link: The Big List of JavaScript, CSS, and HTML Development Tools, Libraries, Projects, and Books'>The Big List of JavaScript, CSS, and HTML Development Tools, Libraries, Projects, and Books</a> <small>I&#8217;ve been meaning to do a roll-up of top JavaScript,...</small></li>
<li><a href='http://blog.reybango.com/2010/05/11/video-interviews-part-2-nicholas-zakas-principal-front-end-engineer-at-yahoo-on-jquery-performance-and-menno-van-slooten-on-his-automated-ui-testing-framework-for-jquery/' rel='bookmark' title='Permanent Link: Video Interviews Part 2 &#8211; Nicholas Zakas, Principal Front-end Engineer at Yahoo! on jQuery Performance and Menno van Slooten on his Automated UI Testing Framework for jQuery'>Video Interviews Part 2 &#8211; Nicholas Zakas, Principal Front-end Engineer at Yahoo! on jQuery Performance and Menno van Slooten on his Automated UI Testing Framework for jQuery</a> <small>I got some more videos edited and uploaded for you...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2010/07/20/the-essential-list-of-javascript-jquery-html-css-books-to-make-you-a-better-web-developer/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2010/07/20/the-essential-list-of-javascript-jquery-html-css-books-to-make-you-a-better-web-developer/</feedburner:origLink></item>
		<item>
		<title>jQuery JavaScript Templates Tutorial: Inline Expressions and Code Blocks</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/CzypYn3J_o4/</link>
		<comments>http://blog.reybango.com/2010/07/14/jquery-javascript-templates-tutorial-inline-expressions-and-code-blocks/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 12:14:37 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1065</guid>
		<description><![CDATA[So far in my series on jQuery JavaScript Templating, I&#8217;ve showed how to create a basic jQuery JavaScript template and then nest templates for increased layout flexibility and maintainability. If you haven&#8217;t read those two posts, I highly recommend you do so you can understand the concepts below. Now, let&#8217;s dive into two other techniques [...]


Related posts:<ol><li><a href='http://blog.reybango.com/2010/07/12/jquery-javascript-templates-tutorial-nesting-templates/' rel='bookmark' title='Permanent Link: jQuery JavaScript Templates Tutorial: Nesting Templates'>jQuery JavaScript Templates Tutorial: Nesting Templates</a> <small>In my last post, I presented an intro to how...</small></li>
<li><a href='http://blog.reybango.com/2010/07/09/not-using-jquery-javascript-templates-youre-really-missing-out/' rel='bookmark' title='Permanent Link: Not Using jQuery JavaScript Templates? You&#8217;re Really Missing Out.'>Not Using jQuery JavaScript Templates? You&#8217;re Really Missing Out.</a> <small>In preparation for my upcoming talk on jQuery Templates, I&#8217;ve...</small></li>
<li><a href='http://blog.reybango.com/2010/07/08/im-presenting-on-jquery-templates-at-thinkvitamins-jquery-online-conference/' rel='bookmark' title='Permanent Link: I&#8217;m Presenting on jQuery Templates at ThinkVitamin&#8217;s jQuery Online Conference'>I&#8217;m Presenting on jQuery Templates at ThinkVitamin&#8217;s jQuery Online Conference</a> <small>This coming Monday (7/12/2010), I&#8217;ll be one of the speakers...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>So far in my series on jQuery JavaScript Templating, I&#8217;ve showed how to <a href="http://blog.reybango.com/2010/07/09/not-using-jquery-javascript-templates-youre-really-missing-out/">create a basic jQuery JavaScript template</a> and then <a href="http://blog.reybango.com/2010/07/12/jquery-javascript-templates-tutorial-nesting-templates/">nest templates</a> for increased layout flexibility and maintainability. If you haven&#8217;t read those two posts, I highly recommend you do so you can understand the concepts below.</p>
<p>Now, let&#8217;s dive into two other techniques available in the <a href="http://github.com/nje/jquery-tmpl">Microsoft jQuery Templates plugin</a>; inline expressions and code blocks.</p>
<h2>Inline Expressions</h2>
<p>Being able to use a template to create a succinct layout is very powerful but without the ability to manipulate the data that&#8217;s being rendered, you&#8217;d probably find templates a lot less useful. That&#8217;s where inline expressions come in. Inline expressions allow you to use common JavaScript expressions to effect a change in the way your data is rendered. Using a slightly modified version of the data from my last tutorial, I can show you what I mean. Here&#8217;s the data:</p>
<pre class="brush: jscript;">
var clientData = [
     { first: &quot;Rey&quot;, last: &quot;Bango&quot;, age: 42, id: 1, phone: [ &quot;954-600-1234&quot;, &quot;954-355-5555&quot; ] },
     { first: &quot;Mark&quot;, last: &quot;Goldberg&quot;, age: 51, id: 2, phone: [&quot;954-600-1234&quot;, &quot;954-355-5555&quot;] },
     { first: &quot;Jen&quot;, last: &quot;Statford&quot;, age: &quot;25&quot;, id: 3, phone: [&quot;954-600-1234&quot;, &quot;954-355-5555&quot;] }
 ];
</pre>
<p>What I did was break out the <em>&#8220;name&#8221;</em> attribute into <em>&#8220;first&#8221;</em> and <em>&#8220;last&#8221;</em> name fields. Now, say I wanted to render the full name in my template. I would use the following <strong>inline expression</strong> to do so:</p>
<pre class="brush: jscript;">
&lt;script id=&quot;clientTemplate&quot; type=&quot;text/html&quot;&gt;
    &lt;p&gt;&lt;li&gt;${ first + &quot; &quot; + last }&lt;/li&gt;&lt;/p&gt;
&lt;/script&gt;
</pre>
<p>Which gives me the following result:</p>
<p><a href="http://blog.reybango.com/wp-content/uploads/2010/07/inline.png"><img src="http://blog.reybango.com/wp-content/uploads/2010/07/inline.png" alt="" title="inline" width="158" height="178" class="alignleft size-full wp-image-1067" /></a></p>
<p>Notice that I&#8217;m using the standard JavaScript &#8220;+&#8221; operator to concatenate the two data attributes together to form my final output. JavaScript developers should immediately be able to understand the code here and see how flexible this option is.</p>
<h2>Code Blocks</h2>
<p>Now, while inline expressions are certainly powerful, the ability to affect the data via code blocks is even more important because it allows you to specify conditional statements that can be used to determine what type of and when data will be represented. Let&#8217;s say that based on the age of a client, I want to show some text next to their name. I&#8217;ll use the following code block:</p>
<pre class="brush: jscript;">
{{if (age &gt; 30)}}veteran coder!{{else}}rising star!{{/if}}
</pre>
<p>This code block allows me to specify a conditional statement that allows me to create a nice descriptor based on the person&#8217;s age. The key is the &#8220;<em>{{if..else}}</em>&#8221; custom tag that&#8217;s been incorporated into the template plugin that allows you to specify conditional statements.</p>
<p>Here&#8217;s what the template would look like:</p>
<pre class="brush: jscript;">
&lt;script id=&quot;clientTemplate&quot; type=&quot;text/html&quot;&gt;
    &lt;p&gt;&lt;li&gt;${ first + &quot; &quot; + last + &quot; is a &quot; }{{if (age &gt; 30)}}veteran coder!{{else}}rising star!{{/if}}&lt;/li&gt; &lt;/p&gt;
&lt;/script&gt;
</pre>
<p>which generates the following results:</p>
<p><a href="http://blog.reybango.com/wp-content/uploads/2010/07/codeblock.png"><img src="http://blog.reybango.com/wp-content/uploads/2010/07/codeblock.png" alt="" title="codeblock" width="246" height="150" class="alignleft size-full wp-image-1074" /></a></p>
<p>And again, the cool thing is that the syntax for the expressions use standard JavaScript operators so I can do something like this as well:</p>
<pre class="brush: jscript;">
{{if (age &gt; 20 &amp;&amp; age &lt; 30 || age == 42)}}rising star!{{else}}veteran coder!{{/if}}
</pre>
<p>The thing to stress here is that using inline expressions and code blocks together can give you a tremendous amount of control over how you control you data. You have the flexibility you&#8217;d expect by using JavaScript but in a manner that is easily readable and maintainable.</p>
<p>Here&#8217;s the final code:</p>
<pre class="brush: jscript;">
&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
  &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
  &lt;meta name=&quot;robots&quot; content=&quot;noindex&quot; /&gt;
  &lt;title&gt;Template Test&lt;/title&gt;
  &lt;script src=&quot;http://code.jquery.com/jquery.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;jquery.tmpl.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
  &lt;script type=&quot;text/javascript&quot;&gt;
  $(document).ready(function() {

var clientData = [
     { first: &quot;Rey&quot;, last: &quot;Bango&quot;, age: 42, id: 1, phone: [ &quot;954-600-1234&quot;, &quot;954-355-5555&quot; ] },
     { first: &quot;Mark&quot;, last: &quot;Goldberg&quot;, age: 51, id: 2, phone: [&quot;954-600-1234&quot;, &quot;954-355-5555&quot;] },
     { first: &quot;Jen&quot;, last: &quot;Statford&quot;, age: &quot;25&quot;, id: 3, phone: [&quot;954-600-1234&quot;, &quot;954-355-5555&quot;] }
 ];

        $(&quot;#clientTemplate&quot;).tmpl(clientData).appendTo(&quot;div&quot;);

});
  &lt;/script&gt;

&lt;script id=&quot;clientTemplate&quot; type=&quot;text/html&quot;&gt;
    &lt;p&gt;&lt;li&gt;${ first + &quot; &quot; + last + &quot; is a &quot; }{{if (age &gt; 20 &amp;&amp; age &lt; 30 || age == 42)}}rising star!{{else}}veteran coder!{{/if}}&lt;/li&gt; &lt;/p&gt;
&lt;/script&gt;

&lt;/head&gt;

&lt;body&gt;

&lt;div&gt;&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre>


<p>Related posts:<ol><li><a href='http://blog.reybango.com/2010/07/12/jquery-javascript-templates-tutorial-nesting-templates/' rel='bookmark' title='Permanent Link: jQuery JavaScript Templates Tutorial: Nesting Templates'>jQuery JavaScript Templates Tutorial: Nesting Templates</a> <small>In my last post, I presented an intro to how...</small></li>
<li><a href='http://blog.reybango.com/2010/07/09/not-using-jquery-javascript-templates-youre-really-missing-out/' rel='bookmark' title='Permanent Link: Not Using jQuery JavaScript Templates? You&#8217;re Really Missing Out.'>Not Using jQuery JavaScript Templates? You&#8217;re Really Missing Out.</a> <small>In preparation for my upcoming talk on jQuery Templates, I&#8217;ve...</small></li>
<li><a href='http://blog.reybango.com/2010/07/08/im-presenting-on-jquery-templates-at-thinkvitamins-jquery-online-conference/' rel='bookmark' title='Permanent Link: I&#8217;m Presenting on jQuery Templates at ThinkVitamin&#8217;s jQuery Online Conference'>I&#8217;m Presenting on jQuery Templates at ThinkVitamin&#8217;s jQuery Online Conference</a> <small>This coming Monday (7/12/2010), I&#8217;ll be one of the speakers...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2010/07/14/jquery-javascript-templates-tutorial-inline-expressions-and-code-blocks/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2010/07/14/jquery-javascript-templates-tutorial-inline-expressions-and-code-blocks/</feedburner:origLink></item>
		<item>
		<title>The Source Code for my Twitter Demo from the Think Vitamin jQuery Online Conference Templating Presentation</title>
		<link>http://feedproxy.google.com/~r/reybango/zSyW/~3/D698te6UhCw/</link>
		<comments>http://blog.reybango.com/2010/07/12/the-source-code-for-my-twitter-demo-from-the-think-vitamin-jquery-online-conference-templating-presentation/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 18:42:53 +0000</pubDate>
		<dc:creator>Rey Bango</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://blog.reybango.com/?p=1055</guid>
		<description><![CDATA[I just finished my presentation at Think Vitamin’s jQuery Online Conference and it was such a great experience. This is the first BIG virtual conference I&#8217;ve presented at and it ran smooth as silk. I really have to hand it to the Carsonified team; they have their act together. The big takeaways: Online conferences rock! [...]


Related posts:<ol><li><a href='http://blog.reybango.com/2010/07/08/im-presenting-on-jquery-templates-at-thinkvitamins-jquery-online-conference/' rel='bookmark' title='Permanent Link: I&#8217;m Presenting on jQuery Templates at ThinkVitamin&#8217;s jQuery Online Conference'>I&#8217;m Presenting on jQuery Templates at ThinkVitamin&#8217;s jQuery Online Conference</a> <small>This coming Monday (7/12/2010), I&#8217;ll be one of the speakers...</small></li>
<li><a href='http://blog.reybango.com/2010/05/11/video-interviews-part-2-nicholas-zakas-principal-front-end-engineer-at-yahoo-on-jquery-performance-and-menno-van-slooten-on-his-automated-ui-testing-framework-for-jquery/' rel='bookmark' title='Permanent Link: Video Interviews Part 2 &#8211; Nicholas Zakas, Principal Front-end Engineer at Yahoo! on jQuery Performance and Menno van Slooten on his Automated UI Testing Framework for jQuery'>Video Interviews Part 2 &#8211; Nicholas Zakas, Principal Front-end Engineer at Yahoo! on jQuery Performance and Menno van Slooten on his Automated UI Testing Framework for jQuery</a> <small>I got some more videos edited and uploaded for you...</small></li>
<li><a href='http://blog.reybango.com/2010/06/22/jquery-fundamentals-training-material-available-as-open-source/' rel='bookmark' title='Permanent Link: jQuery Fundamentals Training Material Available as Open Source'>jQuery Fundamentals Training Material Available as Open Source</a> <small>In an incredibly generous move, jQuery star Rebecca Murphey has...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I just finished my presentation at <a href="http://carsonified.com/online-conferences/jquery/">Think Vitamin’s jQuery Online Conference</a> and it was such a great experience. This is the first BIG virtual conference I&#8217;ve presented at and it ran smooth as silk. I really have to hand it to the Carsonified team; they have their act together. <img src='http://blog.reybango.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The big takeaways:</p>
<ul>
<li>Online conferences rock! No travel == less expenses.</li>
<li>The technology is good enough to be able to do this and WebEx is awesome.</li>
<li>Carsonified&#8217;s got this down. While some tech problems are expected, they&#8217;ve really got the process working well.</li>
</ul>
<p>The only downside, from a speaker perspective, is that you really can&#8217;t see how your audience is reacting. That&#8217;s tough because sometimes, you&#8217;re able to adjust according to your audience&#8217;s feedback. If there&#8217;s dead silence, you know you need to bring them back. If they&#8217;re engaged, you know you&#8217;re on track. In a virtual conference, you can&#8217;t gauge that so it&#8217;s tough.</p>
<p>Lots of folks have asked for the code for the Twitter demo that I did. You can now download that below:</p>
<p><a href="http://reybango.com/twitter/twitter.zip">Download the Twitter Demo Source</a></p>
<p>I want to thank everyone for attending and for the kind words. I really appreciate it. I also want to thank <a href="http://carsonified.com/">Carsonified</a> for giving me the opportunity to speak at a great event. </p>


<p>Related posts:<ol><li><a href='http://blog.reybango.com/2010/07/08/im-presenting-on-jquery-templates-at-thinkvitamins-jquery-online-conference/' rel='bookmark' title='Permanent Link: I&#8217;m Presenting on jQuery Templates at ThinkVitamin&#8217;s jQuery Online Conference'>I&#8217;m Presenting on jQuery Templates at ThinkVitamin&#8217;s jQuery Online Conference</a> <small>This coming Monday (7/12/2010), I&#8217;ll be one of the speakers...</small></li>
<li><a href='http://blog.reybango.com/2010/05/11/video-interviews-part-2-nicholas-zakas-principal-front-end-engineer-at-yahoo-on-jquery-performance-and-menno-van-slooten-on-his-automated-ui-testing-framework-for-jquery/' rel='bookmark' title='Permanent Link: Video Interviews Part 2 &#8211; Nicholas Zakas, Principal Front-end Engineer at Yahoo! on jQuery Performance and Menno van Slooten on his Automated UI Testing Framework for jQuery'>Video Interviews Part 2 &#8211; Nicholas Zakas, Principal Front-end Engineer at Yahoo! on jQuery Performance and Menno van Slooten on his Automated UI Testing Framework for jQuery</a> <small>I got some more videos edited and uploaded for you...</small></li>
<li><a href='http://blog.reybango.com/2010/06/22/jquery-fundamentals-training-material-available-as-open-source/' rel='bookmark' title='Permanent Link: jQuery Fundamentals Training Material Available as Open Source'>jQuery Fundamentals Training Material Available as Open Source</a> <small>In an incredibly generous move, jQuery star Rebecca Murphey has...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.reybango.com/2010/07/12/the-source-code-for-my-twitter-demo-from-the-think-vitamin-jquery-online-conference-templating-presentation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.reybango.com/2010/07/12/the-source-code-for-my-twitter-demo-from-the-think-vitamin-jquery-online-conference-templating-presentation/</feedburner:origLink></item>
	</channel>
</rss><!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
