<?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>Contrast Logic Blog</title>
	<atom:link href="http://www.contrastlogic.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.contrastlogic.com/blog</link>
	<description>The Logic of Contrast</description>
	<lastBuildDate>Fri, 11 Nov 2011 14:09:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>What is the cloud?</title>
		<link>http://www.contrastlogic.com/blog/what-is-the-cloud</link>
		<comments>http://www.contrastlogic.com/blog/what-is-the-cloud#comments</comments>
		<pubDate>Fri, 11 Nov 2011 13:58:34 +0000</pubDate>
		<dc:creator>Jason Hanrahan</dc:creator>
				<category><![CDATA[business resources]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[the cloud]]></category>

		<guid isPermaLink="false">http://www.contrastlogic.com/blog/?p=95</guid>
		<description><![CDATA[Just about anything these days that aims to demystify the misunderstandings of ambiguous internet terminology almost always starts with a wikipedia definition. So, who am I to go against the grain? Cloud computing is the delivery of computing as a service rather than a product, whereby shared resources, software, and information are provided to computers [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_96" class="wp-caption alignright" style="width: 310px"><img class="size-medium wp-image-96 img_block" title="Sky and clouds 7" src="http://www.contrastlogic.com/blog/wp-content/uploads/2011/11/1366768_93290072-300x200.jpg" alt="" width="300" height="200" /><p class="wp-caption-text">The Cloud</p></div>
<p>Just about anything these days that aims to demystify the misunderstandings of ambiguous internet terminology almost always starts with a wikipedia definition. So, who am I to go against the grain?</p>
<blockquote><p><strong>Cloud computing</strong> is the delivery of <a title="Computing" href="http://en.wikipedia.org/wiki/Computing">computing</a> as a <a title="Service (economics)" href="http://en.wikipedia.org/wiki/Service_%28economics%29">service</a> rather than a <a title="Product (business)" href="http://en.wikipedia.org/wiki/Product_%28business%29">product</a>, whereby shared resources, software, and information are provided to computers and other devices as a <a title="Utility computing" href="http://en.wikipedia.org/wiki/Utility_computing">utility</a> (like the <a title="Electrical grid" href="http://en.wikipedia.org/wiki/Electrical_grid">electricity grid</a>) over a <a title="Computer network" href="http://en.wikipedia.org/wiki/Computer_network">network</a> (typically the <a title="Internet" href="http://en.wikipedia.org/wiki/Internet">Internet</a>).</p>
<p>- Wikipedia</p></blockquote>
<p>So, what does it actually mean, and why You should care?<br />
<span id="more-95"></span><br />
We are all familiar that the evolutionary rate of electronics and computers is about 6 months (give or take). Meaning just about every six months, that brand new computer you bought is loosing value and could possibly be obsolete. The life of the internet is even faster, new technology emerges on a daily basis. What this means is that your business needs to stay with the time. We are in the digital revolution and life is only going to become more connected.</p>
<p>With cloud computing, the days of hardware upgrades, software installation, and software updates are gone. The software to run your business could be built in a matter of weeks and you only need to open a web browser to access it. Best of all, its available on your work computer, home computer, your iPhone or Droid, and even on your iPad. No installation needed, no configuration, no testing, etc. It&#8217;s always available, where ever you are.</p>
<p>With all the connectivity and availability, one might be motivated to ask, &#8220;Is the Cloud secure?&#8221;</p>
<p>This would be a very relevant question to ask, because after all&#8230; your business information is stored in a database on multiple servers somewhere. Is it possible that that information could be accessed without your knowledge? Absolutely. I&#8217;m sorry to say it, but there is no such thing as absolute security. If its on a network, it could theoretically be hacked. Even government servers have been hacked. However, this is not to say your information is not secure. Because it very well is. For everyday internet operations, your business information is probably about 99% secure. Most of the &#8216;major&#8217; hacker associations likely do not care about the information you have.</p>
<p>To conclude this article, cloud computing brings your business to new levels of connectivity, allowing for greater potential and lower overhead costs. Is it risky, well, yea. Everything on the internet is risky. But I wouldn&#8217;t let that dissuade you from pushing forward. As long as the best practices are followed, such as not giving out your username and password, you&#8217;ll be safe.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.contrastlogic.com/blog/what-is-the-cloud/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Your Website Should Work For You, Not Against You</title>
		<link>http://www.contrastlogic.com/blog/your-website-should-work-you</link>
		<comments>http://www.contrastlogic.com/blog/your-website-should-work-you#comments</comments>
		<pubDate>Fri, 11 Nov 2011 13:15:29 +0000</pubDate>
		<dc:creator>Jason Hanrahan</dc:creator>
				<category><![CDATA[business objectives]]></category>
		<category><![CDATA[business resources]]></category>
		<category><![CDATA[ROI]]></category>

		<guid isPermaLink="false">http://www.contrastlogic.com/blog/?p=88</guid>
		<description><![CDATA[If your spending a bunch of your budget on professional web development services, your website should do it&#8217;s job. What is it&#8217;s job? It&#8217;s different for every business, but it usually boils down to getting you more clients. More clients = more revenue. And more revenue leads to a much better ROI for your web [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_80" class="wp-caption alignleft" style="width: 235px"><img class="size-full wp-image-80 img_block " title="963825_36164621-225x300" src="http://www.contrastlogic.com/blog/wp-content/uploads/2011/10/963825_36164621-225x300.jpg" alt="" width="225" height="300" /><p class="wp-caption-text">Your website should earn</p></div>
<p>If your spending a bunch of your budget on professional web development services, your website should do it&#8217;s job.</p>
<p>What is it&#8217;s job? It&#8217;s different for every business, but it usually boils down to getting you more clients. More clients = more revenue. And more revenue leads to a much better ROI for your web presence.</p>
<h4>Your website needs to be a profit center&#8230;</h4>
<p>Now, let&#8217;s take a step back for a moment. Just because your hired a web developer doesn&#8217;t exactly mean your site is going to work for you out of the box. It does require specific routine steps on your part as the business owner.</p>
<p>Think of your website as the hub of your web presence. Every thing from lead generation, social media strategy, SEO campaign, email marketing, ppc, and whatever else your using all lead here. Your website should be the Times Square of your web presence.</p>
<p><span id="more-88"></span></p>
<p>To get a better advantage and move in the right direction, you need to get a better understanding of a few things first. You may know all of this already, but that&#8217;s ok. Sometimes, you may just need to see things from a separate angle to get a different understanding.</p>
<h4>You have to attract attention to your website.</h4>
<p>The more people you have visiting your site, the more chances of lead generation. Obviously this sounds incredibly simple. And it is, but with a catch. If your site looks like it was designed more than 4 years ago, it&#8217;s likely already been far surpassed in the technology of the internet. Make sure you have a good design. And by good design, that means something you will like and will attract visitors. Without getting too off topic, your site should <em>a) Look good, b) be functionally easy to use and understand, &amp; c) be up to date</em>.</p>
<h4>Provide an incentive for your visitor&#8217;s loyalty. Start a blog!</h4>
<p>If you start regularly educating your visitors with good information. You can quickly be seen as an expert in your field, increasing the chances that a visitor will come to you for service because you have the answers. Blogs create dynamic content on your site, allowing new, relevant information to be available much easier. These days the word blog can seem overused, almost ignored when mentioned. But, if you provide quality content &#8211; you can build a following.</p>
<p>A properly developed site these days (at the time of writing it is the last quarter of 2011) should be built into some type of Content Management System – or CMS, simply makes it easier &amp; more efficient to update the data on your site.</p>
<p>Wikipedia has a real complicated definition of what a CMS is, but all you need to know is this &#8211; They are simple to operate and most importantly, You should have one. This topic goes beyond the scope of this article, however you can read an upcoming article.</p>
<p>The bottom line is this. Look at your website as an investment. With time and appropriately spent funding you should see additional gains for your business.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.contrastlogic.com/blog/your-website-should-work-you/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Permalinks 404 Error (Ubuntu)</title>
		<link>http://www.contrastlogic.com/blog/wordpress-permalinks-404-error-ubuntu</link>
		<comments>http://www.contrastlogic.com/blog/wordpress-permalinks-404-error-ubuntu#comments</comments>
		<pubDate>Sat, 15 Oct 2011 14:07:16 +0000</pubDate>
		<dc:creator>Jason Hanrahan</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Programing]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualhost]]></category>

		<guid isPermaLink="false">http://www.contrastlogic.com/blog/?p=31</guid>
		<description><![CDATA[So, I just switched my hosting from 1and1.com to a Rackspace Cloud Server, which so far I am extremely satisfied. With this Cloud Server I now have total control over the development environment and that&#8217;s important to me. Back to where I started&#8230; I created my new Ubuntu setup with a default LAMP stack. But [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-81 img_block" title="404" src="http://www.contrastlogic.com/blog/wp-content/uploads/2011/10/question-300x264.jpg" alt="" width="210" height="185" />So, I just switched my hosting from 1and1.com to a Rackspace Cloud Server, which so far I am extremely satisfied. With this Cloud Server I now have total control over the development environment and that&#8217;s important to me.</p>
<p>Back to where I started&#8230; I created my new Ubuntu setup with a default LAMP stack. But I wanted to add this blog for several reasons. The wordpress install went smooth as ever, however once I changed the permalinks, the posts and pages defaulted to a 404 error. And thus I was stuck. The <code>.htaccess</code> file was properly setup and all file permissions were correct, but still couldn&#8217;t figure it out.<span id="more-31"></span></p>
<p>Google turned up with many responses to the exact same problem which all seemed to be related to mod_rewrite not being enabled in apache. The response was mostly to run this command:</p>
<pre class="brush: bash; title: ; notranslate">

a2enmod rewrite
</pre>
<p>However, in my situation the module rewrite was already enabled. So this did not solve my problem.</p>
<p>So it dawned on me&#8230; In my VirtualHost setup was the problem. You might need to check your /etc/apache2/httpd.conf file for this.</p>
<pre class="brush: bash; title: ; notranslate">
&lt;Directory /&gt;
 Options FollowSymLinks
 AllowOverride None
 Order deny,allow
 Deny from all
&lt;/Directory&gt;
</pre>
<p>There&#8217;s the culprit: AllowOverride None &#8211; change this to:</p>
<pre class="brush: bash; title: ; notranslate">

AllowOverride All
</pre>
<p>There are two locations to change this, so make sure you modify both. That&#8217;s it, it should work afterwards.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.contrastlogic.com/blog/wordpress-permalinks-404-error-ubuntu/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Development Guidelines for Proper PSD to HTML (Part I)</title>
		<link>http://www.contrastlogic.com/blog/development-guidelines-psd-html</link>
		<comments>http://www.contrastlogic.com/blog/development-guidelines-psd-html#comments</comments>
		<pubDate>Fri, 14 Oct 2011 23:27:15 +0000</pubDate>
		<dc:creator>Jason Hanrahan</dc:creator>
				<category><![CDATA[development guide]]></category>
		<category><![CDATA[Programing]]></category>

		<guid isPermaLink="false">http://www.contrastlogic.com/blog/?p=1</guid>
		<description><![CDATA[Let me begin by saying this is not a How To post on creating an HTML page from a PSD. There are plenty of other really good sources and tutorials out there. This is simply a best practices guideline that I have been wanting to put together for some time now. In my day to [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_12" class="wp-caption alignleft" style="width: 280px"><img class="size-medium wp-image-12 img_block " title="Classes and Id's" src="http://www.contrastlogic.com/blog/wp-content/uploads/2011/10/Screen-shot-2011-10-14-at-5.12.05-PM-300x119.png" alt="Tag names should make sense" width="270" height="107" /><p class="wp-caption-text">If it doesn&#39;t make sense, or it&#39;s not spelled correct... change it!</p></div>
<p>Let me begin by saying this is not a How To post on creating an HTML page from a PSD. There are plenty of other really good sources and tutorials out there. This is simply a best practices guideline that I have been wanting to put together for some time now. In my day to day work, I often have to outsource certain jobs like PSD to HTML to contractors. It&#8217;s not that I don&#8217;t know how to do it, but more like, I shouldn&#8217;t have to do it. I focus more on writing heavy PHP framework based applications with database integration. So, needless to say my time is better spent programing rather than slicing a psd file. So if your a freelancer, contractor, just starting out, or whatever and you find yourself converting PSD&#8217;s to HTML&#8230; PLEASE USE THIS GUIDELINE!<span id="more-1"></span></p>
<p>There is nothing worse than handing a job off to someone, only to get it back and have to decipher it. My job is to take the newly created HTML page and make it dynamic, work it into my framework so that it is now a pseudo life form (in the interwebs speaking of course). I shouldn&#8217;t have to re-write or significantly modify this code, it defeats the purpose of delegating it in the first place. Some modification is understandable, almost necessary. But some things, should be looked at with a broader eye or sifted through with a finer tooth comb. We&#8217;ll go in no particular order&#8230;</p>
<ol>
<li><strong>Make Sure All Classes and ID names make sense.</strong>
<div id="attachment_12" class="wp-caption alignright" style="width: 310px"><img class="size-medium wp-image-12" title="Classes and Id's" src="http://www.contrastlogic.com/blog/wp-content/uploads/2011/10/Screen-shot-2011-10-14-at-5.12.05-PM-300x119.png" alt="Tag names should make sense" width="300" height="119" /><p class="wp-caption-text">If it doesn&#39;t make sense, or it&#39;s not spelled correct... change it!</p></div>
<p>This might seem like a no brainer to some, but it happens way to often when I hire a new contractor.<br />
Don&#8217;t use tag names such as &#8220;block-75&#8243;, &#8220;layer56&#8243;, etc. This doesn&#8217;t help someone reading the code attempting to make an update. The tags should be descriptive, they should tell whoever is looking at the code exactly what element it is they are looking at. Something descriptive can be as easy as &#8220;sidebar&#8221;, &#8220;footer&#8221;, &#8220;header-navigation&#8221;, &#8220;right-panel&#8221;, &#8220;content&#8221;, etc.<br />
And, here is the biggest pet peeve of it all&#8230; by all means, please, and I mean pretty please Spell The Words Correctly! There is nothing more frustrating that working with code that has spelling errors in it. Even if the misspellings are consistent, and the site throws no errors&#8230; it&#8217;s just difficult to read. Properly written code should require very few comments, because it can be read and understood easily.</li>
<li><strong>Indent your code for clarity.<br />
</strong>There is nothing more annoying than code that is not indented. It makes it difficult to read. Take a look at the following code:</p>
<div id="attachment_22" class="wp-caption aligncenter" style="width: 646px"><img class="size-full wp-image-22      " title="Indented Code Comparison" src="http://www.contrastlogic.com/blog/wp-content/uploads/2011/10/indented-code.jpg" alt="" width="636" height="187" /><p class="wp-caption-text">The difference between the two is measurable by the extra amount of time spent attempting to figure it out</p></div>
<p>Clarity in your code can literally save another developer (and yourself) a lot of time when it comes to debugging, modifying, or updating the code. Keep it neat, and formatted. Each containing element&#8217;s children should be indented by 1 tab, thus showing that it is essentially contained &#8216;inside&#8217; of that element. The next point can be incorporated with this, but it has its own importance.</li>
<li><strong>Label your closing tags&#8230;<br />
</strong>If you have 985 lines of code on a single page, that is a lot of code to read. If you open the tag <code>div id="container"&gt;</code> on line 5, but don&#8217;t close that <code> &lt;div&gt;</code> tag until line 974, that closing tag can get lost and deleted by mistake if your not careful. Instead, make it easy to understand what each closing tag is by adding a comment to the end of the tag. For example, your closing tag for the <code>&lt;div id="container"&gt;</code> should look something like this: <code>&lt;/div&gt;&lt;</code>!&#8211; EOF #container &#8211;&gt;. The EOF simply stands for &#8216;End of&#8217; and you don&#8217;t <em>have to </em>use it, but I&#8217;d recommend it. The next part is the actual tag identification a # for id, and a .(period) for classes, followed by the name. Just as you would for a css declaration.</li>
<li><strong>Create a basic template system, it&#8217;ll keep things consistent.</strong><br />
Short of writing an entire tutorial on creating a basic template, just understand that taking advantage of 1 very simple PHP function, you can write 1 header file that has the static content of your website, such as the navigation. This way, if your navigation is complicated and has over 5 links to other areas of the site, you only have to update 1 file to make a change as opposed to 5+ files. Modifying 1 page leaves less room for error, and cuts your time down to a fraction of what it would have taken you. This also applies to the footer.<br />
Take the navigation section of your html page and cut/paste it into a blank page. Save this page as header.php and don&#8217;t worry if you know nothing about php, because you won&#8217;t have to. In the original file you cut the code out of, go ahead and rename the extension to .php. This will allow us to take advantage of the <code>include_once();</code>function. In the area where you cut the code out of add this code:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php include_once('path/to/header.php'); ?&gt;
</pre>
<p><code></code>Make sure what goes inside the singe quotes is the filepath to the header.php page. And when the browser parses the site, it&#8217;ll render the page as though that code were still there.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.contrastlogic.com/blog/development-guidelines-psd-html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

