<?xml version="1.0" encoding="UTF-8"?>
<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/"
	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/"
	>

<channel>
	<title>PANESAR.net &#187; Coldfusion</title>
	<atom:link href="http://www.panesar.net/tag/coldfusion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.panesar.net</link>
	<description>The secrets of a system integrator. My Journey of Startup, Product + Project Development</description>
	<lastBuildDate>Fri, 14 Oct 2011 14:53:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Getting your Apache URL rewrites working with Mura CMS</title>
		<link>http://www.panesar.net/2011/07/02/getting-your-apache-url-rewrites-working-with-mura-cms/</link>
		<comments>http://www.panesar.net/2011/07/02/getting-your-apache-url-rewrites-working-with-mura-cms/#comments</comments>
		<pubDate>Sun, 03 Jul 2011 00:29:35 +0000</pubDate>
		<dc:creator>Jas Panesar</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Mura CMS]]></category>
		<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://www.panesar.net/?p=362</guid>
		<description><![CDATA[Instead of having a link that says http://www.yoursite.com/siteid/index.cfm/about-us, I want it to be:

http://www.yoursite.com/about-us
]]></description>
			<content:encoded><![CDATA[<p>This might be a post that gets updated in the future&#8230;</p>
<p>Instead of having a Mura link that says <strong>http://www.yoursite.com/<span style="color: #ff0000;">siteid</span>/<span style="color: #ff0000;">index.cfm</span>/about-us</strong>, I want it to be:</p>
<p><strong><span style="color: #008000;">http://www.yoursite.com/about-us</span></strong></p>
<p>Nice, and clean for SEO.</p>
<p>In Mura, if you edit <strong>/config/settings.ini.cfm</strong> and set</p>
<pre class="brush: plain; title: ;">
siteidinurls=0
indexfileinurls=0</pre>
<p>Now, Mura will render the links without the <strong><span style="color: #ff0000;">siteid</span></strong> or <span style="color: #ff0000;"><strong>index.cfm</strong></span>.</p>
<p>Just one problem, it seems Apache still needs the reference for index.cfm&#8230; enter rewrite rules and Apache&#8217;s mod_rewrite library.</p>
<p>This has been giving me a bit of grief (it didn&#8217;t work instantly in 1.2 seconds) and no real time to figure it out. Apache for some reason seems to ignoreÂ .htaccess files in a folder, on both Windows and Linux servers.</p>
<p>Where I should be able to put the following code into an .htaccess file in the root folder of my Mura directory:</p>
<pre class="brush: plain; title: ;">
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
RewriteRule ^([a-zA-Z0-9/-]+)$ /index.cfm%{REQUEST_URI} [PT]
</pre>
<p>The .htaccess file seems to get ignored.</p>
<p>The temporary fix I have in place is to modify it directly in the virtualhost declaration in my httpd.conf or virtualhosts conf file depending on how your Apache is configured. Â Just place the rewrite rules right inside the &lt;virtualhost&gt; &lt;/virtualhost&gt; tags as follows</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&lt;VirtualHost *:80&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ServerAdmin help@damaag.com</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">DocumentRoot /var/www/html/buzzerful</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ServerName www.buzzerful.com</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ServerAlias new.buzzerful.com</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ServerAlias buzzerful.com</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ErrorLog logs/buzzerful.com-error_log</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">CustomLog logs/buzzerful.com-access_log common</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">RewriteEngine On</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">RewriteRule ^([a-zA-Z0-9/-]+)$ /index.cfm%{REQUEST_URI} [PT]</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&lt;/VirtualHost&gt;</div>
<pre class="brush: plain; title: ;">
&lt;VirtualHost *:80&gt;

        ServerAdmin help@yoursite.com
        DocumentRoot /var/www/html/yoursite.com (Or a windows path of your choice)
        ServerName www.yoursite.com
        ServerAlias yoursite.com
        ErrorLog logs/yoursite.com-error_log
        CustomLog logs/yoursite.com-access_log common

        RewriteEngine On
        RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
        RewriteRule ^([a-zA-Z0-9/-]+)$ /index.cfm%{REQUEST_URI} [PT]

&lt;/VirtualHost&gt;
</pre>
<p>This seems to work well so far, let&#8217;s see how it goes. Â Next, is getting the rewrite rules working correctly using ColdFusion and Railo&#8217;s built-in web servers, so my server and development environment will be the same.</p>
<p>P.S., if you&#8217;re looking to get the same working with CF/Railo and IIS, check out this great guide on <a href="http://cfwheels.org/docs/1-1/chapter/url-rewriting" target="_blank">how to enable rewrite rules for IIS</a> so you can use the rule in this post. Â Thanks to the cfwheels team for putting this together, it&#8217;s a really well written guide.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.panesar.net/2011/07/02/getting-your-apache-url-rewrites-working-with-mura-cms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guest hosting the Mura Show tomorrow at 2 PM MST! Intro Using the Mura FW/1 Plugin to build features/apps</title>
		<link>http://www.panesar.net/2011/03/29/guest-hosting-the-mura-show-tomorrow-at-2-pm-mst-intro-using-the-mura-fw1-plugin-to-build-featuresapps/</link>
		<comments>http://www.panesar.net/2011/03/29/guest-hosting-the-mura-show-tomorrow-at-2-pm-mst-intro-using-the-mura-fw1-plugin-to-build-featuresapps/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 02:21:43 +0000</pubDate>
		<dc:creator>Jas Panesar</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Mura CMS]]></category>

		<guid isPermaLink="false">http://www.panesar.net/?p=353</guid>
		<description><![CDATA[The Mura gang over at Blue River have slotted me in to guest host a Mura Show!

The Mura show has been a big help for me in both of it's formats when there's a set topic and open help for anything I've been working on.  Several times I learnt to solve or avoid problems I didn't know I'd be having when someone else asked.

I'm going to walk through a basic introduction to using the Mura FW/1 Template Plugin.  It's been recently re-written and provides some cool functionality.]]></description>
			<content:encoded><![CDATA[<p>The Mura gang over at Blue River have slotted me in to guest host a Mura Show!</p>
<p>The Mura show has been a big help for me in both of it&#8217;s formats when there&#8217;s a set topic and open help for anything I&#8217;ve been working on. Â Several times I learnt to solve or avoid problems I didn&#8217;t know I&#8217;d be having when someone else asked.</p>
<p>I&#8217;m going to walk through a basic introduction to using the Mura FW/1 Template Plugin. Â It&#8217;s been recently re-written and provides some cool functionality.</p>
<p>I know my own experience when learning Mura to want to know &#8220;how does this all work so I can quickly start playing around with it&#8221;.. and that&#8217;s what I hope to share in my time.</p>
<p>If your&#8217;e interested Â Mura Show #46 covers how to build a plugin from scratch and will probably give more detail than what I&#8217;ll be getting into.</p>
<p>Tomorrow&#8217;s show will assume a basic OO / MVC understanding as well as some Mura concepts. Â We won&#8217;t go in detail to how FW/1 works and be mostly focusing on how to <strong>build</strong> something with the goodness that is already in place.</p>
<p>2 PM Mountain Standard time, 1 PM Pacific. Â <img src='http://www.panesar.net/wp-includes/images/smilies/' alt='' class='wp-smiley' /> </p>
<p><a href="http://www.getmura.com/support/mura-show/" target="_blank">http://www.getmura.com/support/mura-show/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.panesar.net/2011/03/29/guest-hosting-the-mura-show-tomorrow-at-2-pm-mst-intro-using-the-mura-fw1-plugin-to-build-featuresapps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where does a Mura Form post to?</title>
		<link>http://www.panesar.net/2011/03/27/where-does-a-mura-form-post-to/</link>
		<comments>http://www.panesar.net/2011/03/27/where-does-a-mura-form-post-to/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 04:02:56 +0000</pubDate>
		<dc:creator>Jas Panesar</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Mura CMS]]></category>
		<category><![CDATA[MuraCMS]]></category>

		<guid isPermaLink="false">http://www.panesar.net/?p=347</guid>
		<description><![CDATA[When working with Mura's built in forms on the public side, there's a few notes to self to keep in mind:

1) Mura's public side (admin, built in display objects) are kind of legacy code.  The code is well written and pretty straight forward to follow, but some of the conventions you might get used to on the plugin side of things aren't quite the same. Fingers crossed that this can all be written as FW/1 logic eventually, but in the meantime, just know that tracing through display objects will be different than working on your own plugins.
]]></description>
			<content:encoded><![CDATA[<p>When working with Mura&#8217;s built in forms (ie., display objects) on the public side, there&#8217;s a few notes to self to keep in mind:</p>
<p><strong>1) Mura&#8217;s public side (admin, built in display objects) is kind of legacy code.</strong> The code is well written and pretty straight forward to follow, but some of the conventions you might get used to on the plugin side of things aren&#8217;t quite the same. Fingers crossed that this can all be written as FW/1 logic eventually, but in the meantime, just know that tracing through display objects will be different than working on your own plugins. Â I ran into this mostly when trying to create a custom login process and saw a difference.</p>
<p><strong>2) Built-in Mura CMS forms generally post to themselves.</strong> When modifying built-in form sets like the Paypal integration, there&#8217;s obviously more to it.</p>
<p><strong>3) When the form posts to itself,</strong> they can look for a value such as<em> form.submitted</em> to be defined before processing the form results. Â If you&#8217;re used to havingÂ separateÂ files, self-posting forms offer a nice degree of simplicity and encapsulation of logic when customizing Mura, it&#8217;sÂ definitelyÂ worth trying out and getting used to.</p>
<p><strong>4) If you want to decide where the form should go <em>after</em> the form, </strong>be sure to include a hidden field in the form called <em>redirect_url</em>, such as</p>
<pre class="brush: plain; title: ;">

