<?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>The Web Development Blog &#187; Tips</title>
	<atom:link href="http://www.thewebdevelopmentblog.com/category/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thewebdevelopmentblog.com</link>
	<description>News, tips, scripts and tutorials for web developers.</description>
	<lastBuildDate>Thu, 25 Aug 2011 11:15:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>CSS3 Today! Introduction to CSS3.</title>
		<link>http://www.thewebdevelopmentblog.com/2011/06/css3-today-introduction-to-css3/</link>
		<comments>http://www.thewebdevelopmentblog.com/2011/06/css3-today-introduction-to-css3/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 01:05:06 +0000</pubDate>
		<dc:creator>Jason Stockton</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.thewebdevelopmentblog.com/?p=469</guid>
		<description><![CDATA[Even though the CSS3 spec is not 100% complete, all the major browsers are now supporting it making it ready to use today! Due to the spec not being finish thought you generally have to use the browser prefix so it can get a little long winded&#8230; None the less, you can achieve so much [...]]]></description>
			<content:encoded><![CDATA[<p>Even though the CSS3 spec is not 100% complete, all the major browsers are now supporting it making it ready to use today! Due to the spec not being finish thought you generally have to use the browser prefix so it can get a little long winded&#8230; None the less, you can achieve so much more than with javascript alone.</p>
<p><span id="more-469"></span>With CSS3 there is a lot to learn, and instead of me trying to cover it all in one article I will be posting some tutorials and demo&#8217;s over the coming months on how to do various things. But I do want to cover a few basics before we go into those tutorials.</p>
<p>First things first, if you&#8217;re still using images for round edges, stop! All modern browsers support round edges via CSS3 and the code is really easy&#8230; (Older versions of browsers including IE will roll back to square edges, but those users deserve to miss out for not upgrading their browser haha).</p>
<pre><code>
border-radius: 15px;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
-o-border-radius: 15px;
-ms-border-radius: 15px;
</code></pre>
<p>&nbsp;</p>
<p>Okay&#8230; It seems like a fair bit of code&#8230; But once the full spec is complete you&#8217;ll only need the first line. For now this will cover the leading browsers (Safari, Chrome, Firefox, Opera and IE9+).</p>
<p>Secondly, fonts. Too many times I see site using cufon, sifr or other attempts at using non-standard fonts. ALL the major browsers support the font-face tag as standard and there are many website that will generate the fonts and code for you. My preference is <a title="Font 2 Web" href="http://www.font2web.com/" target="_blank">http://www.font2web.com/</a> but <a title="Font Squirrel" href="http://www.fontsquirrel.com/fontface/generator" target="_blank">http://www.fontsquirrel.com/fontface/generator</a> is also good&#8230; They will provide the CSS code which you put in your stylesheet, then you can select call the font-family in just like you would a standard font. It&#8217;s really easy to do.</p>
<p>Lastly, gradients&#8230; Relatively easy to do as well is CSS 3 gradients. These can be a bit trickier but there are some good tools to help you generate background gradients so you can stop using images. Try <a title="Create CSS 3 code" href="http://www.createcss3.com/" target="_blank">http://www.createcss3.com/</a> for basic linear gradients or <a title="Gradient Editor" href="http://www.colorzilla.com/gradient-editor/" target="_blank">http://www.colorzilla.com/gradient-editor/</a> for more advanced gradients with colour stops etc.</p>
<p>In future demos I&#8217;ll cover more but these are the 3 key ones you should be using today. In future tutorials I&#8217;ll cover transforms, transitions, animations, shadows and much much more! Stay Tuned.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thewebdevelopmentblog.com/2011/06/css3-today-introduction-to-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The importance of marketing for your web app or brand [video]</title>
		<link>http://www.thewebdevelopmentblog.com/2009/10/the-importance-of-marketing-for-your-web-app-or-brand/</link>
		<comments>http://www.thewebdevelopmentblog.com/2009/10/the-importance-of-marketing-for-your-web-app-or-brand/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 06:03:03 +0000</pubDate>
		<dc:creator>Jason Stockton</dc:creator>
				<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[FOWA]]></category>
		<category><![CDATA[Small Business Hub]]></category>

		<guid isPermaLink="false">http://thewebdevelopmentblog.com/?p=389</guid>
		<description><![CDATA[Those who are familiar with me will know I&#8217;m very passionate about marketing. It is the most important part of any web application or business. The reason I say this is because even if you have the worst web application in the world, providing you have the right marketing you can be making great money. [...]]]></description>
			<content:encoded><![CDATA[<p>Those who are familiar with me will know I&#8217;m very passionate about marketing. It is <strong>the most</strong> important part of any web application or business. The reason I say this is because even if you have the worst web application in the world, providing you have the right marketing you can be making great money. Obviously as a developer you want to make your web application better than everyone else&#8217;s &#8211; which is great! But if you don&#8217;t market it properly and put in the effort to market it properly you&#8217;re highly unlikely to make any money.</p>
<p><span id="more-389"></span></p>
<p>At the FOWA London 2009 Alex Hunter did a very interesting talk on marketing that is a <strong>must see</strong> for anyone in the web industry. In his talk he covers things such as putting a face to your company and becoming a person which I covered previously in my recent article about social media marketing on the <a href="http://smallbusinesshub.com.au/?p=371" target="_blank">small business hub</a>. He also talks about being real, putting in the effort to make your venture work and how the world has changed from the old way of doing business. Take the time to sit down and watch it, it just might change your world.</p>
<p><strong>Warning:</strong> <em>Contains material that may offend some viewers, but probably not you so don&#8217;t worry about it&#8230;</em></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="220" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=6969446&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="220" src="http://vimeo.com/moogaloop.swf?clip_id=6969446&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>I&#8217;m currently working on many of these things as I rebrand one of the companies I started as well as my new venture <a title="Cheap Australian Domain Names" href="http://www.superdomains.com.au/" target="_blank">Super Domains</a>.</p>
<p>If you need a further kick in the pants to convince you to get serious about your business &#8211; watch the below video also from FOWA London 2009 where Gary Vaynerchuk tell you about how it is time to put the time into your business, stop talking, and start doing.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="220" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=6942731&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="220" src="http://vimeo.com/moogaloop.swf?clip_id=6942731&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thewebdevelopmentblog.com/2009/10/the-importance-of-marketing-for-your-web-app-or-brand/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 handy tips for getting the most out of Coda</title>
		<link>http://www.thewebdevelopmentblog.com/2009/09/10-handy-tips-for-getting-the-most-out-of-coda/</link>
		<comments>http://www.thewebdevelopmentblog.com/2009/09/10-handy-tips-for-getting-the-most-out-of-coda/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 14:03:54 +0000</pubDate>
		<dc:creator>Jason Stockton</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[coda]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://thewebdevelopmentblog.com/?p=364</guid>
		<description><![CDATA[If you&#8217;re a web developer on Mac I encourage you to get your hands on Coda by Panic. It can handle just about all of your development needs and make coding much faster. If you&#8217;ve already got it then brilliant! I&#8217;m going to run through 10 tips to get the most out of Coda, some [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re a web developer on Mac I encourage you to get your hands on <a href="https://www.panic.com/coda/" target="_blank">Coda</a> by <a href="https://www.panic.com/">Panic</a>. It can handle just about all of your development needs and make coding much faster. If you&#8217;ve already got it then brilliant! I&#8217;m going to run through 10 tips to get the most out of Coda, some you may know, some you may not. It&#8217;s all part of the fun! Let&#8217;s see why Coda leave it&#8217;s competitors in the dark.</p>
<p><span id="more-364"></span></p>
<h2><strong>1. Sites</strong></h2>
<p>Stay organised with sites. This is the first feature you see when you open Coda. Sites allows you to setup a working directory, FTP account and much more for each site you&#8217;re working on. So you can just double click and get connected. By far one of the most valuable features of Coda.</p>
<p><a href="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-11.23.30-PM.png"><img class="alignnone size-medium wp-image-373" title="Sites" src="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-11.23.30-PM-300x185.png" alt="Sites" width="300" height="185" /></a></p>
<h2><strong>2. Books </strong></h2>
<p>What was that code again? You know when you have that mental blank and can&#8217;t remember a code for the life of you. With the built in books in coda you have complete references for HTML, CSS, Javascript and PHP. Perfect! Just hit the books tab.</p>
<p><img class="alignnone size-medium wp-image-365" title="Books" src="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-11.25.06-PM-300x164.png" alt="Books" width="300" height="164" /></p>
<h2>3. Visual CSS Editor</h2>
<p>If you work with CSS the visual CSS editor will save you a lot of time. CSS newbies will love it as well as it will make learning CSS a breeze.</p>
<p>To use the CSS editor, select your CSS file (or page that contains the CSS you want to edit) and click the &#8220;CSS&#8221; tab. To add a new style click the &#8220;+ Style&#8221; button on the bottom. Easy. All your styles and classes are listed down the left hand side, to edit it&#8217;s properties just enter the values in the visual editor.</p>
<p><a href="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-10.02.04-PM.png"><img class="alignnone size-medium wp-image-372" title="Visual CSS Editor" src="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-10.02.04-PM-300x193.png" alt="Visual CSS Editor" width="300" height="193" /></a></p>
<h2>4. Line Numbering</h2>
<p>Error on line 3078..? Where on earth is that? Turn line numbers on in your preferences (Coda -&gt; Preferences) under the Editor tab. Line numbers will show up on the left hand side of your files, you can also use the line numbers to select a whole line or multiple lines among other things.</p>
<p><a href="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-11.25.43-PM.png"><img class="alignnone size-medium wp-image-366" title="Line Numbering" src="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-11.25.43-PM-300x190.png" alt="Line Numbering" width="300" height="190" /></a></p>
<h2>5. Clips</h2>
<p>You know how annoying it is to write the same script over and over? Of course you do, this is where clips comes in. Clips allows you to save a script in an easy to access window where you can double click to quickly insert the script. Brilliant! To show the clips window just click the &#8220;Clips&#8221; button at the bottom. To add a clip simply click the &#8220;+&#8221; symbol in the bottom left (not the far left, the one more to the center). Name the script, add the script and you can also add a selection placeholder (the selection cursor will automatically go to this point when the clip is added) when you&#8217;re done, click &#8220;Save&#8221;.</p>
<p><a href="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-11.26.41-PM.png"><img class="alignnone size-medium wp-image-367" title="Clips" src="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-11.26.41-PM-300x229.png" alt="Clips" width="300" height="229" /></a></p>
<h2>6. Tab triggering (shortcuts)</h2>
<p>What if you could just type &#8220;html&#8221; then hit the tab key and it automatically puts in basic HTML for you?  It&#8217;s there, try it. But more than that, you can add tab triggering to any clip you&#8217;ve added! This is one of the most time saving tools in Coda. You can assign a tab trigger to a clip by click the &#8220;i&#8221; next to a clip in the clip window. Down the bottom you will see &#8220;click to add tab trigger&#8221;, click it, then type your trigger text and hit tab. Once you&#8217;re done hit &#8220;Save&#8221;.</p>
<p><a href="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-11.27.28-PM.png"><img class="alignnone size-medium wp-image-368" title="Tab Triggering" src="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-11.27.28-PM-300x228.png" alt="Tab Triggering" width="300" height="228" /></a></p>
<h2>7. Smart Find/Replace</h2>
<p>Say you need to find all the pages that contain &#8220;&lt;htmll&gt;&#8221; because for some reason you mis-typed it then can&#8217;t remember which pages you put it in&#8230; Firstly, how silly of you. Second, don&#8217;t panic, hit Command + F. In the search field type &#8220;&lt;htmll&gt;&#8221;, in the replace field type &#8220;&lt;html&gt;&#8221;, then on the left it will have a checkbox &#8220;Find in &#8220;<em>directoryname</em>&#8220;&#8221;, tick the checkbox then click &#8220;Replace All&#8221;. It&#8217;ll then find any files with &#8220;&lt;htmll&gt;&#8221; and replace it with the correct &#8220;&lt;html&gt;&#8221;. Problem solved!</p>
<p><a href="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-11.28.06-PM.png"><img class="alignnone size-medium wp-image-369" title="Find &amp; Replace" src="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-11.28.06-PM-300x13.png" alt="Find &amp; Replace" width="300" height="13" /></a></p>
<h2>8. Dragging Images to create the img tag</h2>
<p>This is one of those handy little tips that will make life a little easier for you. In the file viewer browse to an image file, click and drag it into a HTML or PHP document and it&#8217;ll automatically create the XHTML tag for you!</p>
<p><a href="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-11.30.24-PM.png"><img class="alignnone size-medium wp-image-374" title="Images" src="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-11.30.24-PM-300x181.png" alt="Images" width="300" height="181" /></a></p>
<h2>9. Easy Indenting</h2>
<p>If you&#8217;re like me, you&#8217;re anal about making sure everything is indented perfectly. And for good reason, it makes reading the code easier and helps with fixing mis-closed tags. Coda makes indenting large blocks easy. Select the block of code you wish to indent (or un-indent) and hit &#8220;Command&#8221; + &#8220;]&#8221;  (or &#8220;Command&#8221; + &#8220;[&#8220;). This will shift the block forward or backward. Truly handy.</p>
<p><a href="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-11.29.10-PM.png"><img class="alignnone size-medium wp-image-370" title="Easy Indenting" src="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-11.29.10-PM-300x280.png" alt="Easy Indenting" width="300" height="280" /></a></p>
<h2>10. Plug-ins</h2>
<p>The possibilities are endless. Plug-ins allow you to extend Coda&#8217;s native power. <a href="http://www.panic.com/coda/developer/community/plugins.php" target="_blank">Visit here</a> and see what useful plug-ins you can find. I&#8217;m always using the compression plugins to strip whitespace and comments from my Javascript and PHP.</p>
<p><a href="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-11.30.53-PM.png"><img class="alignnone size-medium wp-image-371" title="Plug-ins" src="http://thewebdevelopmentblog.com/wp-content/uploads/2009/09/Screen-shot-2009-09-16-at-11.30.53-PM-300x119.png" alt="Plug-ins" width="300" height="119" /></a></p>
<p>There is more power under that hood, and this is just a small selection of the power within Coda, <a href="http://www.panic.com/coda/developer/" target="_blank">visit their developer site</a> to see more tips and tricks along with video tutorials and much more!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thewebdevelopmentblog.com/2009/09/10-handy-tips-for-getting-the-most-out-of-coda/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple CSS classes on the same element</title>
		<link>http://www.thewebdevelopmentblog.com/2009/09/multiple-css-classes-on-the-same-element/</link>
		<comments>http://www.thewebdevelopmentblog.com/2009/09/multiple-css-classes-on-the-same-element/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 07:46:49 +0000</pubDate>
		<dc:creator>Jason Stockton</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://thewebdevelopmentblog.com/?p=340</guid>
		<description><![CDATA[This one is pretty obvious to most CSS developers but it&#8217;s not actually used that widely on a lot of websites. It is really easy to apply multiple CSS classes to an element allowing you to mix and match various classes on elements. One instance I find it handy is when I have elements that [...]]]></description>
			<content:encoded><![CDATA[<p>This one is pretty obvious to most CSS developers but it&#8217;s not actually used that widely on a lot of websites. It is really easy to apply multiple CSS classes to an element allowing you to mix and match various classes on elements. One instance I find it handy is when I have elements that require the same CSS as another element but simple things like the background color is different. Adding a second class to the element means I don&#8217;t need to re-write the class with an alternate color, I can just create an additional class to set the background color.</p>
<p><span id="more-340"></span><strong>The Code</strong></p>
<p>It&#8217;s really simple, all you have to do is separate each class with a space like below.</p>
<p><code>&lt;div <strong>class="<em>first_class</em> <em>second_class</em>"</strong>&gt;&lt;/div&gt;</code></p>
<p>This will reference both classes to style the element.</p>
<p>This is a nice little trick to keep in mind for your sites.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thewebdevelopmentblog.com/2009/09/multiple-css-classes-on-the-same-element/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Choosing the right web host</title>
		<link>http://www.thewebdevelopmentblog.com/2009/09/choosing-the-right-web-host/</link>
		<comments>http://www.thewebdevelopmentblog.com/2009/09/choosing-the-right-web-host/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 12:40:23 +0000</pubDate>
		<dc:creator>Jason Stockton</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Media Temple]]></category>

		<guid isPermaLink="false">http://thewebdevelopmentblog.com/?p=304</guid>
		<description><![CDATA[Choosing the right web host is the most vital part of any web based business yet often not enough research and consideration goes into choosing your host.  Choosing the wrong host could lead to tremendous amounts of downtime and security issues. This looks bad for you as a developer and can often end up costing [...]]]></description>
			<content:encoded><![CDATA[<p>Choosing the right web host is the most vital part of any web based business yet often not enough research and consideration goes into choosing your host.  Choosing the wrong host could lead to tremendous amounts of downtime and security issues. This looks bad for you as a developer and can often end up costing you or your client time and/or money. Let&#8217;s have a look at what you really should be looking for and why it&#8217;s so vital.</p>
<p><span id="more-304"></span></p>
<p><strong>Getting burnt</strong></p>
<p>I myself was recently burnt from choosing the wrong host. Not really due to poor choice, it was more of the host not being able to handle it&#8217;s own growth. The particular host (<em>Servage</em>) was great for a good year before I started my web development business. It was a safe choice however it was growing at an incredible rate. Problems started arising with short bursts of downtime, to slow site access, to database overloading, to consistent email issues, to major site hacking issues. From secure and stable to insecure and slow in the space of 6 months. Not only that but from helpful support to unknowledgable support that most of the time was too focused on appearing to be friendly that they never actually answered the question. It was more like a place to go and just get an apology for their B-grade service rather then getting answers.</p>
<p>A decision was made to move our sites to the more expensive, yet more reliable/helpful <em><a title="Media Temple Web Hosting" href="http://www.mediatemple.net/go/order/?refdom=jasonstockton.com.au" target="_blank">Media Temple</a></em>. Over triple the price for less space/bandwidth to the untrained eye sounds ludicrous. But anyone that has been through the hosting round will tell you, it&#8217;s more than just about how much storage you get. You need to look deeper. The switch is still in progress as it is quite a difficult process to move hundreds of sites from one host to another making sure the client doesn&#8217;t lose emails, and there is no downtime etc. This is why choosing the right host is so important.</p>
<p><strong>Features</strong></p>
<p>This is the first thing you&#8217;ll see on most web hosting sites is a list of all the features. Whether it be unlimited storage to wordpress easy installers to $25 free Adwords credit. In theory it&#8217;s great say &#8220;hey, unlimited storage! Woo! I can host EVERYTHING there!&#8221;, it&#8217;s a nice thought, but at what point will you need all that storage? I know I struggled to use 1gb with about 25 client sites. The host knows this , hence why they can give it to you for dirt cheap. Take a step back, have a look at how much storage you&#8217;ll realistically use. If you&#8217;re launching a site that&#8217;s going to need a lot of storage consider using <a title="Amazon AWS S3" href="http://aws.amazon.com/s3/" target="_blank">Amazon&#8217;s S3 service</a>, it can actually reliably scale to virtually unlimited storage and will only cost you for what you use. There are other limitations with most shared hosts such as a limitation on number of hits you can get per day, or CPU usage etc. So you generally are fairly limited in a shared hosting environment so don&#8217;t get caught up in huge amounts of storage and bandwidth. Be realistic about what you need, and make sure you don&#8217;t get carried away in the world of &#8220;unlimited&#8221;. Extra&#8217;s are nice, but not really necessary.</p>
<p><strong>Support</strong></p>
<p>A big must is for a host to have good support that you can contact 24/7 and get a fast resolution. Look for something with 24/7 phone support because email and ticketing is slow, you have to type it then wait for them to check the problem and type back. Very slow process, phone calls are instant back and fourth, so pay the extra dollars and make sure you have phone support 24/7.</p>
<p><strong>Security</strong></p>
<p>This is a big one, and hard to know as hosts won&#8217;t advertise having terrible security. But <a title="Google" href="http://www.google.com" target="_blank">Google</a> knows so do a bit of research. For example search for &#8220;Servage Security&#8221; and you will find literally hundreds of blogs just like this talking about how they have had terrible hacking problems do to Servage&#8217;s insecure set-up. Servage isn&#8217;t the only one, there are plenty of hosts which have terribly insecure set-ups. The bigger the host the more likely they are to face hackers. Make sure you pay the extra $$$ and get one that knows what they&#8217;re doing.</p>
<p><strong>Clustered hosting</strong></p>
<p>Always look for a clustered hosting set-up. A clustered hosting set-up spreads your site access across multiple servers so if one goes down your site is still accessible by one of the other servers. This is one sure way to make sure the hosts uptime is reasonable as it reduces the chance of widespread incidents.</p>
<p><strong>Shared or dedicated?</strong></p>
<p>This one is a tough one, there are so many pro&#8217;s to dedicated but the price is out of most peoples reach. If you&#8217;re expecting high traffic, you don&#8217;t believe a shared host will be able to handle it and are on a budget, consider <a href="http://en.wikipedia.org/wiki/Virtual_Dedicated_Server" target="_blank">dedicated virtua</a>l also known as a virtual private server. It has all the benefits of a dedicated server but in a virtual form, so the hardware is being split but resources are allocated to just you. Again look at what you need, if you just need general hosting you won&#8217;t need more than just a shared host.</p>
<p><strong>Do your research</strong></p>
<p>Most importantly, find sites hosted by the host you&#8217;re looking at and check connection speeds. Read reviews and take note of all the negative reviews. Even Google it.</p>
<p><strong>Conclusion</strong></p>
<p>It&#8217;s not the size that counts, it&#8217;s how you use it. Look around, ask around, find a host that work for and with you. Make sure the host has everything you need. That includes all the support you need, when you need it. Always keep offline back-ups of your sites just incase something does go wrong.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thewebdevelopmentblog.com/2009/09/choosing-the-right-web-host/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix the &#8220;Save For Web&#8221; color shift in Photoshop.</title>
		<link>http://www.thewebdevelopmentblog.com/2009/08/design-how-to-fix-the-saving-for-web-color-shift-in-photoshop/</link>
		<comments>http://www.thewebdevelopmentblog.com/2009/08/design-how-to-fix-the-saving-for-web-color-shift-in-photoshop/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 15:28:42 +0000</pubDate>
		<dc:creator>Jason Stockton</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Photoshop]]></category>

		<guid isPermaLink="false">http://thewebdevelopmentblog.com/?p=252</guid>
		<description><![CDATA[If you&#8217;ve used Photoshop&#8217;s save for web feature, no doubt you&#8217;ve ran into problems with colours going from brilliant to dull and lifeless. It&#8217;s a very frustrating this for designers and developers alike. After years of trying to find solutions and work-arounds for the problem, I finally found one that works. It turns out the [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve used Photoshop&#8217;s save for web feature, no doubt you&#8217;ve ran into problems with colours going from brilliant to dull and lifeless. It&#8217;s a very frustrating this for designers and developers alike. After years of trying to find solutions and work-arounds for the problem, I finally found one that works.</p>
<p><span id="more-252"></span></p>
<p>It turns out the problem lies in Photoshop&#8217;s color profiles.</p>
<p><strong>The solution</strong></p>
<p>Visit the following site and follow the instructions&#8230;</p>
<p><a href="http://www.viget.com/inspire/the-mysterious-save-for-web-color-shift/" target="_blank">http://www.viget.com/inspire/the-mysterious-save-for-web-color-shift/</a></p>
<p>I hope this helps&#8230; And kudos to the writers for finally finding a fix for us!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thewebdevelopmentblog.com/2009/08/design-how-to-fix-the-saving-for-web-color-shift-in-photoshop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Presenting information in a digestible manor.</title>
		<link>http://www.thewebdevelopmentblog.com/2009/06/design-presenting-information-in-a-digestible-manor/</link>
		<comments>http://www.thewebdevelopmentblog.com/2009/06/design-presenting-information-in-a-digestible-manor/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 06:17:04 +0000</pubDate>
		<dc:creator>Jason Stockton</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://thewebdevelopmentblog.com/?p=227</guid>
		<description><![CDATA[Today I&#8217;m gonna take a step back from the coding aspect, and look at an important part of website design. It&#8217;s a common dilemma where you have a lot of information to get across, but how do you present it in such a manor that people will actually 1) Read it and 2) Digest the [...]]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;m gonna take a step back from the coding aspect, and look at an important part of website design. It&#8217;s a common dilemma where you have a lot of information to get across, but how do you present it in such a manor that people will actually 1) Read it and 2) Digest the information?</p>
<p><span id="more-227"></span></p>
<p><strong>What not to do&#8230;</strong></p>
<p>You see it all the time when browsing the web, large blocks of text that would just take so long to read. Have you ever actually thought about how often you&#8217;ve actually read the information they&#8217;re trying to present you? Most people lead such busy lives they don&#8217;t have time to stop and read what looks like a large amount text.</p>
<p>For Example:</p>
<div id="attachment_228" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-228" title="Too Much Text" src="http://thewebdevelopmentblog.com/wp-content/uploads/2009/06/Picture-2-300x93.png" alt="Too Much Text" width="300" height="93" /><p class="wp-caption-text">Too Much Text</p></div>
<p>Personally, I wouldn&#8217;t stop and read that. Therefore they have lost me straight away. So how do you present the information in such a manor, it becomes interesting, digestible and still gets your information across?</p>
<p><strong>What to do!</strong></p>
<p>Firstly, less is more. Find the key points you want to get across, cut out the rest of the blabber, people don&#8217;t have time to read blabber. It&#8217;s all about refined information, only say what needs to be said.</p>
<p>Secondly, once you have a list of you key points that you want to get across, then we need to present these key points in a manor that is clear, uncluttered, and to the point. The best way to do this is present the information in small digestible chunks, with short key point headers, icons to match the point, and short sentences that inform about the point.</p>
<p>Apple do this well when they sell their products.</p>
<div id="attachment_229" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-229" title="Apple's Way - A Good Way" src="http://thewebdevelopmentblog.com/wp-content/uploads/2009/06/Picture-1-300x243.png" alt="Apple's Way - A Good Way" width="300" height="243" /><p class="wp-caption-text">Apple&#39;s Way - A Good Way</p></div>
<p>As you can see the key points on <a href="http://www.apple.com/au/iphone/iphone-3g-s/" target="_blank">Apples</a> site stands out, they are presented with large images which give readers a taste of what the point is selling. The key points (feature titles) are clear and stand out, and it allows you to see if the feature interests you. If it does you may read a little about it, otherwise you check out the next feature.</p>
<p>Imagine if the images weren&#8217;t there and the information was just as a list &#8211; chances are people would not read all the points/features as they would be 1) Cluttered and unclear, 2) Indigestible.</p>
<p>Here are some other examples of well laid out information for easy digestion.</p>
<div id="attachment_230" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-230" title="Mail Chimp" src="http://thewebdevelopmentblog.com/wp-content/uploads/2009/06/Picture-5-300x243.png" alt="Mail Chimp" width="300" height="243" /><p class="wp-caption-text">Mail Chimp</p></div>
<p><a href="http://www.mailchimp.com/features/" target="_blank">Mail Chimp</a> sets it information next to large screenshots and clear headings so you can flick through the features and choose to read about it or see what the next feature is.</p>
<div id="attachment_231" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-231" title="NexTunes.com.au" src="http://thewebdevelopmentblog.com/wp-content/uploads/2009/06/Picture-4-300x164.png" alt="NexTunes.com.au" width="300" height="164" /><p class="wp-caption-text">NexTunes.com.au</p></div>
<p><a href="http://www.nextunes.com.au/about.php" target="_blank">NexTunes.com.au</a> uses icons to breakup each of it&#8217;s features.</p>
<p>It&#8217;s a fairly simple concept and should help you better lay out information on your sites to make it more clear to your visitors as to what you are trying to get across.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thewebdevelopmentblog.com/2009/06/design-presenting-information-in-a-digestible-manor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding the X &amp; Y coordinates of an element relative to the entire page using Javascript</title>
		<link>http://www.thewebdevelopmentblog.com/2009/06/tip-getting-the-x-y-coordinates-of-an-element-relative-to-the-entire-page-using-javascript/</link>
		<comments>http://www.thewebdevelopmentblog.com/2009/06/tip-getting-the-x-y-coordinates-of-an-element-relative-to-the-entire-page-using-javascript/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 08:16:48 +0000</pubDate>
		<dc:creator>Jason Stockton</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Prototype]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://thewebdevelopmentblog.com/?p=187</guid>
		<description><![CDATA[It&#8217;s really easy to get the position of an element relative to it&#8217;s parent element, but what if you wanted to get it&#8217;s position relative to the entire page (viewport)? There&#8217;s no javascript call to do this, but here is a function to get the elements x &#38; y coordinates. If you use the prototype [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s really easy to get the position of an element relative to it&#8217;s parent element, but what if you wanted to get it&#8217;s position relative to the entire page (viewport)? There&#8217;s no javascript call to do this, but here is a function to get the elements x &amp; y coordinates.</p>
<p><span id="more-187"></span></p>
<p>If you use the <a href="http://www.prototypejs.org" target="_blank">prototype javascript framework</a> there is a call built in! Handy&#8230;</p>
<p><strong>Here&#8217;s the code for Prototype users:</strong></p>
<p><code>var pos = $("<em>elementID</em>").viewportOffset();<br />
var x = pos[0];<br />
var y = pos[1];</code></p>
<p>Nice and easy&#8230;</p>
<p>For those of you who <strong>don&#8217;t</strong> use prototype, below is a function you can use to get the X &amp; Y coordinates relative to the page (viewport).</p>
<p><strong>The Function:</strong></p>
<pre><code>function viewportOffset(forElement) {
	var valueT = 0, valueL = 0;&lt;
	var element = document.getElementById(forElement);
	do {
		valueT += element.offsetTop  || 0;
		valueL += element.offsetLeft || 0;
		if (element.offsetParent == document.body) break;
	} while (element = element.offsetParent);
	element = forElement;
	do {
		if (element.tagName == 'BODY') {
			valueT -= element.scrollTop  || 0;
			valueL -= element.scrollLeft || 0;
		}
	} while (element = element.parentNode);
	return [valueL, valueT];
}</code></pre>
<p><em>This is a modified function from the </em><em><a href="http://www.prototypejs.org" target="_blank">prototype framework</a></em>.</p>
<p><strong>Calling The Function:</strong></p>
<p><code>var pos = viewportOffset("<em>elementID</em>");<br />
var x = pos[0];<br />
var y = pos[1];</code></p>
<p>I tried several of the functions on various blogs etc none of them seemed to return anything but 0 in Safari. The above has been tested and works in the latest versions Safari, Firefox, IE and Opera.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thewebdevelopmentblog.com/2009/06/tip-getting-the-x-y-coordinates-of-an-element-relative-to-the-entire-page-using-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Correctly formatted numbers and rounding in PHP.</title>
		<link>http://www.thewebdevelopmentblog.com/2009/04/tip-correctly-formatted-numbers-and-rounding-in-php/</link>
		<comments>http://www.thewebdevelopmentblog.com/2009/04/tip-correctly-formatted-numbers-and-rounding-in-php/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 07:31:16 +0000</pubDate>
		<dc:creator>Jason Stockton</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[numbers]]></category>

		<guid isPermaLink="false">http://thewebdevelopmentblog.com/?p=184</guid>
		<description><![CDATA[Another little simple thing I&#8217;ve come across. After developing several online stores, the PHP round() function removes zeroes from the end of it&#8217;s round if you round to the second decimal point. This is fine but if you have a shopping cart you generally want to keep 2 zeroes on the end. This is easily [...]]]></description>
			<content:encoded><![CDATA[<p>Another little simple thing I&#8217;ve come across. After developing several online stores, the PHP round() function removes zeroes from the end of it&#8217;s round if you round to the second decimal point. This is fine but if you have a shopping cart you generally want to keep 2 zeroes on the end. This is easily done with a another PHP function.</p>
<p><span id="more-184"></span></p>
<p><strong>The Function:</strong></p>
<p>PHP has a function called <span class="methodname"><strong>number_format</strong></span>(), it&#8217;s purpose is to format numbers nicely with commas for 1,000&#8242;s and the extra zeroes for your rounding.</p>
<p><code>$number = 2199.9;<br />
$numberFormatted = number_format($number, 2);<br />
echo "$".$numberFormatted;</code></p>
<p>This would echo &#8220;$2,199.90&#8243;, prefect formatting for working with currencies.</p>
<p>You can also use custom separators if you wanted, full function specs can be found <a href="http://au2.php.net/manual/en/function.number-format.php">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thewebdevelopmentblog.com/2009/04/tip-correctly-formatted-numbers-and-rounding-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parsing global variables through a function in PHP</title>
		<link>http://www.thewebdevelopmentblog.com/2009/02/tip-parsing-global-variables-through-a-function-in-php/</link>
		<comments>http://www.thewebdevelopmentblog.com/2009/02/tip-parsing-global-variables-through-a-function-in-php/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 22:44:11 +0000</pubDate>
		<dc:creator>Jason Stockton</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[variables]]></category>

		<guid isPermaLink="false">http://thewebdevelopmentblog.com/?p=179</guid>
		<description><![CDATA[I used to think that all variables in PHP went through functions as normal. It wasn&#8217;t until I actually needed to read a global variable from a function that I realised it only has it&#8217;s own local variables. Having said that, if you need to use variables from outside of a function it is easy [...]]]></description>
			<content:encoded><![CDATA[<p>I used to think that all variables in PHP went through functions as normal. It wasn&#8217;t until I actually needed to read a global variable from a function that I realised it only has it&#8217;s own local variables. Having said that, if you need to use variables from outside of a function it is easy enough to parse through global variables.</p>
<p><span id="more-179"></span></p>
<p><strong>The Solution</strong></p>
<p>You have to tell PHP to read the global variable into the function. To do this simply type &#8220;global $myglobalvariable&#8221;, for example&#8230;</p>
<p><code> </code></p>
<p><code></p>
<pre><em>$myvar</em> = "This is my global variable";
function <em>myfunction</em>() {
	global <em>$myvar</em>; // This will bring the variable into the function.
	<em>$myvar</em> .= " inside a function";
	return <em>$myvar</em>;
}</pre>
<p></code></p>
<p>This will return &#8220;This is my global variable inside a function&#8221;.</p>
<p>Again, really easy! Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thewebdevelopmentblog.com/2009/02/tip-parsing-global-variables-through-a-function-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

