<?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 17:29:18 GMT</pubDate><item><title>How to Add a Derby Database with DerbyCFC</title><link>http://samfarmer.instantspot.com/blog/2008/02/13/How-to-Add-a-Derby-Database-with-DerbyCFC</link><description>&lt;p&gt;Two simple lines to add a Derby database with &lt;a href=&quot;http://derbycfc.riaforge.org/&quot;&gt;DerbyCFC&lt;/a&gt;: &lt;div class=&quot;code&quot; &gt;&lt;pre&gt;&amp;lt;cfset variables.derbyCFC = createObject(&amp;quot;component&amp;quot;,&amp;quot;derbyCFC&amp;quot;).init(adminPassword)&amp;gt; &amp;lt;cfset variables.success = variables.derbyCFC.createIfNotExists(name)&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt; &lt;p&gt;That will add a database with a datasource of the same name.  The createIfNotExists function also takes in all the other potential settings for a datasource (select, insert, grant, etc).  I made some small changes to the code base to make the creation possible in two lines and with this comes &lt;a href=&quot;http://derbycfc.riaforge.org/&quot;&gt;version 1 of DerbyCFC&lt;/a&gt;.  I hope it proves useful for open source projects, let me know if you use it and if you have any suggestions.&lt;/p&gt; &lt;p&gt;It has been a fun little project to work on and interesting to delve a little more into the AdminAPI.  Lots of good stuff in there.&lt;/p&gt;</description><pubDate>Wed, 13 Feb 2008 13:00:00 GMT</pubDate><guid>http://samfarmer.instantspot.com/blog/2008/02/13/How-to-Add-a-Derby-Database-with-DerbyCFC</guid><category>ColdFusion,DerbyCFC</category></item><item><title>DerbyCFC: New Project with createIfNotExists function for Derby Databases</title><link>http://samfarmer.instantspot.com/blog/2008/01/20/DerbyCFC-New-Project-with-createIfNotExists-function-for-Derby-Databases</link><description>&lt;p&gt;I&apos;ve just released version 0.9 of &lt;a href=&quot;http://derbycfc.riaforge.org/&quot;&gt;DerbyCFC&lt;/a&gt; on &lt;a href=&quot;http://www.riaforge.org/&quot;&gt;RIAForge&lt;/a&gt; which is designed to make it easier to work with the Derby database embedded in ColdFusion 8.&lt;/p&gt; &lt;p&gt;DerbyCFC comes with two functions; createIfNotExists which does pretty much what it says and will create a new Derby datasource and database.  getDerbyDatasources returns all Derby datasources in either raw format (a collection of structures) or as a query with a slightly smaller set of attributes.&lt;/p&gt; &lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;http://derbycfc.riaforge.org/screenshots/createIfNotExists.png&quot; /&gt;&lt;/p&gt; &lt;p&gt;The download zip includes example pages for creating a datasource and listing of current datasources.  Go to the &lt;a href=&quot;http://derbycfc.riaforge.org/&quot;&gt;DerbyCFC project page&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;I&apos;m debating whether to extend this to provide a UI that would list and edit tables in a Derby database so let me know your thoughts.  My hope is that this will make it easier to create Derby databases for other open source projects.&lt;/p&gt;</description><pubDate>Sun, 20 Jan 2008 23:21:00 GMT</pubDate><guid>http://samfarmer.instantspot.com/blog/2008/01/20/DerbyCFC-New-Project-with-createIfNotExists-function-for-Derby-Databases</guid><category>ColdFusion 8,DerbyCFC</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>