&lt;input Â name = &quot;redirect_url&quot; Â type = &quot;hidden&quot; Â value = &quot;/[siteid]/different/page&quot; /&gt;
</pre>
<p>That&#8217;s it for now. Â I&#8217;m pretty sure I&#8217;ve missed a few things and will update this post as it comes up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.panesar.net/2011/03/27/where-does-a-mura-form-post-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Including custom headers in Mura CMS</title>
		<link>http://www.panesar.net/2011/03/27/including-custom-headers-in-html-section-of-a-page-ie-in-mura-cms/</link>
		<comments>http://www.panesar.net/2011/03/27/including-custom-headers-in-html-section-of-a-page-ie-in-mura-cms/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 00:31:17 +0000</pubDate>
		<dc:creator>Jas Panesar</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Mura CMS]]></category>

		<guid isPermaLink="false">http://www.panesar.net/?p=337</guid>
		<description><![CDATA[Sometimes we need to include a custom header in the HTML tags on just one page.

One example is caching.  When it comes to making every browser do the same thing (not cache a page), we end up with a number of commands that need to be placed at the top of a page only when it shouldn't be cached.

Here's some tags that could belong in the head tag of a specific page... (I'm sure this can be accomplished much easier in another way but I picked the first example that came to my head)..]]></description>
			<content:encoded><![CDATA[<p>Sometimes we need to include a custom header in the HTML tags on just one page.</p>
<p>One example is caching. Â When it comes to making every browser do the same thing (not cache a page), we end up with a number of commands that need to be placed at the top of a page only when it shouldn&#8217;t be cached.</p>
<p>Here&#8217;s some tags that could belong in the head tag of a specific page&#8230; (I&#8217;m sure this is already accomplished much easier/better with the built-in cache-o-matic in Mura, I just want to illustrate adding code to the header file..</p>
<pre class="brush: plain; title: ;">

&lt;META http-equiv=Content-Type content=&quot;text/html; charset=windows-1252&quot;&gt;
&lt;meta http-equiv=&quot;pragma&quot; content=&quot;no-cache&quot;&gt;
&lt;meta http-equiv=&quot;cache-control&quot; content=&quot;no-cache&quot;&gt;
&lt;meta http-equiv=&quot;expires&quot; content=&quot;-1&quot;&gt;
</pre>
<p>For this example, if I was going to add something like this in between the HEAD tags,Â I might edit <em>dsp_edit_profile.cfm</em> and see if they show up in my HTML. Â I&#8217;mÂ arbitrarilyÂ picking this file because it&#8217;s one I&#8217;ve spent some time in recently.</p>
<p>First, I&#8217;m going to make a page called NoCacheHeader.cfm and place it in my <em>[siteid]/includes/display_objects/custom/ folder</em>.</p>
<p>Inside <em><strong>NoCacheHeader.cfm</strong></em> I placed the following code.</p>
<pre class="brush: plain; title: ;">
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=windows-1252&quot;&gt;
&lt;meta http-equiv=&quot;pragma&quot; content=&quot;no-cache&quot;&gt;
&lt;meta http-equiv=&quot;cache-control&quot; content=&quot;no-cache&quot;&gt;
&lt;meta http-equiv=&quot;expires&quot; content=&quot;-1&quot;&gt;
</pre>
<p>Now, inside my <strong><em>[siteid]/includes/display_objects/custom/dsp_edit_profile.cfm</em></strong> (which I copied there to customize it), I&#8217;m going to reference this include file.</p>
<pre class="brush: plain; title: ;">
 &lt;cfset addToHTMLHeadQueue ( &quot;custom/noCacheHeader.cfm&quot; ) /&gt;
</pre>
<p>What seems really neat about the snippet above is it didn&#8217;t work when I simply specificed noCacheHeader.cfm as the file.. but I put in a partial path and Mura CMS located it leading me to believe Mura, in fact finds it magically for you <img src='http://www.panesar.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>One last thing I noticed in the <em>dsp_edit_profile.cfm </em>is a command that loads the javascript BEFORE the customizations. Â You can edit this however you like in this file, however in other places in Mura, it might be worth paying attention to whether you&#8217;re adding your custom code (be it javascript, etc) before or after what&#8217;s already being loaded by MuraCMS. Â The lines of code that lead me to this were:</p>
<pre class="brush: plain; title: ;">&lt;span&gt;&lt;cfset&lt;/span&gt; loadJSLib&lt;span&gt;()&lt;/span&gt;&lt;span&gt;&gt;
&lt;/span&gt;&lt;cfset addToHTMLHeadQueue(&quot;htmlEditor.cfm&quot;)&gt;
&lt;!--- in this case, I Added my noHeaderCache.cfm AFTER these commands ---&gt;
&lt;cfset addToHTMLHeadQueue(&quot;custom/noCacheHeader.cfm&quot;) /&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.panesar.net/2011/03/27/including-custom-headers-in-html-section-of-a-page-ie-in-mura-cms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Logging out a user in Mura CMS</title>
		<link>http://www.panesar.net/2011/03/27/logging-out-a-user-in-mura-cms/</link>
		<comments>http://www.panesar.net/2011/03/27/logging-out-a-user-in-mura-cms/#comments</comments>
		<pubDate>Sun, 27 Mar 2011 22:53:17 +0000</pubDate>
		<dc:creator>Jas Panesar</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Mura CMS]]></category>

		<guid isPermaLink="false">http://www.panesar.net/?p=334</guid>
		<description><![CDATA[This post is more of a quick note to self.. :)

Often, we'll see http://www.mysite.com/siteid/index.cfm?display=something on our public site, say, when creating a new user profile.

When we want to log out that particular user, simply place a 
]]></description>
			<content:encoded><![CDATA[<p>This post is more of a quick note to self.. <img src='http://www.panesar.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Often, we&#8217;ll see http://www.mysite.com/siteid/index.cfm?display=something on our public site, say, when creating a new user profile.</p>
<p>Once the user creates their account, we&#8217;d like a way for them to log out. Â You can work out a link in the menu bar, or on a protected page / header that includes the following link.. Â All that&#8217;s trulyÂ necessaryÂ is everything after the ?=..</p>
<p>When we want to log out that particular user, simply place a</p>
<pre class="brush: plain; title: ;">index.cfm?doaction=logout</pre>
<p>and the current logged in user will be logged out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.panesar.net/2011/03/27/logging-out-a-user-in-mura-cms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lessons learnt from migrating a ColdFusion site from Windows to Linux</title>
		<link>http://www.panesar.net/2011/03/14/tips-for-migrating-a-coldfusion-site-from-windows-to-linux/</link>
		<comments>http://www.panesar.net/2011/03/14/tips-for-migrating-a-coldfusion-site-from-windows-to-linux/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 18:15:28 +0000</pubDate>
		<dc:creator>Jas Panesar</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Mac / OS X]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.panesar.net/?p=325</guid>
		<description><![CDATA[When migrating a site from Windows to Linux, we have some great (and valid) dreams about increased performance, lower Windows server overhead, etc....

There's a few things I've come across that most often come up while migrating from Windows to Linux:

So sensitive. Remember ColdFusion was case in-sensitive in Windows...?  Well, it still kind of is.. except where the code breaks.
 
Picky about paths. Remember not taking the time to learn how to properly program your file paths for uploads / directories? .. Yeah, time to repay that technical debt.]]></description>
			<content:encoded><![CDATA[<p>When migrating a ColdFusion application or site from Windows to Linux, we have some great (and valid) dreams about increased performance, lower Windows server overhead, etc&#8230;.</p>
<p>There&#8217;s a few things I&#8217;ve come across that most often are worth understanding from a high level while migrating from Windows to Linux:</p>
<ol>
<li><strong>So sensitive.</strong> Remember ColdFusion was case in-sensitive in Windows&#8230;? Â Well, it still kind of is.. except where the code breaks.</li>
<li><strong>Picky about paths.</strong> Remember not taking the time to learn how toÂ properlyÂ program your file paths for uploads / directories? .. It might be time to repay that technical debt.</li>
<li><strong>Third Party Libraries</strong> &#8211; Some custom tags you may have made or purchased might only work on Windows, and not Linux. Â There should be a ColdFusion equivalent that works on Linux, and if not, you can likely find a Java version that you can quickly create a CFC wrapper for.</li>
<li><strong>Database</strong> &#8211; Make sure your database works in linux how you need, first.</li>
</ol>
<p>There are a few tricks that I&#8217;ve seen that may help avoid, or minimize a good code sweep&#8230; or:</p>
<ol>
<li><strong>Linux VFAT. </strong>A friend did away with this issue altogether by creating a VFAT (Virtual FAT) partition in linux and simply copying the windows files there. Â No path, case sensitivity issues &#8212; all gone for the most part. Â Only downside is the VFATÂ partitionÂ is another virtual hard drive, with a fixed size to my knowledge.</li>
<li><strong>The Tomcat/J2ee option.</strong> Your ColdFusion application can be compiled to a .WAR, .JAR or .CAR, and uploaded directly into a J2EE server like Tomcat, Resin,etc. Â What does this mean? Â It might make some (not all) things simpler when moving your app this way.</li>
<li><strong>Patches.</strong> Depending on any issues you run into, look into all of the appropriate ColdFusion Patches, Updates, and Hotfixes. Â Make sure your Java is patched and updated (as it should be in Windows anyways)</li>
</ol>
<p>Most importantly I&#8217;ve learn the following about writing code that will truly run in any flavor of ColdFusion:</p>
<ol>
<li><strong>Learn to work with ColdFusion&#8217;s functions and variables for paths.</strong> They are our friends</li>
<li><strong>Use your IDE to enforce case sensitivity.</strong> Chances are you are sophisticated enough of a developer by the time you&#8217;re making the jump from Windows to Linux that this isn&#8217;t that big of a deal.</li>
<li><strong>Put the horse in front of the horse.</strong> Once possible, especially for new projects, develop in Linux first and then deploy to windows. Â Even OS X is a big help to develop in, but it&#8217;s not as picky out of the box about case sensitivity, etc. Â I have a few projects where I installed Railo/ACF on the Linode first, and then developed directly to it&#8230;. all of the problems above tend to sort themselves out, and maybe leave you with a few challenges if you&#8217;re used to doing some things on the Windows server directly.</li>
</ol>
<p>Have any other tips / experiences? Â This list is meant to be a note-to-self without getting into the technical side of things too much. Share them below!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.panesar.net/2011/03/14/tips-for-migrating-a-coldfusion-site-from-windows-to-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Hello 2011, meet the future: ColdFusion, Mura CMS and Startups.</title>
		<link>http://www.panesar.net/2011/01/06/hello-2011-meet-my-future-coldfusion-mura-cms-and-startup/</link>
		<comments>http://www.panesar.net/2011/01/06/hello-2011-meet-my-future-coldfusion-mura-cms-and-startup/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 20:46:35 +0000</pubDate>
		<dc:creator>Jas Panesar</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Mura CMS]]></category>
		<category><![CDATA[Startups]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://www.panesar.net/?p=274</guid>
		<description><![CDATA[I've built up a bit of a bad habit in the past year with my blog -- I have dozens of draft posts that are near completion and need a bit more editing -- I just never made the time to edit and post them.

It's interesting looking back at all I wrote in 2010 and with the perspectives I ended up with at the end of 2010.

Here's where I ended up:  ColdFusion + Mura CMS + FW/1 Plugin Bundle = My web development nirvana.  I haven't been this happy with developing in years.  It's like discovering how easy ColdFusion made everything all over again, 12 years later.

How did this happen?]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve built up a bit of a bad habit in the past year with my blog &#8212; I have dozens of draft posts that are near completion and need a bit more editing &#8212; I just never made the time to edit and post them. Â I&#8217;ve decided I&#8217;ll still be releasing many of those posts back-dated so it makes sense to me when I look back and read this.</p>
<p>It&#8217;s interesting looking back at all I wrote in 2010 and with the perspectives I ended up with at the end of 2010.</p>
<p>Here&#8217;s where I ended up: Â <strong>ColdFusion + Mura CMS + FW/1 Plugin Bundle = My web development nirvana. Â I haven&#8217;t been this happy with developing in years. Â It&#8217;s like discovering how easy ColdFusion made everything all over again, 12 years later.</strong></p>
<p>How did this happen?</p>
<p>First, my discovery and adoption of Mura CMS to build web applications. Â I know, that might sound a little strange on first read. Â I&#8217;ve developed many web applications with several ColdFusion frameworks over the years. Â Last year I got into built a few apps with it. Â ColdBox was amazing. Â The problem with me? Â Most of the projects I worked on didn&#8217;t get to use or leverage the amazing features Luis has put into ColdBox. Â It was like having the greatest swiss army knife ever, and not having enough uses for all the tools. Â If there&#8217;s anything I like doing, it&#8217;s using features that make life easier. While I work on some very complex apps, any good framework for ColdFusion can handle it all pretty well. ColdBox was really becoming an issue of preference and wanting a new way to enjoy ColdFusion. Â I hope to be able to use ColdBox one day.. but for now I think it&#8217;ll be on the shelf and I&#8217;m very happyÂ toÂ use it for existing projects.</p>
<p>As part of my framework search last year, I came across <a href="http://www.getmura.com" target="_blank">Mura CMS</a> by Blue River Interactive and <a href="http://fw1.riaforge.org/" target="_blank">Framework One</a> (FW/1) by Sean Corfield. Â Individually, both were really impressive. Â Mura CMS was what I dreamt Far Cry CMS was a few years ago. Â Easy to install, easy to use, easy to extend and customize. Â I could just kind of get things done. Â It even had a Wordpress quality installer. Â Great, I could use this for a few basic websites that came up and enjoy it.</p>
<p>There was one thing missing for me. Â It&#8217;s always been missing in everything. Â I&#8217;ve always had a desire to do as much of my web application development, be it for clients, or my own projects in one way, in one technology, framework, etc. Â On one hand, I had ColdBox which let me build great apps, and on the other hand Mura CMS let me create great front ends for my clients to manage. Mura CMS has a wonderful plugin architecture, let me build a quick few plugins.. but it required more thought and learning if I wanted to build apps with it.</p>
<p>Oh, existential crisis. Â I want both, in one place!</p>
<p>During this great time of pain from being, so close, I reached out to Blue River. Â Not surprisingly, the guys heard me out and shared some great insights. Â I was was introduced to <a href="http://www.grantshepert.com" target="_blank">Grant Shepert</a> by the Mura team, and he ended up being a few blocks away from me and knew oodles about Mura CMS. Â Grant has a great blog on Mura CMS, and while some of it is pretty detailed, it has to be some of the most enjoyable ColdFusion reading I&#8217;ve done in a while just from what he was uncovering and making possible in Mura. Â I asked Grant if he would be so kind to answer a few questions of &#8220;how do I best do this&#8221;.. when there were a few ways to do a task in Mura and after that, I was sold.</p>
<p>I heard at the time that there was a Framework One &#8220;base application plugin&#8221; for Mura that you could use to create more complete applications, bundled as a Mura Plugin. Â Yeah, I&#8217;ve heard that kind of empty hope before. Â The key insight that Grant opened my eyes to was how he was building applications inside Mura. Â Grant sat with me and my suspicions were confirmed. Â Mura has CMS&#8217; down right, and it&#8217;s FW/1 integration for plugins has a ton of power, but stays out of the way to let me build applications, thanks to how FW/1 is conveniently designed. Â I highlyÂ recommendÂ Grant&#8217;s base FW/1 plugin to build apps, it&#8217;s a bit tweaked from the one in the plugin store.</p>
<p>Since that time, I&#8217;ve delvedÂ deeperÂ into Mura&#8217;s underpinnings and decided I&#8217;ll beÂ centeringÂ a great deal of my time and life in Mura for my professional and personal projects. Â Mura is a wonderful project in it&#8217;s own space, like ColdBox, FW/1 and many others. Â Mura is open source, has a good team developing it, and a growing community. Â The only thing I wish for is a bit more in the way of documented examples, but resources like the forum and Mura Show have been a great help to get direct help while those things develop. Â I&#8217;m hoping to share my journey as well from the startup perspective of how it helped me bootstrap and launch quicker.</p>
<p>Today I&#8217;m standing in 2011 with another 3 new projects starting, all to be developed fully in Mura. Â I feel for the first time in a long while that I&#8217;ve found the best balance of technology (ColdFusion) with a platform (Mura) and framework (FW/1) that I think I&#8217;ll be happily be able to build for a long, long time without needing much more.</p>
<p>This year you&#8217;ll see a few plugins put outÂ pertainingÂ to the small SaaS startups I&#8217;ll be launching. Â Thats right, plural. Â I think I can do more than one. Â It&#8217;s time to show what ColdFusion can get done with a great cms like Mura can get rid with the boilerplate app logic that ends up consuming so much time after the proof of concept is completed of a SaaS startup idea.</p>
<p>Inward, onward, and upward!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.panesar.net/2011/01/06/hello-2011-meet-my-future-coldfusion-mura-cms-and-startup/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ColdFusion Builder request list</title>
		<link>http://www.panesar.net/2010/06/18/coldfusion-builder-request-list/</link>
		<comments>http://www.panesar.net/2010/06/18/coldfusion-builder-request-list/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 16:27:40 +0000</pubDate>
		<dc:creator>Jas Panesar</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[ColdFusion Builder]]></category>

		<guid isPermaLink="false">http://www.panesar.net/2010/06/18/coldfusion-builder-request-list/</guid>
		<description><![CDATA[I just saw the neatest feature in the Linux text editor VI.
All of the links in the code are surfable. You just drill in through the includes between all of your files.  Very cool.
I wonder if there&#8217;s an extension to do this in CfBuilder, or from the Eclipse world?
]]></description>
			<content:encoded><![CDATA[<p>I just saw the neatest feature in the Linux text editor VI.</p>
<p>All of the links in the code are surfable. You just drill in through the includes between all of your files.  Very cool.</p>
<p>I wonder if there&#8217;s an extension to do this in CfBuilder, or from the Eclipse world?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.panesar.net/2010/06/18/coldfusion-builder-request-list/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Enable or disable RDS on a Coldfusion Server</title>
		<link>http://www.panesar.net/2010/05/29/enable-or-disable-rds-on-a-coldfusion-server/</link>
		<comments>http://www.panesar.net/2010/05/29/enable-or-disable-rds-on-a-coldfusion-server/#comments</comments>
		<pubDate>Sat, 29 May 2010 23:29:38 +0000</pubDate>
		<dc:creator>Jas Panesar</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[ColdFusion Builder]]></category>
		<category><![CDATA[ColdFusion Report Builder]]></category>
		<category><![CDATA[RDS]]></category>

		<guid isPermaLink="false">http://www.panesar.net/?p=230</guid>
		<description><![CDATA[It's well known that RDS shouldn't be enabled on a production ColdFusion Server.

Over the years I haven't been much of a user of RDS anyways so I usually just left it disabled.

Lately though RDS is starting to have a lot more value to me, I have been using ColdFusion's Report Builder a lot more in addition to ColdFusion Builder itself, which use RDS a lot more to expose a lot of neat functionality.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s well known that RDS shouldn&#8217;t be enabled on a production ColdFusion Server.</p>
<p>Over the years I haven&#8217;t been much of a user of RDS anyways so I usually just left it disabled.</p>
<p>Lately though RDS is starting to have a lot more value to me, I have been using ColdFusion&#8217;s Report Builder a lot more in addition to ColdFusion Builder itself, which use RDS a lot more to expose a lot of neat functionality.</p>
<p>ColdFusion Report Builder lets you connect and browse your ColdFusion data sources to build your report either through wizards, or construct (and test) your queries in real time.Â  Since ColdFusion Report Builder is from what I can tell, a repackaged Jasper Reports binary, it&#8217;s actually really nice to have a lot of the CF shortcuts built in.</p>
<p>ColdFusion Builder is something I&#8217;ve been using more and more in the past year.Â  I started slowly with the betas as the CFEclipse worked just fine for me.Â  As ColdFusion 9 came out though, a lot changed.Â  The integration between ColdFusion Builder and CF 9 is great.</p>
<p>I ended up having to find a mechanism to enable and disable (if needed) RDS.Â  Searched high and low, and forgot to check the knowledge base over at Adobe.</p>
<p>Lo and behold the explanation is simple:</p>
<ol>
<li>In the <strong>root of your coldfusion path</strong>, you have a <strong>/wwwroot </strong>folder.Â  inside of it there is a file called <strong>web.xml</strong></li>
<li>This file is used with the configuration of ColdFusion itself, and not only the internal web server.Â  So if you use another web server like IIS or Apache, this file is still relevant to edit.</li>
<li>When you open up the <strong>web.xml</strong> to edit, you&#8217;ll need to search the text for &#8220;RDS&#8221; and un-comment two spots where there are RDS services <strong>&lt;!&#8211; commented out &#8211;&gt;</strong> .. Both must be un-commented.</li>
<li>After you remove the comments and save the file, simply re-start the ColdFusion Server and RDS will be up and alive.Â  Use the ColdFusion Administrator to set your passwords as needed.</li>
</ol>
<p>AND RDS WORKS!Â  Reverse the steps to disable RDS on production servers.</p>
<p>Hope that helps, I know I&#8217;ll be back to reading this post when I forget in the future.Â  The knowledge base article to enable or disable RDS in ColdFusion in this technote.Â  The ColdFusion MX instructions are applicable to CF 6 and up: <a href="http://kb2.adobe.com/cps/172/tn_17276.html" target="_blank">http://kb2.adobe.com/cps/172/tn_17276.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.panesar.net/2010/05/29/enable-or-disable-rds-on-a-coldfusion-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Impressions of ColdBox 3.0</title>
		<link>http://www.panesar.net/2009/12/19/impressions-of-coldbox-3/</link>
		<comments>http://www.panesar.net/2009/12/19/impressions-of-coldbox-3/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 19:31:32 +0000</pubDate>
		<dc:creator>Jas Panesar</dc:creator>
				<category><![CDATA[ColdBox]]></category>
		<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.panesar.net/?p=89</guid>
		<description><![CDATA[Once you're past why someone would develop a new program in ColdFusion, you find a rich community of developers, examples, libraries and frameworks.

I've been playing around with the ColdBox Framework for ColdFusion for a few months.

What lead me to ColdBox was a period of discovering and playing around with the discoveries I made with ColdFusion 9 and it's killer Hibernate ORM integration.

I could no longer program, ever again until ColdFusion 9 came out.. it made for a slower fall on new projects.  I decided to dust off the old exploration cap and started looking at what was new and developing in the ColdFusion world.]]></description>
			<content:encoded><![CDATA[<p>Once you&#8217;re past <a href="http://www.panesar.net/2009/01/04/why-would-someone-develop-a-new-program-in-coldfusion/" target="_blank">why someone would develop a new program in ColdFusion</a>, you find a rich community of developers, examples, libraries and frameworks.</p>
<p>I&#8217;ve been playing around with the <a href="http://www.coldbox.org" target="_blank">ColdBox Framework</a> for <a href="http://www.coldfusion.com" target="_blank">ColdFusion</a> for a few months.</p>
<p>What lead me to ColdBox was a period of discovering and playing around with the discoveries I made with ColdFusion 9 and it&#8217;s killer Hibernate ORM integration.</p>
<p>I could no longer program, ever again until ColdFusion 9 came out.. it made for a slower fall on new projects.Â  I decided to dust off the old exploration cap and started looking at what was new and developing in the ColdFusion world.</p>
<p>For about as long as I can remember I&#8217;ve been using FuseBox and my own frameworks prior to it coming into existence. In my modified <a href="http://www.fusebox.org/" target="_blank">FuseBox</a> framework I have a simple, efficient, scalable system that has easily handled anything I&#8217;ve thrown at it, and more.Â  It&#8217;s very capable and rightfully so.</p>
<p>FuseBox is ColdFusion&#8217;s first major Framework and went on to dominate and inspire a lot of change in the PHP world not only with FuseBox itself, but the other great frameworks that exist in that language and maybe beyond.Â  Sitting in the ColdFusion world it&#8217;s nice to see that the ColdFusion &#8220;power with ease&#8221; eloquence was able to help spread this kind of empowerment, as much as ColdFusion&#8217;s continued track record of doing the best of similar languages and frameworks. No offence intended to any of the other great CF frameworks out there &#8212; I just didn&#8217;t feel the itch to shop around because I felt I had the good stuff at home. <img src='http://www.panesar.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>No language, in my experience, has focused on the developer and their experience as much as ColdFusion.Â  Happy developers make great software.Â  I like being happy doing what I do.</p>
<p>I came across ColdBox and remembered seeing an earlier version around 2006 that looked really promising. It looks like it&#8217;s been delivering on it&#8217;s promises.Â  In defense of my beloved FuseBox, I haven&#8217;t looked at the new version in a few years because the one I use has worked so well!</p>
<p>The first thing that struck me was the sheer volume of documentation available on ColdBox.</p>
<p>I couldn&#8217;t believe my eyes.Â  Someone, actually, seemed, to get the significance of, and anticipate the needs of<em> web application development</em>, and ColdBox was the result.Â  This was like Allaire/Macromedia/Adobe continuing to anticipate the needs of <em>application developers</em> with ColdFusion. ColdBox looks to this software architect to be the next shining star of ColdFusion, if it&#8217;s not already.Â  It improves both applications and developer&#8217;s lives.</p>
<p>We know that application development and application developers are kept happy in some common and unique ways.</p>
<p>At first, I didn&#8217;t believe what I was seeing.Â  Everything I&#8217;ve needed to touch or use, with respect to a web application and it&#8217;s framework, seemingly, conveniently put in one place.Â  Internationalization, no problem.Â  Need role based security?Â  No problem.Â  Want to add a doo-dad?Â  Decide if you want an interceptor or a plug-in.Â  Next question.</p>
<p>What is a software architect to do when something makes him blink?Â  Get a second opinion from the smartest developer he knows.</p>
<p>My friend is someone I&#8217;ve known for almost 15 years.Â  We shared a path in school but I went off the ColdFusion deep end while he continued learning everything under the sun&#8230; except ColdFusion.</p>
<p>So I asked for his unbiased opinion.Â  Which he&#8217;s known to give.Â  I asked him, find me every fault in this ColdBox and the language of ColdFusion compared to all the languages you&#8217;ve ever used.Â  As a developer completely fresh to this, tell me if something is better than this, and why, because I might want to switch.</p>
<p>Expecting him to correct ColdFusion, and ColdBox the same way he used to correct the professors, assignments, quizzes, exams, and TA&#8217;s in university, he came back convinced that ColdBox and ColdFusion is great for developing web applications.Â  Not to say something else wasn&#8217;t, but if he&#8217;d pick something ot build on his own he just might use it, especially with the open-source ColdFusion engines like Railo and Open BlueDragon.</p>
<p>So, I&#8217;m not crazy.Â  That&#8217;s good.</p>
<p>Here&#8217;s the thing with ColdBox for me.Â  It does MVC, really well, for the web, for web applications.Â  Yeah, I know Ruby&#8217;s got this, ASP.NET&#8217;s got that, and Django has something else that&#8217;s great.Â  I have used them all, either with new projects, or maintaining existing ones.</p>
<blockquote><p><strong>The thingÂ  that happens with any project, over time, is that it either becomes one you want to work on more and more, or one you don&#8217;t want to work on due to increasing complexity to add or modify tasks.</strong></p>
<p><strong>We can argue it&#8217;s up to the developer to keep things simple, but inevitable the platform and framework play a huge role in what we do, or don&#8217;t have to do, or what we do/don&#8217;t deal with.<br />
</strong></p></blockquote>
<p>If we put all the languages, frameworks into one pile, there is one key test I use to see the value of any tool.</p>
<blockquote><p><strong>It is difficult to make the complex into something simple; and it is easy to make the simple into something complex.Â  Will this help me make the complex into something simple, without dealing with the language, or framework&#8217;s complexities?</strong></p></blockquote>
<p>ColdBox, with ColdFusion seems to understand that most of us have to build things that are solid, reliable and scalable.Â  99% of web applications that are remotely successful grow.Â  We need a way to manage that growth and keep the garden looking nice while it grows.</p>
<p>Web developers often have to solve more than simple problems.Â  We have to solve complex problems and make them simple.Â Â  There is little doubt ColdFusion is the best integration language for the web.Â  It simply does more out of the box than anything.</p>
<p>I have spent the last 2 days working in ColdBox and my impression is this.</p>
<p>I have been amazed at how much of an application I have built already in ColdBox.Â  Actual business logic.Â  Actual problem solving.Â  Actual &#8220;this will make someone&#8217;s life easier, more efficient and productive&#8221;.</p>
<p>What&#8217;s changed?Â  I didn&#8217;t build my own roles based security.Â  I didn&#8217;t have to integrate internationalization.Â  I didn&#8217;t have to extend a framework to do more (or less) than it did.Â  ColdBox appears to be a framework that can be customized easily, or left alone and just run.</p>
<p>To potentially have the best of both worlds (Rapid dev of FuseBox and the scalability of OO-programing), compared to what was out there before, is more than a little staggering to this software architect.Â  I don&#8217;t care to re-invent the wheel, I want to solve problems and help people that are forced to work with poor software.</p>
<p>Beyond learning the ins and outs of ColdBox, I am slowly realizing it&#8217;s feeling much like FuseBox did.. the next tool I will use for possibly a long time.Â  Just like ColdFusion made web development power with ease, ColdBox takes Web application development to a similar of power with ease.</p>
<p>ColdBox allows you to leverage ColdFusion&#8217;s rapid application development in such an improved way that I don&#8217;t think has happened in several years.Â  As much as Fusebox first came out for ColdFusion and then spread to PHP, etc., and pushed the bar so much, I think ColdBox will inspire as well.</p>
<p>What&#8217;s most impressive is that such a powerful framework has been kept, if I may, simple, relative to the complexity of everything it handles.Â  That&#8217;s something ColdFusion did first, and better than anyone too.</p>
<p>In the coming few days I will start a Quickstart to ColdBox series to catch my first impressions and experiences of piecing it all together, to help you see for yourself what ColdBox could do for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.panesar.net/2009/12/19/impressions-of-coldbox-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

