<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>RSS feed for InstantSpot site Sam Farmer&apos;s ColdFusion Blog</title><link>http://samfarmer.instantspot.com</link><description>Tips and thoughs on ColdFusion and other technologies that make the web go...</description><language>en-us</language><copyright>This work is Copyright &#xA9; 2009 by Sam Farmer&apos;s ColdFusion Blog</copyright><generator>RSSVille ColdFusion FeedMaker, version 1.0</generator><pubDate>Sat, 21 Nov 2009 08:27:08 GMT</pubDate><item><title>Using a table as a data source makes Spry easy</title><link>http://samfarmer.instantspot.com/blog/2007/05/02/Using-a-table-as-a-data-source-makes-Spry-easy</link><description>&lt;p&gt;  As you may know &lt;a href=&quot;http://labs.adobe.com/technologies/spry/&quot; target=&quot;_blank&quot;&gt;Spry&lt;/a&gt;  is a JavaScript library developed by Adobe and provides functionality for some extremely cool JavaScript interfaces.&amp;nbsp; For data sets it easily allows you to implement paganation, filtering and sorting, over at RIAForge the &lt;a href=&quot;http://www.riaforge.org/index.cfm?event=page.search&quot; target=&quot;_blank&quot;&gt;search page&lt;/a&gt;  is powered by Spry and is one of the best examples I have seen.  &lt;/p&gt;  &lt;p&gt;  Up until &lt;a href=&quot;http://labs.adobe.com/technologies/spry/preview/&quot; target=&quot;_blank&quot;&gt;version 1.5 Spry&lt;/a&gt;  needed data in XML format.&amp;nbsp; 1.5, adds JSON and, more interestingly the ability to load a dataset from an HTML table.&amp;nbsp; &lt;a href=&quot;http://labs.adobe.com/technologies/spry/preview/samples/htmldataset/InternalTableAsSourceSample.html&quot; target=&quot;_blank&quot;&gt;Read the technical details here&lt;/a&gt;.&amp;nbsp; Now, I can output a query in XML format or JSON but the ratio of XML or JSON I&amp;#39;ve written to HTML tables is probably 1 to 1,000 or even 10,000.&amp;nbsp; I know more shortcuts for writing a query in a table for instance, I&amp;#39;m more comfortable using cfoutput and the group attribute with a table.&amp;nbsp; Now, there may be good reasons to use XML or JSON if the data is shared with a webservice, etc but overall I like the simplicity that comes with using a table for the data source.&lt;br /&gt;  &lt;/p&gt;  &lt;p&gt;  Another advantage of using a HTML table is that Spry can start processing the data when the page loads.&amp;nbsp; With XML and JSON Spry makes a new request via AJAX to the server to get the data which, depending on connection speeds, means the page can appear to pause.   &lt;/p&gt;  </description><pubDate>Wed, 02 May 2007 12:26:46 GMT</pubDate><guid>http://samfarmer.instantspot.com/blog/2007/05/02/Using-a-table-as-a-data-source-makes-Spry-easy</guid><category>Spry</category></item><item><title>The First Post</title><link>http://samfarmer.instantspot.com/blog/2007/04/01/The-First-Post</link><description>&lt;p&gt;  The first post.  I&amp;#39;ve decided to start a blog primarily because I like writing.  And having been a programmer for the last 10 years I haven&amp;#39;t written much during that time.  I also realize I like writing about technical issues and have a fair amount on my mind at the moment so it seems like a good time to start a blog.  Note, I did not say I was a grammatically correct writer.  So, expect the odd typo and grammatically incorrect sentence from time to time.  This is a blog and I&amp;#39;m not going to use the grammar corrector in Word before posting.    &lt;/p&gt;  &lt;p&gt;  I am also intrigued by social networking so InstantSpot seemed a good spot (pun intended) to start my blog.  &lt;/p&gt;  &lt;p&gt;  I aim to cover a bunch of topics, some tutorials and explanations of basic ColdFusion functionality, thoughts on the future of the web and ColdFusion, conferences, and anything else that comes up.  I will mostly be focusing on ColdFusion (and will probably start using cf as an abbreviation real soon) though I do hope to post on other non-cf topics like JavaScript, MySQL and databases in general and who knows what else in the future.  &lt;/p&gt;  &lt;p&gt;  I am not going to aim to publish on a regular basis and have pledged to keep this blog a purely non-work time activity.  I&amp;#39;m busy enough there anyway.  Good busy.  I also don&amp;#39;t believe blogs die.  So if I have nothing good or interesting to say I will say nothing.  I also don&amp;#39;t think this will turn into a news blog with short entries and links to the latest news.  There are enough of those, and, I rely on them for my tech-news as much as anywhere else.  In short, if you like what you are reading I suggest using the RSS feeds or subscribing over email.  &lt;/p&gt;  &lt;p&gt;  More to come...  &lt;/p&gt;  </description><pubDate>Sun, 01 Apr 2007 18:59:53 GMT</pubDate><guid>http://samfarmer.instantspot.com/blog/2007/04/01/The-First-Post</guid><category>Me</category></item></channel></rss>