<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	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/"
	>

<channel>
	<title>coldfusion &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/coldfusion/</link>
	<description>Feed of posts on WordPress.com tagged "coldfusion"</description>
	<pubDate>Tue, 01 Dec 2009 23:26:01 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[More fun with regular expressions]]></title>
<link>http://blog.flexuous.com/2009/12/01/more-regular-expressions/</link>
<pubDate>Tue, 01 Dec 2009 21:32:03 +0000</pubDate>
<dc:creator>justinohms</dc:creator>
<guid>http://blog.flexuous.com/2009/12/01/more-regular-expressions/</guid>
<description><![CDATA[I ( like many programmers I know) get just a little befuddled when trying to use regular expressions]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I ( like many programmers I know) get just a little befuddled when trying to use regular expressions.  Over the years I&#8217;ve used numerous online RE parsers to test code.   Recently  I found a small RE parser that I have absolutely love called &#8220;The Regex Coach&#8221;.</p>
<p>This little gem of a program  is great.  (As a bonus it is  free for both commercial and non-commercial uses.) Unlike other RE testers that I&#8217;ve used over the years, this one lets you actually step thru the parsing sequence and also see the execution tree of the RE.  These are very handy.  I find I am able to get to a functional RE statement in about a 1/4 the time as before.   You can get &#8220;The Regex Coach&#8221; from here.  <a href="http://weitz.de/regex-coach/" target="_blank">http://weitz.de/regex-coach/</a></p>
<p>As a little bonus&#8230; here is a little gem of an RE statement (for field validation) for a field that must contain no value <strong><em>or</em></strong> one or more three digit numbers separated by commas.<code><br />
(^(\d{3})(\,\d{3})*$)&#124;(^$)<br />
</code></p>
<p>so in JavaScript the RE literal would be<code><br />
/(^(\d{3})(\,\d{3})*$)&#124;(^$)/<br />
</code></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Sexy?]]></title>
<link>http://nukleos.wordpress.com/2009/12/01/sexy/</link>
<pubDate>Tue, 01 Dec 2009 20:13:36 +0000</pubDate>
<dc:creator>wout</dc:creator>
<guid>http://nukleos.wordpress.com/2009/12/01/sexy/</guid>
<description><![CDATA[ReadWriteWeb discusses Squad, writing: &#8220;Sounds sexy indeed! Like a developers-only, less-crowd]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://www.readwriteweb.com/archives/squad-real-time-code-editor.php" target="_out">ReadWriteWeb discusses Squad</a>, writing: &#8220;<em>Sounds sexy indeed! Like a developers-only, less-crowded, actually useful version of Google Wave</em>&#8220;. Having just started to try out Google Wave, I&#8217;m not exactly ideally placed to comment on Wave, but I&#8217;m inclined to give Wave a thumbs-up. So the words &#8220;actually useful&#8221; seem misguided to me; I can see a lot of practical use for Google Wave, even for developers&#8230;</p>
<p>By the way: you can use Squad to edit ColdFusion code &#8211; after all, that looks a lot like HTML, isn&#8217;t it?</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Colorbox and jQuery form plugin for attractive interfaces]]></title>
<link>http://kisdigital.wordpress.com/2009/11/30/colorbox-and-jquery-form-plugin-for-attractive-interfaces/</link>
<pubDate>Mon, 30 Nov 2009 07:06:41 +0000</pubDate>
<dc:creator>Robert Shane Zehnder</dc:creator>
<guid>http://kisdigital.wordpress.com/2009/11/30/colorbox-and-jquery-form-plugin-for-attractive-interfaces/</guid>
<description><![CDATA[Lately it seems like it is becoming harder to program an effective user interface without the use of]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Lately it seems like it is becoming harder to program an effective user interface without the use of javascript.  I for one must admit I have drank the jQuery kool-aide.  I was working on a site for a client and needed a way for the users to change their password.  The site in question also makes extensive use of the Colorbox jQuery plugin and I know that Colorbox can display inline HTML so I thought this would be a good chance to check it out.  It will be aesthetically pleasing and it would be one less page I would have to write, I could just add the code to my current member page.</p>
<p><!--more-->First after including the appropriate scripts we just need to setup some basic HTML and write the jQuery code to control it all.</p>
<pre>
<div id="_mcePaste">Some content&#60;br /&#62;</div>
<div id="_mcePaste">&#60;a href="#"&#62;show box&#60;/a&#62;</div>
<div id="_mcePaste">&#60;div style="visibility: hidden;"&#62;</div>
<div id="_mcePaste">    &#60;div id='password_change' style="padding:10px; background:#fff;"&#62;</div>
<div id="_mcePaste">      &#60;strong&#62;Change your password&#60;/strong&#62;&#60;br /&#62;&#60;br /&#62;</div>
<div id="_mcePaste">      &#60;form id="password_reset" action="ajaxProxy.cfc" method="post"&#62;</div>
<div id="_mcePaste">      &#60;input type="hidden" name="Method" value="updatePassword"  /&#62;</div>
<div id="_mcePaste">      Password: &#60;br /&#62;</div>
<div id="_mcePaste">      &#60;input type="password" name="password1" /&#62;</div>
<div id="_mcePaste">      &#60;br /&#62;</div>
<div id="_mcePaste">      &#60;br /&#62;</div>
<div id="_mcePaste">      Verify Password: &#60;br /&#62;</div>
<div id="_mcePaste">      &#60;input type="password" name="password2" /&#62;</div>
<div id="_mcePaste">      &#60;br /&#62;</div>
<div id="_mcePaste">      &#60;input type="submit" value="Update"	 /&#62;</div>
<div id="_mcePaste">      &#60;/form&#62;</div>
<div id="_mcePaste">      &#60;div id="formStatus"&#62;&#60;/div&#62;</div>
<div id="_mcePaste">    &#60;/div&#62;</div>
<div id="_mcePaste">&#60;/div&#62;</div>
<div id="_mcePaste">&#60;script type="text/javascript"&#62;</div>
<div id="_mcePaste">  $(document).ready(function(){</div>
<div id="_mcePaste">    $('#password_reset').ajaxForm({</div>
<div id="_mcePaste">      success: showResponse,</div>
<div id="_mcePaste">      clearForm: 'true'</div>
<div id="_mcePaste">    });</div>
<div id="_mcePaste">    function showResponse(responseText, statusText)  {</div>
<div id="_mcePaste">      $('#password_reset').hide();</div>
<div id="_mcePaste">      $('#formStatus').html(responseText);</div>
<div id="_mcePaste">    };</div>
<div id="_mcePaste">    $().bind('cbox_open', function(){</div>
<div id="_mcePaste">      $('#password_reset').show();</div>
<div id="_mcePaste">      $('#formStatus').html('');</div>
<div id="_mcePaste">    });</div>
<div id="_mcePaste">    $(".inline").colorbox({width:"300px", height:"250px", inline:true, href:"#password_change"});</div>
<div id="_mcePaste">  });</div>

&#60;/script&#62;</pre>
<p><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:13px;">That is basically all that is required.  The inline content that will be displayed in Colorbox is in the hidden div.  Basically the jQuery block is setting it up to post the form as an ajax form (using the jQuery form plugin).  The only thing out of the ordinary going on here is binding to the Colorbox open event.   I did this because the form may or may not be displayed.  If the user has tried to set the password before he will only see a message letting him know whether the password was changed or not.  I am just forcing the form to display when the box is opened.</span></p>
<p><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;"><span style="line-height:19px;white-space:normal;font-size:x-small;"><span style="font-size:small;">Here is the code for &#8220;verifying&#8221; the password:</span></span></span></p>
<pre>&#60;cfcomponent output="no"&#62;
  &#60;cffunction name="updatePassword" access="remote" output="no" returntype="string" returnformat="plain"&#62;

    &#60;cfset var ret = "" /&#62;
    &#60;cfscript&#62;
       if(password1 is password2){
	ret = 'Password updated.';
       } else {
	ret = 'Passwords did not match';
       }

      return ret;
    &#60;/cfscript&#62;

  &#60;/cffunction&#62;
&#60;/cfcomponent&#62;</pre>
<p>If you would like to see it in action you can find it here: <a href="http://www.kisdigital.com/tests/colorbox" target="_blank">http://www.kisdigital.com/tests/colorbox/</a></p>
<p>Uses <a href="http://colorpowered.com/colorbox/" target="_blank">Colorbox</a> and <a href="http://www.malsup.com/jquery/form/" target="_blank">jQuery form plugin</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[iText and CFMX]]></title>
<link>http://webpointz.wordpress.com/2009/11/29/itext-and-cfmx/</link>
<pubDate>Sun, 29 Nov 2009 17:33:11 +0000</pubDate>
<dc:creator>webpointz</dc:creator>
<guid>http://webpointz.wordpress.com/2009/11/29/itext-and-cfmx/</guid>
<description><![CDATA[iText is the &#8220;background&#8221; engine driving PDF creation and modification for CF. The API f]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>iText is the &#8220;background&#8221; engine driving PDF creation and modification for CF.</p>
<p>The API for iText is entirely JAVA, but the flexibility it provides goes much deeper than tags such as CFDOCUMENT and CFPDF.<br />
Check back here for articles on how to create, update and manipulate PDF&#8217;s directly with the API as well as other advanced techniques such as reading and validating Digital Certificates using BouncyCastle and Sun JAVA classes.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[YouTube - FusionDebug Introduction (with...]]></title>
<link>http://robertleemyers.com/2009/11/29/youtube-fusiondebug-introduction-with/</link>
<pubDate>Sun, 29 Nov 2009 14:29:11 +0000</pubDate>
<dc:creator>Robert</dc:creator>
<guid>http://robertleemyers.com/2009/11/29/youtube-fusiondebug-introduction-with/</guid>
<description><![CDATA[YouTube &#8211; FusionDebug Introduction (with Railo) &#8211; Part 1 of 6 http://bit.ly/8bNDXo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>YouTube &#8211; FusionDebug Introduction (with Railo) &#8211; Part 1 of 6 http://bit.ly/8bNDXo</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[ColdFusion on Wheels | Google Groups htt...]]></title>
<link>http://robertleemyers.com/2009/11/28/coldfusion-on-wheels-google-groups-htt/</link>
<pubDate>Sat, 28 Nov 2009 13:26:37 +0000</pubDate>
<dc:creator>Robert</dc:creator>
<guid>http://robertleemyers.com/2009/11/28/coldfusion-on-wheels-google-groups-htt/</guid>
<description><![CDATA[ColdFusion on Wheels | Google Groups http://bit.ly/57s0kQ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>ColdFusion on Wheels &#124; Google Groups http://bit.ly/57s0kQ</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[CFWheels Documentation Search http://bit...]]></title>
<link>http://robertleemyers.com/2009/11/27/cfwheels-documentation-search-httpbit/</link>
<pubDate>Sat, 28 Nov 2009 01:16:26 +0000</pubDate>
<dc:creator>Robert</dc:creator>
<guid>http://robertleemyers.com/2009/11/27/cfwheels-documentation-search-httpbit/</guid>
<description><![CDATA[CFWheels Documentation Search http://bit.ly/6ARRYF]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>CFWheels Documentation Search http://bit.ly/6ARRYF</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Using Git with CFML http://bit.ly/4zmVHt]]></title>
<link>http://robertleemyers.com/2009/11/27/using-git-with-cfml-httpbit-ly4zmvht/</link>
<pubDate>Fri, 27 Nov 2009 18:20:43 +0000</pubDate>
<dc:creator>Robert</dc:creator>
<guid>http://robertleemyers.com/2009/11/27/using-git-with-cfml-httpbit-ly4zmvht/</guid>
<description><![CDATA[Using Git with CFML http://bit.ly/4zmVHt]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Using Git with CFML http://bit.ly/4zmVHt</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[ColdFusion Survey http://bit.ly/5RlVgI]]></title>
<link>http://robertleemyers.com/2009/11/25/coldfusion-survey-httpbit-ly5rlvgi/</link>
<pubDate>Thu, 26 Nov 2009 00:13:02 +0000</pubDate>
<dc:creator>Robert</dc:creator>
<guid>http://robertleemyers.com/2009/11/25/coldfusion-survey-httpbit-ly5rlvgi/</guid>
<description><![CDATA[ColdFusion Survey http://bit.ly/5RlVgI]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>ColdFusion Survey http://bit.ly/5RlVgI</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[CF Code Highlighter in ColdFusion http:/...]]></title>
<link>http://robertleemyers.com/2009/11/25/cf-code-highlighter-in-coldfusion-http/</link>
<pubDate>Wed, 25 Nov 2009 15:26:32 +0000</pubDate>
<dc:creator>Robert</dc:creator>
<guid>http://robertleemyers.com/2009/11/25/cf-code-highlighter-in-coldfusion-http/</guid>
<description><![CDATA[CF Code Highlighter in ColdFusion http://bit.ly/5soOtZ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>CF Code Highlighter in ColdFusion http://bit.ly/5soOtZ</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Retrieving ColdFusion memory usage]]></title>
<link>http://misterdai.wordpress.com/2009/11/25/retrieving-coldfusion-memory-usage/</link>
<pubDate>Wed, 25 Nov 2009 15:25:56 +0000</pubDate>
<dc:creator>misterdai</dc:creator>
<guid>http://misterdai.wordpress.com/2009/11/25/retrieving-coldfusion-memory-usage/</guid>
<description><![CDATA[How much memory is ColdFusion actually using? Well you could look at the jrun.exe process in task ma]]></description>
<content:encoded><![CDATA[How much memory is ColdFusion actually using? Well you could look at the jrun.exe process in task ma]]></content:encoded>
</item>
<item>
<title><![CDATA[CF Code Highlighter in ColdFusion]]></title>
<link>http://misterdai.wordpress.com/2009/11/25/cf-code-highlighter-in-coldfusion/</link>
<pubDate>Wed, 25 Nov 2009 12:43:09 +0000</pubDate>
<dc:creator>misterdai</dc:creator>
<guid>http://misterdai.wordpress.com/2009/11/25/cf-code-highlighter-in-coldfusion/</guid>
<description><![CDATA[Ever wanted to highlight some ColdFusion code? Well since at least CF7, ColdFusion can do the job fo]]></description>
<content:encoded><![CDATA[Ever wanted to highlight some ColdFusion code? Well since at least CF7, ColdFusion can do the job fo]]></content:encoded>
</item>
<item>
<title><![CDATA[Extending ColdFusion Builder @ Adobe TV ...]]></title>
<link>http://robertleemyers.com/2009/11/24/extending-coldfusion-builder-adobe-tv-2/</link>
<pubDate>Tue, 24 Nov 2009 17:33:48 +0000</pubDate>
<dc:creator>Robert</dc:creator>
<guid>http://robertleemyers.com/2009/11/24/extending-coldfusion-builder-adobe-tv-2/</guid>
<description><![CDATA[Extending ColdFusion Builder @ Adobe TV http://bit.ly/1mtMRl]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Extending ColdFusion Builder @ Adobe TV http://bit.ly/1mtMRl</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Setting Up a Riaforge Project with Git a...]]></title>
<link>http://robertleemyers.com/2009/11/24/setting-up-a-riaforge-project-with-git-a-2/</link>
<pubDate>Tue, 24 Nov 2009 17:31:39 +0000</pubDate>
<dc:creator>Robert</dc:creator>
<guid>http://robertleemyers.com/2009/11/24/setting-up-a-riaforge-project-with-git-a-2/</guid>
<description><![CDATA[Setting Up a Riaforge Project with Git and Github (4 parts) Part 1: http://bit.ly/JUFCG]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Setting Up a Riaforge Project with Git and Github (4 parts) Part 1: http://bit.ly/JUFCG</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[ColdFusion + Rails = ColdFusion on Wheel...]]></title>
<link>http://robertleemyers.com/2009/11/24/coldfusion-rails-coldfusion-on-wheel/</link>
<pubDate>Tue, 24 Nov 2009 15:21:25 +0000</pubDate>
<dc:creator>Robert</dc:creator>
<guid>http://robertleemyers.com/2009/11/24/coldfusion-rails-coldfusion-on-wheel/</guid>
<description><![CDATA[ColdFusion + Rails = ColdFusion on Wheels Framework http://bit.ly/qQN62]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>ColdFusion + Rails = ColdFusion on Wheels Framework http://bit.ly/qQN62</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Evaluating Implicit Struct and Array Creation]]></title>
<link>http://misterdai.wordpress.com/2009/11/24/evaluating-implicit-struct-and-array-creation/</link>
<pubDate>Tue, 24 Nov 2009 12:04:27 +0000</pubDate>
<dc:creator>misterdai</dc:creator>
<guid>http://misterdai.wordpress.com/2009/11/24/evaluating-implicit-struct-and-array-creation/</guid>
<description><![CDATA[Since ColdFusion 8 (8.0.1 for nested awesomeness) and Railo some-version-or-other, we&#8217;ve been ]]></description>
<content:encoded><![CDATA[Since ColdFusion 8 (8.0.1 for nested awesomeness) and Railo some-version-or-other, we&#8217;ve been ]]></content:encoded>
</item>
<item>
<title><![CDATA[cfautosuggest is cool]]></title>
<link>http://ppshein.wordpress.com/2009/11/24/cfautosuggest-is-cool/</link>
<pubDate>Tue, 24 Nov 2009 07:28:11 +0000</pubDate>
<dc:creator>ppshein</dc:creator>
<guid>http://ppshein.wordpress.com/2009/11/24/cfautosuggest-is-cool/</guid>
<description><![CDATA[I was crazy over GMail when I saw auto suggest function. That&#8217;s why I&#8217;ve used that featu]]></description>
<content:encoded><![CDATA[I was crazy over GMail when I saw auto suggest function. That&#8217;s why I&#8217;ve used that featu]]></content:encoded>
</item>
<item>
<title><![CDATA[Learning ColdFusion as a Service http://...]]></title>
<link>http://robertleemyers.com/2009/11/23/learning-coldfusion-as-a-service-http/</link>
<pubDate>Tue, 24 Nov 2009 04:50:49 +0000</pubDate>
<dc:creator>Robert</dc:creator>
<guid>http://robertleemyers.com/2009/11/23/learning-coldfusion-as-a-service-http/</guid>
<description><![CDATA[Learning ColdFusion as a Service http://bit.ly/8luISH]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Learning ColdFusion as a Service http://bit.ly/8luISH</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Where the hell is word wrap in ColdFusion Builder?]]></title>
<link>http://funketyme.wordpress.com/2009/11/23/where-is-word-wrap-in-coldfusion-builder/</link>
<pubDate>Mon, 23 Nov 2009 22:38:08 +0000</pubDate>
<dc:creator>funketyme</dc:creator>
<guid>http://funketyme.wordpress.com/2009/11/23/where-is-word-wrap-in-coldfusion-builder/</guid>
<description><![CDATA[I’m a big fan of ColdFusion Builder.  However, like most Eclipse-based GUIs, it can difficult to fin]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I’m a big fan of ColdFusion Builder.  However, like most Eclipse-based GUIs, it can difficult to find the settings you’re looking for.  For those of you who are convinced there is no word wrap feature in CF Builder, here’s the information you’re looking for:</p>
<p>Preferences &#62; HTML &#62; Editors &#62; Advanced tab &#62; Enable word wrap</p>
<p><a href="http://funketyme.files.wordpress.com/2009/11/wordwrap.gif"><img style="display:inline;border:0;" title="wordwrap" src="http://funketyme.files.wordpress.com/2009/11/wordwrap_thumb.gif?w=244&#038;h=152" border="0" alt="wordwrap" width="244" height="152" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[CFWINDOW tricks]]></title>
<link>http://cfdoctor.wordpress.com/2009/11/23/cfwindow-tricks/</link>
<pubDate>Mon, 23 Nov 2009 19:39:27 +0000</pubDate>
<dc:creator>cfdoctor</dc:creator>
<guid>http://cfdoctor.wordpress.com/2009/11/23/cfwindow-tricks/</guid>
<description><![CDATA[CFWINDOW is a great tag available originally with ColdFusion 8. It provides similar functionality to]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>CFWINDOW is a great tag available originally with ColdFusion 8. It provides similar functionality to the CFPOD tag with a bit more flexibility in positioning and UI controls. </p>
<p>I recently ran into an issue on a newly launched Staging server while testing the modal display of a CFWINDOW. For some reason, instead of getting the modal window, all you would see is the text and graphics of that window inline with the rest of the content. After spenging way too much time troubleshooting we stumbled on the problem when we moved the functionality off to another testing server.</p>
<p>Basically what was happening was permissions to the CFIDE/scripts folder was blocked on the new Staging server. When this happens the client no longer has access to the javascript necessary to display the modal window properly in its default implementation. The trick? Use the CFAJAXIMPORT function:</p>
<p>This opens up access to the scripts and allows the modal to display normally on a locked down CF install. This same fix can be utilized to enable any Ajax type functionality in CF. This import tag also allows the use of a specific path to the custom tag folder if one is required.</p>
<p>Cheers,<br />
Alex Kersha</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[ColdFusion9 and scripted components and ...]]></title>
<link>http://robertleemyers.com/2009/11/23/coldfusion9-and-scripted-components-and/</link>
<pubDate>Mon, 23 Nov 2009 19:04:36 +0000</pubDate>
<dc:creator>Robert</dc:creator>
<guid>http://robertleemyers.com/2009/11/23/coldfusion9-and-scripted-components-and/</guid>
<description><![CDATA[ColdFusion9 and scripted components and hql syntax &#8211; Stack Overflow http://bit.ly/8beshv]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>ColdFusion9 and scripted components and hql syntax &#8211; Stack Overflow http://bit.ly/8beshv</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[TWiCF 05 - Solid Software http://bit.ly/...]]></title>
<link>http://robertleemyers.com/2009/11/23/twicf-05-solid-software-httpbit-ly/</link>
<pubDate>Mon, 23 Nov 2009 19:03:32 +0000</pubDate>
<dc:creator>Robert</dc:creator>
<guid>http://robertleemyers.com/2009/11/23/twicf-05-solid-software-httpbit-ly/</guid>
<description><![CDATA[TWiCF 05 &#8211; Solid Software http://bit.ly/5ZBBUt]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>TWiCF 05 &#8211; Solid Software http://bit.ly/5ZBBUt</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Railo and Tomcat made easy]]></title>
<link>http://kisdigital.wordpress.com/2009/11/23/railo-and-tomcat-made-easy/</link>
<pubDate>Mon, 23 Nov 2009 01:55:04 +0000</pubDate>
<dc:creator>Robert Shane Zehnder</dc:creator>
<guid>http://kisdigital.wordpress.com/2009/11/23/railo-and-tomcat-made-easy/</guid>
<description><![CDATA[I have seen several posts recently about installing Railo for local development, so I figured I woul]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I have seen several posts recently about installing Railo for local development, so I figured I would point out a nicely pre-configured Railo/Tomcat package out there from the folks at <a href="http://viviotech.net" target="_blank">Vivio Technologies</a>, which can be found here: <a href="http://railo.viviotech.net">http://railo.viviotech.net</a>.  They have packages for both Windows and Linux, so you should have your bases (and operating systems) covered.   One other benefit of using the package is no web server is required.  Tomcat will act as its own web server.</p>
<p>It is very easy to install new webs using the package, the only thing required is editing your Tomcat server.xml file and add a new entry into the virtual hosts section.  A typical entry will look like this:</p>
<pre>&#60;Host name="site1.localhost" appBase="webapps"&#62;      
    &#60;Context path="" docBase="C:\Sites\site1.localhost" /&#62;
&#60;/Host&#62;</pre>
<p>After you have made the appropriate changes to your HOSTS file and restart Tomcat you will be in business.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Configurando ColdFusion MX7 + Banco MySQL (v 4.1 +)]]></title>
<link>http://khibydev.wordpress.com/2009/11/22/configurando-coldfusion-mx7-banco-mysql-v-4-1/</link>
<pubDate>Sun, 22 Nov 2009 20:28:32 +0000</pubDate>
<dc:creator>emfranco</dc:creator>
<guid>http://khibydev.wordpress.com/2009/11/22/configurando-coldfusion-mx7-banco-mysql-v-4-1/</guid>
<description><![CDATA[Estes procedimentos devem ser executados para integrar o ColdFusion MX7 com um banco de dados MySQL ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Estes procedimentos devem ser executados para integrar o ColdFusion MX7 com um banco de dados MySQL com versão mínima 4.1:</p>
<ol>
<li>Baixar Conecctor JDBC do site do MySQL.:</li>
</ol>
<ul>
<li><a title="Connector MySQL" href="http://dev.mysql.com/downloads/connector/j/3.1.html" target="_blank">http://dev.mysql.com/downloads/connector/j/3.1.html</a></li>
</ul>
<ol>
<li>Acesse o site Connector/J 3.1 e faça o donwload do arquivo *.zip;</li>
<li>Descompacte o arquivo que hoje está na versão mysql-connector-java-3.1.12 e copie o arquivo mysql-connector-java-3.1.12-bin.jar para a pasta C:\CFusionMX7\wwwroot\WEB-INF\lib;</li>
<li>Reinicie o CF Server;</li>
<li>Entre no admin do CF e para criar um datasource, vá em Data Sources;</li>
<li>Em Data Source Name dê um nome ao seu banco e em Driver, escolha Other;</li>
<li>Clique em Add: Entre com a JDBC URL: jdbc:mysql://[host]:[port]/[database] (exemplo: jdbc:mysql://localhost:3306/testes);</li>
<li>Entre com o Driver Class: com.mysql.jdbc.Driver;</li>
<li>Digite o username e senha para acesso ao mysql;</li>
</ol>
<ul>
<li>Uma outra opção é habilitar a acentuação brasileira para o mysql: Clique em Show Advanced Settings Em Connection String coloque: useUnicode=true&#38;characterEncoding=ISO-8859-1</li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Dynamic search filtering with jQuery]]></title>
<link>http://kisdigital.wordpress.com/2009/11/27/dynamic-search-filtering-with-jquery/</link>
<pubDate>Fri, 27 Nov 2009 19:00:29 +0000</pubDate>
<dc:creator>Robert Shane Zehnder</dc:creator>
<guid>http://kisdigital.wordpress.com/2009/11/27/dynamic-search-filtering-with-jquery/</guid>
<description><![CDATA[Today I was working on a project for a client and they wanted a way to easily search through their 4]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div id="_mcePaste">Today I was working on a project for a client and they wanted a way to easily search through their 400 or so users.  I wanted a way to do it dynamically (ala project search on RIAForge) so I whipped up a quick little script that does just that.  Using jQuery made is surprisingly easy, but I figured I would share.</div>
<p><!--more--></p>
<p>First we set up a simple page that will contain our search box and has the div container that will hold our search box:</p>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;">Search: &#60;input id="search" type="text" /&#62;

&#60;br /&#62;
&#60;br /&#62;

&#60;div id="userlist"&#62;&#60;/div&#62;

&#60;script type="text/javascript"&#62;

	 $('#search').bind('keyup',updateQuery);

	function updateQuery(){
		$('#userlist').load('query.cfm?search='+ $('#search').val() );
	}

	$(document).ready(function(){
		$('#userlist').load('query.cfm');
	});

&#60;/script&#62;</pre>
<p>Everything here is pretty self-explanatory.  I created a text input creatively named <strong>search</strong>, then bound the key up even to the updateQuery() function which in turn updates the <strong>userlist</strong> div that holds our search results.  The page that actually populates the results, query.cfm, is listed below:</p>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;">&#60;cfparam name="search" type="string" default=""&#62;

&#60;cfquery name="q" datasource="datasource"&#62;
	SELECT MemberID, LastName, MiddleName, FirstName
	FROM members
	&#60;cfif len(search)&#62;
	WHERE Concat(FirstName, ' ', MiddleName, ' ', LastName)
	LIKE &#60;cfqueryparam cfsqltype="cf_sql_varchar" value="%#search#%" /&#62;
	&#60;/cfif&#62;
	ORDER BY LastName, FirstName
&#60;/cfquery&#62;

&#60;cfoutput&#62;#q.recordCount# User(s) Found&#60;/cfoutput&#62;
&#60;br /&#62;
&#60;br /&#62;
&#60;cfoutput query="q"&#62; &#60;a href="somepage.cfm?ID=#MemberID#" style="color: blue;"&#62;#LastName#, #FirstName# #MiddleName#&#60;/a&#62;&#60;br /&#62;
&#60;/cfoutput&#62;</pre>
<p>The page accepts one parameter, URL.search which is supplied by the calling page and if it is not supplied, it defaults to an empty string.  If the search parameter is sent, I am combining individual fields in the database to get the members full name and searching against that.</p>
<p>With a few lines of code we get a pretty cool effect.  This can be easily modified to fit any given situation so maybe someone will find it useful.</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
