<?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>SPWD &#187; Web Design</title>
	<atom:link href="http://www.southplattewebdesign.com/category/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.southplattewebdesign.com</link>
	<description>Modern Web Development</description>
	<lastBuildDate>Thu, 10 Jun 2010 05:48:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Server move successful</title>
		<link>http://www.southplattewebdesign.com/2010/02/04/server-move-successful/</link>
		<comments>http://www.southplattewebdesign.com/2010/02/04/server-move-successful/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 07:31:03 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[General Tech]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Off-Topic]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/?p=655</guid>
		<description><![CDATA[



Image via Wikipedia



On February 2, 2010 I finally completed the server move to the new co-location facility.  I had, in the prior weeks, backup all data and files, did a clean install of the operating system and restored all functionality to the server.  The new facility will not only help achieve faster load [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; display: block;">
<div>
<dl style="width: 310px;" class="wp-caption alignright">
<dt class="wp-caption-dt"><a href="http://commons.wikipedia.org/wiki/Image:Server_Linux.jpg"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Server_Linux.jpg/300px-Server_Linux.jpg" alt="Servers designed for Linux" title="Servers designed for Linux" width="300" height="228"></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://commons.wikipedia.org/wiki/Image:Server_Linux.jpg">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>On February 2, 2010 I finally completed the server move to the new co-location facility.  I had, in the prior weeks, backup all data and files, did a clean install of the operating system and restored all functionality to the server.  The new facility will not only help achieve faster load times, but a much better environment for the server than sitting at my house under my desk.  With this move you all should notice faster page load, better usability and the RSS feeds hopefully will load and refresh across the Net faster.</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/8728b278-3931-4519-8bc6-4a7a9ae276ef/" title="Reblog this post [with Zemanta]"><img style="border: medium none; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=8728b278-3931-4519-8bc6-4a7a9ae276ef" alt="Reblog this post [with Zemanta]"></a><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2010/02/04/server-move-successful/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server Going Offline For A Few Hours</title>
		<link>http://www.southplattewebdesign.com/2010/01/21/server-going-offline-for-a-few-hours/</link>
		<comments>http://www.southplattewebdesign.com/2010/01/21/server-going-offline-for-a-few-hours/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 07:58:38 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[General Tech]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/?p=652</guid>
		<description><![CDATA[



Image via Wikipedia



Sometime within the next week I will be taking this server offline so I may perform some system maintenance and upgrades.  At that time, I will also be locating it in a new data center so the actual speed will be what it should be and the performance should be increased dramatically.
There [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; display: block;">
<div>
<dl style="width: 310px;" class="wp-caption alignright">
<dt class="wp-caption-dt"><a href="http://commons.wikipedia.org/wiki/Image:Ubuntu_7.04_Feisty_Fawn.png"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/Ubuntu_7.04_Feisty_Fawn.png/300px-Ubuntu_7.04_Feisty_Fawn.png" alt="Ubuntu 7." title="Ubuntu 7." height="240" width="300"></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://commons.wikipedia.org/wiki/Image:Ubuntu_7.04_Feisty_Fawn.png">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>Sometime within the next week I will be taking this server offline so I may perform some system maintenance and upgrades.  At that time, I will also be locating it in a new data center so the actual speed will be what it should be and the performance should be increased dramatically.</p>
<p>There will be many system updates taking place at that time &#8211; some of them will include a complete Linux upgrade, Wordpress upgrades, database upgrades and more.  Most of these items will be performed in multitude to lessen the down time.</p>
<p>Once all the upgrades are done, within a day or two after I will be moving the server to a new data center.  This will allow the server to operate at a fast connection, with much more ability to serve the growing needs of several blogs and other sites hosted on it.</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/4935699e-64f8-4222-837d-53701f67e056/" title="Reblog this post [with Zemanta]"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=4935699e-64f8-4222-837d-53701f67e056" alt="Reblog this post [with Zemanta]"></a><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2010/01/21/server-going-offline-for-a-few-hours/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Coldfusion AJAX &#8211; Part 2</title>
		<link>http://www.southplattewebdesign.com/2010/01/09/quick-coldfusion-ajax-part-2/</link>
		<comments>http://www.southplattewebdesign.com/2010/01/09/quick-coldfusion-ajax-part-2/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 03:27:50 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[cfdiv]]></category>
		<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[coldfusion.navigate]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/?p=638</guid>
		<description><![CDATA[



Image via Wikipedia



Where we left off
If the first part of this short Coldfusion AJAX series, we discussed using the CFDIV tag, along with the CFAJAXIMPORT tag to enable us to dynamically load content into a div (cfdiv) layout container on the fly.&#160; The only custom javascript we made was to create a function that our [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; display: block;">
<div>
<dl style="width: 276px;" class="wp-caption alignright">
<dt class="wp-caption-dt"><a href="http://commons.wikipedia.org/wiki/Image:HTML.svg"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/8/84/HTML.svg/266px-HTML.svg.png" alt="A graphical despiction of a very simple html d..." title="A graphical despiction of a very simple html d..." width="266" height="310"></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://commons.wikipedia.org/wiki/Image:HTML.svg">Wikipedia</a></dd>
</dl>
</div>
</div>
<h2>Where we left off</h2>
<p>If the first part of this short Coldfusion AJAX series, we discussed using the CFDIV tag, along with the CFAJAXIMPORT tag to enable us to dynamically load content into a div (cfdiv) layout container on the fly.&nbsp; The only custom javascript we made was to create a function that our href called to key the Coldfusion.navigate feature.</p>
<p>This time we will be discussing submitting forms asynchronously using Coldfusion, the CFDIV and CFFORM tags.&nbsp; This nifty feature allows web developers to submit their form within a containing div, and have the results of that form appear directly back to the user without reloading the entire page.&nbsp; In part three, the final installment, we will discuss how to build a search suggestion form control that dynamically populates a search text box as the user is typing.</p>
<h2>CFDIV and CFFORM tags</h2>
<p>We&#8217;ve already discussed the CFDIV tag, but now we discuss the CFFORM tag.&nbsp; The CFFORM tag is specific to Coldfusion and inserts forms into the page with server and client side processing, including built in validation for the tags contained within the form.&nbsp; Speaking of the tags within the form, they take on special characteristics and names, rather than using the input tag, we will be using the CFINPUT tag.</p>
<p>To ensure the form submits via AJAX we will simply enclose our form within a CFDIV container, keeping in mind that we need to include the proper tags via CFAJAXIMPORT.&nbsp; The other thing to note is on the CFDIV we are including the the page that contains our form as the bind parameter this time. The listing below is the complete listing for the form, note I have omitted the rest of the standard page elements (head, title, body etc.) for brevity.  Provided you have your form handler script setup properly, in this case I called it formprocess.cfm in the example, the form will submit within the div.<br />
<br />
<a class="quickcode" title="Code" href="javascript:toggleLayer('quickcode6381');">Quick Code</a></p>
<div id="quickcode6381" class="quickcode"><pre><code>
&lt;cfajaximport tags=&quot;cfform, cfdiv&quot;&gt;
&lt;cfdiv id=&quot;fomSub&quot; name=&quot;formSub&quot; bind=&quot;url:form.cfm&quot;&gt;
&lt;/cfdiv&gt;&lt;/cfajaximport&gt;
</code></pre></div>
<p> <br />
In the form.cfm file we would have the following:<br />
<br />
<a class="quickcode" title="Code" href="javascript:toggleLayer('quickcode6382');">Quick Code</a></p>
<div id="quickcode6382" class="quickcode"><pre><code>
&lt;cfform action=&quot;formprocess.cfm&quot; method=&quot;post&amp;gt;
&amp;lt;cfinput type=&quot; text=&quot;&quot; name=&quot;form1&quot; id=&quot;form1&quot; maxlength=&quot;45&quot; size=&quot;20&quot;&gt;
&lt;cfinput type=&quot;submit&quot; name=&quot;submit&quot; id=&quot;submit&quot; value=&quot;Submit&quot;&gt;
&lt;/cfinput&gt;
&lt;/cfform&gt;
</code></pre></div>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/c98ee811-5fcf-4f3f-aa20-7eeeac041eae/" title="Reblog this post [with Zemanta]"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=c98ee811-5fcf-4f3f-aa20-7eeeac041eae" alt="Reblog this post [with Zemanta]"></a><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2010/01/09/quick-coldfusion-ajax-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Coldfusion AJAX</title>
		<link>http://www.southplattewebdesign.com/2010/01/08/quick-coldfusion-ajax/</link>
		<comments>http://www.southplattewebdesign.com/2010/01/08/quick-coldfusion-ajax/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 07:50:11 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[cfdiv]]></category>
		<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[coldfusion.navigate]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/?p=622</guid>
		<description><![CDATA[



Image via Wikipedia



External Library?
With Coldfusion 8 and 9, there are a full host of tools that you can use to enahnce user interactions and interfaces in your web apps.  One of those is the built in AJAX features.  While you can program your own, or even use an external javascript libarary, Coldfusion has it&#8217;s own, [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; display: block;">
<div>
<dl style="width: 276px;" class="wp-caption alignright">
<dt class="wp-caption-dt"><a href="http://commons.wikipedia.org/wiki/Image:HTML.svg"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/8/84/HTML.svg/266px-HTML.svg.png" alt="A graphical despiction of a very simple html d..." title="A graphical despiction of a very simple html d..." width="266" height="310"></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://commons.wikipedia.org/wiki/Image:HTML.svg">Wikipedia</a></dd>
</dl>
</div>
</div>
<h2>External Library?</h2>
<p>With Coldfusion 8 and 9, there are a full host of tools that you can use to enahnce user interactions and interfaces in your web apps.  One of those is the built in AJAX features.  While you can program your own, or even use an external javascript libarary, Coldfusion has it&#8217;s own, and it is very simple to use, cross-browser friendly and can be implemented in short order.</p>
<p>While you follow the rest of the post, do keep in mind that using the Coldfusion solution present, it does load files from your Coldfusion installation libraries.  These javascript files are sent to the browser just as any other javascript file.  Also remember that this is just one tag in the Coldfusion AJAX library &#8211; there are many others that support asynchronous form postings and much more.</p>
<h2>Using CFDIV</h2>
<p>The first thing you will want to do is import the necessary tag to use the cfdiv layout control.  You can do this by including <a class="quickcode" title="Code" href="javascript:toggleLayer('quickcode6221');">Quick Code</a></p>
<div id="quickcode6221" class="quickcode"><code>&lt;cfajaximport tags=&quot;cfdiv&quot;&gt;</code></div>
<p> The second thing is to ensure you have a .cfm file with the content you are loading into the cfdiv.  Say for this example we will call it content.cfm.</p>
<p>In your page, you simple call the cfdiv like you would a normal div layout container, with one exception &#8211; the bind parameter which tells it which .cfm page to load. Keep in mind, if you need to pass in url parameters, that is fully supported, making it that much more dynamic.</p>
<p><a class="quickcode" title="Code" href="javascript:toggleLayer('quickcode6222');">Quick Code</a></p>
<div id="quickcode6222" class="quickcode"><pre><code>&lt;cfdiv id=&quot;myDiv&quot; name=&quot;myDiv&quot; bind=&quot;url:content.cfm&quot;&gt;
&lt;/cfdiv&gt;</code></pre></div>
<h2>Putting it together</h2>
<p>To really make it work well, let&#8217;s show a sample page, complete with a simple javascript function that calls another Coldfusion ajax control, Coldfusion.navigate.  The Coldfusion.navigate function let&#8217;s us dynamically load the content into the cfdiv &#8211; so we could build a navigation menu and use that to dynamically load the content into our div.</p>
<p><a class="quickcode" title="Code" href="javascript:toggleLayer('quickcode6223');">Quick Code</a></p>
<div id="quickcode6223" class="quickcode"><pre><code>
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Test Coldfusion Divs&lt;/title&gt;
&lt;script&gt;
function loadContent()
{
Coldfusion.navigate(&quot;content.cfm&quot;, &quot;myDiv&quot;);
}
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;javascript: loadContent();&quot;&gt;Change Content&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;cfdiv id=&quot;myDiv&quot; name=&quot;myDiv&quot; bind=&quot;url:somestartercontent.cfm&quot;&gt;
&lt;/cfdiv&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre></div>
<p>Now, we have a basic page that will load somestartercontent.cfm when the page loads, and when the visitor clicks on the change content link, it will run the javascript function that calls the Coldfusion.navigate function.  This will load the content.cfm page into the myDiv div.  Note the Coldfusion.navigate function takes two parameters in this scenario &#8211; the page to load and the div to load it in.</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/c98ee811-5fcf-4f3f-aa20-7eeeac041eae/" title="Reblog this post [with Zemanta]"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=c98ee811-5fcf-4f3f-aa20-7eeeac041eae" alt="Reblog this post [with Zemanta]"></a><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2010/01/08/quick-coldfusion-ajax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Old West Meets High Tech</title>
		<link>http://www.southplattewebdesign.com/2009/11/03/old-west-meets-high-tech/</link>
		<comments>http://www.southplattewebdesign.com/2009/11/03/old-west-meets-high-tech/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 18:46:42 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[General Tech]]></category>
		<category><![CDATA[Internet Tools]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[cowboy]]></category>
		<category><![CDATA[cowboy technology]]></category>
		<category><![CDATA[High-Tech]]></category>
		<category><![CDATA[old west]]></category>
		<category><![CDATA[pbr]]></category>
		<category><![CDATA[Professional Bull Riders]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/?p=567</guid>
		<description><![CDATA[



Image via Wikipedia



What do Cowboys, Computers, the Web and Social Media all have in common?
They are joining forces to bring high-tech into the daily happenings of the Professional Bull Riders Built Ford Tough Series.  Through the use of social media, the web and computers (and by computers I mean desktops, laptops, netbooks, smartphones and [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; display: block;">
<div>
<dl style="width: 310px;" class="wp-caption alignright">
<dt class="wp-caption-dt"><a href="http://en.wikipedia.org/wiki/Image:Professional_Bull_Riders_logo.jpg"><img src="http://upload.wikimedia.org/wikipedia/en/thumb/5/5a/Professional_Bull_Riders_logo.jpg/300px-Professional_Bull_Riders_logo.jpg" alt="Professional Bull Riders" title="Professional Bull Riders" height="301" width="300"></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://en.wikipedia.org/wiki/Image:Professional_Bull_Riders_logo.jpg">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>What do Cowboys, Computers, the Web and Social Media all have in common?</p>
<p>They are joining forces to bring high-tech into the daily happenings of the Professional Bull Riders Built Ford Tough Series.  Through the use of social media, the web and computers (and by computers I mean desktops, laptops, netbooks, smartphones and more) they are expanding their reach into new markets, new genres and opening up the sport to a much wider audience than ever before.</p>
<p>The 2009 season has seen quite a few changes at the PBR &#8211; from the main web site (http://www.pbrnow.com) getting a complete face lift early on, to the event information pages being completely redone to provide more information and better timed, to using social media, such as Facebook, Twitter and MySpace to not only communicate with fans, but provide more pertinent information even faster, the PBR has expanded its high-tech offerings to the world at large in the digital age.</p>
<p>You can follow @teampbr on Twitter to get behind the scenes photos in real-time from the events, including the currently happening PBR World Finals.  They also provide some scores as they happen in real-time, along with photos of riders, bulls, opening ceremonies and more.  They also run some trivia and other fun items during the events to engage followers even more.  The same can be said for their MySpace and Facebook pages, with information going out faster and through more outlets than ever before.</p>
<p>One of the late offerings of 2009, which debuted two events prior to the PBR World Finals, was the addition of the Live Event Center.  What the Live Event Center brings to the fans is a real-time, live updated ride-by-ride scoring system viewable in their web browser.  Within seconds of a rider either riding a bull or bucking off, fans have the ability to see the rider score, buck-off-time if the rider bucked off and in all cases the bull&#8217;s score.  The fans now have the ability to see the scores and other information at times they cannot watch it on television or the broadcast is delayed rather than live.</p>
<p>Additionally, one of the staff writers, Keith Ryan Cartwright, is &#8220;live blogging&#8221; &#8211; sending updates every few rides with information about the riders, their rides, the bulls, their bucks and behind the scenes text commentary with the riders, and others.  This has been placed on to the live score page, so that visitors not only can see the scores, but then get a flight-by-flight &#8220;blog&#8221; update of all the action that gives some perspectives behind the scores.  So now visitors to the PBR site can not only get live scores, flight-by-flight commentary, but they can follow the @teamPBR team and get some photos from in arena as well as other updates in regards to the rides, riders, bulls, bull fighters and more.</p>
<p>If that were not enough, for the debut of the 2009 PBR World Finals, visitors to http://www.pbrnow.com can click on the live photo page and get a very special treat.  Andy and Matt from Bull Stock Media, the official photographers and stock provider to the PBR, are posting real-time live in-arena photos.  These are in-your-face photos of the bulls, the riders, the rides &#8211; all the dirt, grime and hustle that makes the PBR <strong><em>THE</em></strong> <em>Toughest Sport on Dirt</em>.  The photos are posted from the start of the show, including the rider introductions, the bull introductions, during the presenting of the American Flag, all the way through to the round winner circle, and eventually at the close of the 2009 World Finals World Champion ceremony.</p>
<p>Combine all of that with a mobile powered web site with the latest news and feature stories, http://mobull.pbrnow.com, blogs from some of the best in the businesses, including 9-time World Champion Ty Murray, and a complete online Audio podcast and Video archive located at http://pbr.tv &#8211; it is easy to see how the Toughest Sport on Dirt is fast becoming a high-tech sport &#8211; reaching new fans, new avenues and generating more content for viewers than ever before.</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/9d8a419a-48dc-4329-8291-a1873ec5fd39/" title="Reblog this post [with Zemanta]"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=9d8a419a-48dc-4329-8291-a1873ec5fd39" alt="Reblog this post [with Zemanta]"></a><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2009/11/03/old-west-meets-high-tech/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ColdFusion and MSSQL NText Fields</title>
		<link>http://www.southplattewebdesign.com/2009/08/04/coldfusion-and-mssql-ntext-fields/</link>
		<comments>http://www.southplattewebdesign.com/2009/08/04/coldfusion-and-mssql-ntext-fields/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 04:38:31 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/?p=551</guid>
		<description><![CDATA[



Image via Wikipedia



Late last week I was working on some new changes to PBR&#8217;s web site (my employer) and ran into a nasty snag of an issue.  I was pulling data out of a table, and for an exceptionally strange reason, seemingly random HTML kept appearing in the source code.  Needless to say, [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; display: block;">
<div>
<dl style="width: 310px;" class="wp-caption alignright">
<dt class="wp-caption-dt"><a href="http://commons.wikipedia.org/wiki/Image:Emp_Tables_%28Database%29.PNG"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/8/87/Emp_Tables_%28Database%29.PNG/300px-Emp_Tables_%28Database%29.PNG" alt="Computer science" title="Computer science" height="101" width="300"></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://commons.wikipedia.org/wiki/Image:Emp_Tables_%28Database%29.PNG">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>Late last week I was working on some new changes to <a href="http://www.pbrnow.com">PBR&#8217;s</a> web site (my employer) and ran into a nasty snag of an issue.  I was pulling data out of a table, and for an exceptionally strange reason, seemingly random HTML kept appearing in the source code.  Needless to say, this HTML was breaking the layout I had been working towards and boggled not only my mind, but our SVP of IT&#8217;s mind as well.</p>
<p>In the end, we ended up changing the field type as it was held in the Microsoft SQL database.  The field was originally set to be an ntext field, and we changed it to a varchar field, as it really had no purpose being an ntext field in the first place, but that&#8217;s another story.  After we made the change, we did lose some data on the resulting trimming of the data field, however the parts that were trimmed were already migrated to another field, so big loss.</p>
<p>As soon as we changed this, the HTML injections ceased.  What happened?  I have put some sample code below to illustrate it.</p>
<p>What the code should have came out to be.</p>
<p><a class="quickcode" title="Code" href="javascript:toggleLayer('quickcode5511');">Quick Code</a></p>
<div id="quickcode5511" class="quickcode"><pre><code>
&lt;div id=&quot;myDiv&quot;&gt;
&nbsp;&nbsp;&nbsp;&nbsp; &lt;p class=&quot;indentClass&quot;&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;My content was coming out of the db here
&nbsp;&nbsp;&nbsp;&nbsp; &lt;/p&gt;
&lt;/div&gt;
</code></pre></div>
<p>What the code actually came out to be before we changed the field type.<br />
<a class="quickcode" title="Code" href="javascript:toggleLayer('quickcode5512');">Quick Code</a></p>
<div id="quickcode5512" class="quickcode"><pre><code>
&lt;div id=&quot;myDiv&quot;&gt;
&nbsp;&nbsp;&nbsp;&nbsp; &lt;p class=&quot;indentClass&quot;&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/p&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;My content out of the db here&lt;/p&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;&lt;/p&gt;
&lt;/div&gt;
</code></pre></div>
<p>You can see that my opening paragraph tag was automatically closed, a new one started and closed after the database content was published, and an empty paragraph added at the end.</p>
<p>Now it is possible that the site, with the many thousands of pages and hundreds of thousands of lines of code specified this in a CFC or CFTAG file &#8211; in other words it was tied to the field name/type to force the HTML output, but I could not find it anywhere.</p>
<p>Any thoughts or experience you may have on this?  Share them in the comments.</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/2b743204-6f88-437c-93b6-f50353ea70ab/" title="Reblog this post [with Zemanta]"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=2b743204-6f88-437c-93b6-f50353ea70ab" alt="Reblog this post [with Zemanta]"></a><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2009/08/04/coldfusion-and-mssql-ntext-fields/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why clean code and markup matters on a web site</title>
		<link>http://www.southplattewebdesign.com/2009/07/14/why-clean-code-and-markup-matters-on-a-web-site/</link>
		<comments>http://www.southplattewebdesign.com/2009/07/14/why-clean-code-and-markup-matters-on-a-web-site/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 05:19:35 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Search Engines]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Markup language]]></category>
		<category><![CDATA[pbr]]></category>
		<category><![CDATA[Professional Bull Riders]]></category>
		<category><![CDATA[Search engine optimization]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/?p=537</guid>
		<description><![CDATA[



Image via Wikipedia



I work for the Professional Bull Riders, Inc. in the capacity of Web Developer (Visit the PBR Online.  Recently we have been looking at making changes to the site, adding more content pages, restructuring the layout on some of the internal pages to be more modern looking and reviewing search engine optimization [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; display: block;">
<div>
<dl style="width: 285px;" class="wp-caption alignright">
<dt class="wp-caption-dt"><a href="http://commons.wikipedia.org/wiki/Image:HTML.svg"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/8/84/HTML.svg/275px-HTML.svg.png" alt="A graphical despiction of a very simple html d..." title="A graphical despiction of a very simple html d..." width="275" height="313"></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://commons.wikipedia.org/wiki/Image:HTML.svg">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>I work for the Professional Bull Riders, Inc. in the capacity of Web Developer (<a href="http://www.pbrnow.com">Visit the PBR Online</a>.  Recently we have been looking at making changes to the site, adding more content pages, restructuring the layout on some of the internal pages to be more modern looking and reviewing search engine optimization and marketing.</p>
<p>All of this is necessary for growth, sustained visitors, enhancements and general creating forward motion on any given web site, especially for one that is in the top tier of sports entertainment.  The issue happens, as it has happened at countless other enterprises, the code base is getting older, has been touched by many programmers over the years and is nearing point of needing to be completely rewrote to be modernized.  That happens.  No question.</p>
<p>The discussion here is, does clean, well commented code help sustainability in an application, including a web application?  Short answer is yes.  Does valid HTML markup do the same?  Again, the short answer is yes.  If the code base that exists is written using proper and valid HTML/XHTML markup, and is commented properly or document properly to give other developers a decent idea of the logic behind any given subset of functions, routines and other logic to understand what was being done and why.  It also helps for the same developer when he/she needs to go back and make changes on code that may have been written months, even years prior.</p>
<p>As we move forward at my place of employment, we are looking at various platforms, ideas and methodologies to create a platform that is extensible, pliable and can be built upon in the future.  This platform, as it will become, will be something that can be built upon to create the best possible presence, as any enterprise should have a goal of accomplishing.  </p>
<p>So does clean code and markup matter?  Yes it does, and if your enterprise, business, or site is lacking in that area, shouldn&#8217;t it be about time to correct that situation?</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/40cc0202-836c-4026-bbd0-06236d0397f1/" title="Reblog this post [with Zemanta]"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=40cc0202-836c-4026-bbd0-06236d0397f1" alt="Reblog this post [with Zemanta]"></a><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2009/07/14/why-clean-code-and-markup-matters-on-a-web-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Been A While &#8211; .Net Coldfusion and More</title>
		<link>http://www.southplattewebdesign.com/2009/06/30/been-a-while-net-coldfusion-and-more/</link>
		<comments>http://www.southplattewebdesign.com/2009/06/30/been-a-while-net-coldfusion-and-more/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 05:46:34 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/?p=531</guid>
		<description><![CDATA[Obviously, it has been a while since I have posted on my blog.  Quite simply after starting my full time employment contract I have not had time.  Why?  I am working long hours doing many new things &#8211; such as programming in Coldfusion and .Net.
I took on a position of web developer [...]]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_533" class="wp-caption alignleft" style="width: 310px"><a href="http://www.southplattewebdesign.com/wp-content/uploads/2009/06/code_snippet.jpg"><img src="http://www.southplattewebdesign.com/wp-content/uploads/2009/06/code_snippet-300x300.jpg" alt=".Net Code Snippet" title=".Net Code Snippet" width="300" height="300" class="size-medium wp-image-533" /></a><p class="wp-caption-text">.Net Code Snippet</p></div>Obviously, it has been a while since I have posted on my blog.  Quite simply after starting my full time employment contract I have not had time.  Why?  I am working long hours doing many new things &#8211; such as programming in Coldfusion and .Net.</p>
<p>I took on a position of web developer and have now setup 2 Linux servers, coded a C# .Net app from the ground up and am looking at major site updates using Coldfusion.  While entertaining, fun and challenging, it has meant a bit longer days at work than I had anticipated &#8211; however I am NOT complaining in the least amount.  I have a full time job and am paying bills and getting caught up on things.  That&#8217;s always good!</p>
<p>The past week and a half has brought more changes &#8211; I was told we are going to look at revamping the entire site and work and will be doing it in VB.Net, so more learning, which is one of the things I love most about IT and web development &#8211; the constant learning, expanding and maintenance of knowledge.  With that, we are looking at making it easier to get content out, expanding on and integrating more with social media and getting an infrastructure in place that will allow forward motion, expansion and easier maintenance.  This also means a more enhanced visitor and site user experience, which is always something that is highly important.</p>
<p>The other thing of note, is that I will try my best as I go through Coldfusion and .Net programming to get some tutorials, how-to&#8217;s and other related posts up on those subjects.  I will be learning quite rapidly and am sure to have some struggles to fight through, and those are the items I would like to post about.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2009/06/30/been-a-while-net-coldfusion-and-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Three Simple Yet Effective PHP Tips and Tricks</title>
		<link>http://www.southplattewebdesign.com/2009/04/16/three-simple-yet-effective-php-tips-and-tricks/</link>
		<comments>http://www.southplattewebdesign.com/2009/04/16/three-simple-yet-effective-php-tips-and-tricks/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 17:47:20 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php tips tricks]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/?p=496</guid>
		<description><![CDATA[Working on some freelance projects and personal projects recently, I found myself needing to do some simple things in PHP that actually had some great value in the end.  I share these now in hopes that they will help someone else.

Adjusting Case Sensitivity &#8211; You can use the following code to take any string [...]]]></description>
			<content:encoded><![CDATA[<p>Working on some freelance projects and personal projects recently, I found myself needing to do some simple things in PHP that actually had some great value in the end.  I share these now in hopes that they will help someone else.</p>
<ol>
<li><strong>Adjusting Case Sensitivity</strong> &#8211; You can use the following code to take any string and perform an initial caps on it.  The outer function ucfirst performs the first letter capitalization, while the strtolower will automatically convert the entire string to lower case first.  This allow any string with mixed case to be converted to initial caps on the first word.</li>
<p><a class="quickcode" title="Code" href="javascript:toggleLayer('quickcode4961');">Quick Code</a></p>
<div id="quickcode4961" class="quickcode"><pre><code>
&lt;?php
$myString = &quot;HellO TheRE&quot;;
echo ucfirst(strtolower($value));
?&gt;
</code></pre></div>
<li><strong>More Case Sensitivity</strong> &#8211; instead of using just ucfirst, why not take a look at ucwords.  This nifty little built-in PHP function will take and perform an initial cap on every word of a given string.  Again, we would probably want to run the string through strtolower to ensure only the initial caps was performed.  This may cause issues, however, if you are converting strings that contain acronyms or other words that are generally in all caps.</li>
<p><a class="quickcode" title="Code" href="javascript:toggleLayer('quickcode4962');">Quick Code</a></p>
<div id="quickcode4962" class="quickcode"><pre><code>
&lt;?php
$myString = &quot;cool PHP&quot;;
echo ucfirst($myString);
?&gt;
</code></pre></div>
<p>The output will be: Cool PHP</p>
<p>However using it this way, you can see how it would change the output:<br />
<a class="quickcode" title="Code" href="javascript:toggleLayer('quickcode4963');">Quick Code</a></p>
<div id="quickcode4963" class="quickcode"><pre><code>
&lt;?php
$myString = &quot;cool PHP&quot;;
echo ucfirst(strtolower($myString));
?&gt;
</code></pre></div>
<p>The out of that last one will become Cool Php.</p>
<li><strong>File Uploads</strong> &#8211; When you allow file uploads, say for web site owners to upload images, it is best to check to see if the file exists first and if so remove the old version first.  In this short example a filename is being dynamically built, but that is another discussion in another post.
<p>First, we build our file name &#8211; the second thing we do, since we are renaming and files to a standard naming convention is to check to see if the file exists.  In this case we used a unique ID, an underscore and the image file name being passed into this function.  You can use what ever you need to name your files.  Second, the if statement checks for the existence of the file, and if true it deletes it using the PHP unlink function, then copies the new file over and finally reports any errors.  If the file does not exist, the function simply moves to the else block and copies the new file.
</li>
<p><a class="quickcode" title="Code" href="javascript:toggleLayer('quickcode4964');">Quick Code</a></p>
<div id="quickcode4964" class="quickcode"><pre><code>
$fileName = &quot;images/&quot;.$id.&quot;_&quot;.$image;
&nbsp;&nbsp;&nbsp;&nbsp;if(file_exists($fileName))
&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unlink($fileName);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$copied = move_uploaded_file($_FILES[&#039;form_element_name][&#039;tmp_name&#039;], $fileName);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(!copied) 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;upload failed for image &quot;.$fileName.&quot; or you didn&#039;t upload that file &lt;br /&gt;&quot;;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;else
&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$copied = move_uploaded_file($_FILES[&#039;form_element_name&#039;][&#039;tmp_name&#039;], $fileName);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(!copied) 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;upload failed for image &quot;.$fileName.&quot; or you didn&#039;t upload that file &lt;br /&gt;&quot;;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;}
</code></pre></div>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2009/04/16/three-simple-yet-effective-php-tips-and-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Theme Launched</title>
		<link>http://www.southplattewebdesign.com/2009/04/11/new-theme-launched/</link>
		<comments>http://www.southplattewebdesign.com/2009/04/11/new-theme-launched/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 19:12:57 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Off-Topic]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/?p=482</guid>
		<description><![CDATA[Just put up a new theme on the blog.  It&#8217;s my first customization attempt at a Wordpress theme.  Let me know what you think!  I tried to keep it clean and simple, much better readability I think than the old black background with white text theme I had.
I do still have some [...]]]></description>
			<content:encoded><![CDATA[<p>Just put up a new theme on the blog.  It&#8217;s my first customization attempt at a Wordpress theme.  Let me know what you think!  I tried to keep it clean and simple, much better readability I think than the old black background with white text theme I had.</p>
<p>I do still have some items to change and tweak up, but that&#8217;s okay.  I had to publish it at this point, or else it probably never would get done &#8211; at least only having a few tweaks left will motivate me to get them done since it is  now live.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2009/04/11/new-theme-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
