<?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>Design Reviver &#187; code</title>
	<atom:link href="http://designreviver.com/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://designreviver.com</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 14:15:49 +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>HTML Practices Every Developer Shouldn&#8217;t Live Without</title>
		<link>http://designreviver.com/articles/html-practices-every-developer-shouldnt-live-without/</link>
		<comments>http://designreviver.com/articles/html-practices-every-developer-shouldnt-live-without/#comments</comments>
		<pubDate>Tue, 23 Nov 2010 11:43:48 +0000</pubDate>
		<dc:creator>Joel Reyes</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[doctype]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=9603</guid>
		<description><![CDATA[As a starter or a seasoned web developer, we usually tend to skip out on some great practices that we should be using merely because we have never heard about them. To reduce this gap of missing goodies, we cover several practices no developer should live without. Doctype Declaration Many do it, others choose to [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>As a starter or a seasoned web developer, we usually tend to skip out on some great practices that we should be using merely because we have never heard about them. To reduce this gap of missing goodies, we cover several practices no developer should live without.</p>
<p><span id="more-9603"></span></p>
<h4>Doctype Declaration</h4>
<p>Many do it, others choose to not. However, it is in your best interest to declare the doctype in your HTML files for better standards compliance. Browsers usually have their own ways to fix errors you accidentally or unknowingly left in to get the HTML better interpreted. However, as with most browsers, they all have different ways to interpret things and thus, when it comes to individual browsers trying to fix or &#8220;patch&#8221; your errors on the fly, things start to get messy and your website will appear different across these different browsers and platforms.</p>
<p>Therefore, by declaring the doctype, you force these browsers to enter standards compliance mode, which cancels out their correction systems. With this, you can easily locate the errors you have made and be able to fix them to get your website to look and work the same across many browsers and platforms. Think of the doctype as a keycard to open all the doors in a building versus a key that may or may not open a few. You would definitely choose the keycard that opens all the doors rather than a key that may or may not work, the same applies to declaring the doctype so definitely use it, you will be glad you did.</p>
<h4>Meta Description Attribute</h4>
<p><img class="alignnone size-full wp-image-9592" src="http://designreviver.com/wp-content/uploads/2010/09/htmldev-1.jpg" alt="" /></p>
<p>Many search engine optimization radicals always seem to deter us from using the meta description attribute with the argument that search engines do not use them anymore. Actually, they do, but if they are not available, they will use other means to formulate a description about your website. Therefore, as a good practice, always include a meta description attribute with a great description of the website as this is what search engines use to formulate that description right below your title when you search for your website.</p>
<p>To get back to the search engine optimization radicals, they do have a point, especially for those who misuse the meta description attribute. Search engine bots are getting smarter by the day and can detect whether you deliberately misused the attribute or not. Therefore, use it as intended, as this is a gold mind for HTML as well as the key to improved search engine optimization.</p>
<h4>Footer Content</h4>
<p>This HTML practice is a bit subjective however very useful and vital to keeping your website running smoothly. We all have landed on a website that takes a good several seconds to a minute to load anything that is viewable due to the cause of external scripts bogging down on the load time. The way HTML is loaded is in sequential form, from top to bottom, line after line. What this means is, it will halt on a line of code until it is fully interpreted or executed, and in this case, it will wait until the external JavaScript file is fully loaded before proceeding on to the next line.</p>
<p>Therefore, stick this JavaScript code in the footer to have the content that is important to load first. For example, if you have your analytics code such as Google analytics, stick it in the footer right before the end of your body tag so that your website can load the content quicker and not bog down until it reaches the end of your content where users do not have to actually wait for it to load.</p>
<p>The reason this idea is subjective is that some may disagree with the idea of taking JavaScript code outside of the head tags, however, in such situations, it is a better practice to take upon as it is what keeps your website running more efficiently in such a case.</p>
<h4>Using Unordered Lists for Navigation Bits</h4>
<p><img class="alignnone size-full wp-image-9592" src="http://designreviver.com/wp-content/uploads/2010/09/htmldev-2.jpg" alt="" /></p>
<p>Many developers whip up all sorts of concoctions to create a navigation bit. So instead of using the accepted and preferred markup they decide to use a set of divs and all sorts to achieve similar results. This technique is not only inefficient, but it is also very tedious and redundant. Therefore, use unordered lists as a basis for your navigations as the code is simple, the functionality is pretty much completed for you already, and all you need to do is give it some style. Remember, reinventing the wheel is not something you want to do, let alone reinventing it and losing efficiency.</p>
<h4>Leaving Your Front Door Open</h4>
<p>Whenever you are in your home, out of your home, or on your way home, you always have your doors closed and locked. I mean, who would want to leave their home doors unlocked and open when they are not around? Other than the neighbor I once had who left their front door wide open at night, we all know it is a good practice to keep our windows and doors closed when we are not home. Similarly, always close the tags you open for clean and validated markup.</p>
<p>I have seen countless tutorials out there that are available to teach new developers how to code HTML and they almost always leave their tags open such as image tags or break tags. This not only affects the new generation of developers, but it is a terrible practice. Browsers will always attempt to close them for you causing errors and unwanted results, so save yourself from bad practices, and make closing the HTML tags a habit as you do with closing your doors when you leave your home.</p>
<h4>Validate Your Code</h4>
<p><img class="alignnone size-full wp-image-9592" src="http://designreviver.com/wp-content/uploads/2010/09/htmldev-3.jpg" alt="" /></p>
<p>Validating your code helps you keep your code clean from nasty errors you may have missed or unintentionally thrown in.  While having valid code does not indicate you are a great developer or not, it does help eliminate possible errors you may find in the future within many different browsers and platforms. It additionally throws a good image about your practices for your portfolio for future hires.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/articles/html-practices-every-developer-shouldnt-live-without/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>CSS Validation, How Important Is It?</title>
		<link>http://designreviver.com/articles/css-validation-how-important-is-it/</link>
		<comments>http://designreviver.com/articles/css-validation-how-important-is-it/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 11:00:10 +0000</pubDate>
		<dc:creator>speckyboy</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Answers]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[design news]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[validate]]></category>
		<category><![CDATA[validation]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=10057</guid>
		<description><![CDATA[A really interesting question was asked recently on Answers, discussing the importance and relevance of CSS validation. It would be interesting to discover how much stock developers actually do put in to it, or, is it more important to focus on the actual page being able to function? We would love to hear from you. [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>A really interesting question was asked recently on Answers, discussing the importance and relevance of CSS validation. It would be interesting to discover how much stock developers actually do put in to it, or,  is it more important to focus on the actual page being able to function? We would love to hear from you.</p>
<p><span id="more-10057"></span></p>
<p>You can leave your thoughts, tips and insights in the comment section below, or you can leave your answer on the original question on <a href="http://designreviver.com/answers/">Answers</a> here: <a href="http://designreviver.com/answers/49028/">CSS validation, How Important Is It</a></p>
<p><a href="http://designreviver.com/answers/49028/"><img src="http://designreviver.com/wp-content/uploads/2010/10/css_val_01.jpg" alt="CSS validation, how important is it" width="520"></a><br />
This question was originally asked by <a href="http://designreviver.com/answers/member/114">Ben G</a>.</p>
<p>Here is the best answer, as voted by our users, so far:</p>
<p><a href="http://designreviver.com/answers/49028/"><img src="http://designreviver.com/wp-content/uploads/2010/10/css_val_02.jpg" alt="CSS validation, how important is it" width="520"></a></p>
<p>So, what do you think, <strong>how important is CSS validation?</strong></p>
<p>Thanks to everyone who asked a question, but most importantly thanks to everyone that took the time and effort to offer helpful and useful answers.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/articles/css-validation-how-important-is-it/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Three Fresh CSS Frameworks</title>
		<link>http://designreviver.com/inspiration/three-fresh-css-frameworks/</link>
		<comments>http://designreviver.com/inspiration/three-fresh-css-frameworks/#comments</comments>
		<pubDate>Thu, 28 Oct 2010 11:00:48 +0000</pubDate>
		<dc:creator>speckyboy</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css framework]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[design news]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web forms]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=10067</guid>
		<description><![CDATA[CSS Frameworks are those marvelous and innovative tools that will speed up your web development process by taking care of the multitude of repetitive processes you would have to cover for every project, and on top of that, they (mostly) take care of any cross-browser compatibility issues. They have also never been as popular, with [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>CSS Frameworks are those marvelous and innovative tools that will speed up your web development process by taking care of the multitude of repetitive processes you would have to cover for every project, and on top of that, they (mostly) take care of any cross-browser compatibility issues. They have also never been as popular, with new frameworks cropping out from week-to-week. As such, in this design news round-up we have selected our favorites from recent months.</p>
<p><span id="more-10067"></span></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fthesquaregrid.com%2F&sref=rss">The Square Grid</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fthesquaregrid.com%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/10/css_framework_01.jpg"></a></p>
<p>The Square Grid is a simple CSS framework for designers and developers, based on 35 equal-width columns. The grid is equiped with a 28px baseline-grid for a smooth vertical rhythm with each block (DIV) defined with a margin of 1 square (28px) from the next block.<br /><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fthesquaregrid.com%2F&sref=rss">The Square Grid</a></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.frontendmatters.com%2Fprojects%2Ffem-css-framework%2F&sref=rss">FEM CSS Framework</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.frontendmatters.com%2Fprojects%2Ffem-css-framework%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/10/css_framework_02.jpg"></a></p>
<p>The FEM CSS Framework is a 960px width  12 column grid system. It is based on the 960 Grid System, but with a twist in its philosophy, making it more flexible and faster to play with boxes.<br /><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.frontendmatters.com%2Fprojects%2Ffem-css-framework%2F&sref=rss">FEM CSS Framework</a></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fsonspring.com%2Fjournal%2Fformalize-css&sref=rss">Formalize CSS</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fsonspring.com%2Fjournal%2Fformalize-css&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/10/css_framework_03.jpg"></a></p>
<p>Formalize CSS is a useful framework for giving your forms a cross-browser uniformity.<br /><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fsonspring.com%2Fjournal%2Fformalize-css&sref=rss">Formalize CSS</a></p>
<p>By Paul Andrew (<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fspeckyboy.com&sref=rss">Speckyboy</a>and <a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Ftwitter.com%2Fspeckyboy&sref=rss">speckyboy@twitter</a>).</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/inspiration/three-fresh-css-frameworks/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>4 New jQuery Plugins</title>
		<link>http://designreviver.com/articles/4-new-jquery-plugins/</link>
		<comments>http://designreviver.com/articles/4-new-jquery-plugins/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 09:42:22 +0000</pubDate>
		<dc:creator>speckyboy</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[design news]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=10047</guid>
		<description><![CDATA[In today&#8217;s news round-up we feature four powerful and new jQuery plugins that will add plenty of cool functionalties to your sites or applications. Phono &#8211; jQuery Phone Plugin Phono is a simple JQuery plugin and JavaScript library that turns any web browser into a phone; capable of making phone calls and sending instant messages. [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>In today&#8217;s news round-up we feature four powerful and new jQuery plugins that will add plenty of cool functionalties to your sites or applications.</p>
<p><span id="more-10047"></span></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fphono.com%2F&sref=rss">Phono &#8211; jQuery Phone Plugin</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fphono.com%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/10/dr_jquery_01.jpg" alt="Phono - jQuery Phone Plugin"></a></p>
<p>Phono is a simple JQuery plugin and JavaScript library that turns any web browser into a phone; capable of making phone calls and sending instant messages. You can even connect to SIP clients; all with a simple unified API.<br /><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fphono.com%2F&sref=rss">Phono &#8211; jQuery Phone Plugin</a></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwijmo.com%2F&sref=rss">Wijmo &#8211; jQuery UI Widgets</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwijmo.com%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/10/dr_jquery_02.jpg" alt="Wijmo - jQuery UI Widgets"></a></p>
<p>Wijmo is a complete kit of over 30 jQuery UI Widgets. It is an extremely dangerous mixture of jQuery, CSS3, SVG, and HTML5 that when combined become an unstoppable force on the web.<br /><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwijmo.com%2F&sref=rss">Wijmo &#8211; jQuery UI Widgets</a></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fslidenote.info%2F&sref=rss">SlideNote &#8211; A jQuery Plugin For Sliding Notifications</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fslidenote.info%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/10/dr_jquery_03.jpg" alt="SlideNote - A jQuery Plugin For Sliding Notifications"></a></p>
<p>SlideNote is a customizable, flexible jQuery plugin that makes it easy to display sliding notifications on your website or in your web application.<br /><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fslidenote.info%2F&sref=rss">SlideNote &#8211; A jQuery Plugin For Sliding Notifications</a></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.steamdev.com%2Fimgr%2F&sref=rss">IMGr &#8211; jQuery Image Rounder</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.steamdev.com%2Fimgr%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/10/dr_jquery_04.jpg" alt="IMGr - jQuery Image Rounder"></a></p>
<p>IMGr is a jQuery plugin for rounding image corners. The script utilizes CSS3 in modern web browsers, and VML in Internet Explorer 8 and below.<br /><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.steamdev.com%2Fimgr%2F&sref=rss">IMGr &#8211; jQuery Image Rounder</a></p>
<p>By Paul Andrew (<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fspeckyboy.com&sref=rss">Speckyboy</a>and <a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Ftwitter.com%2Fspeckyboy&sref=rss">speckyboy@twitter</a>).</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/articles/4-new-jquery-plugins/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>4 More Free Web Design Tools and Resources</title>
		<link>http://designreviver.com/freebies/4-more-free-web-design-tools-and-resources/</link>
		<comments>http://designreviver.com/freebies/4-more-free-web-design-tools-and-resources/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 11:00:57 +0000</pubDate>
		<dc:creator>speckyboy</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[design news]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[generator]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[user interface]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=9979</guid>
		<description><![CDATA[It is always surprising how many fresh, innovative and always useful tools and resources appear from week-to-week from within the web design community. In this weeks design news round-up we take a look at four more cool and free new apps that may help you with your next web project. The Square Grid The Square [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>It is always surprising how many fresh, innovative and always useful tools and resources appear from week-to-week from within the web design community. In this weeks design news round-up we take a look at four more cool and free new apps that may help you with your next web project.<span id="more-9979"></span></p>
<p><!--more--></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fthesquaregrid.com%2F&sref=rss">The Square Grid</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fthesquaregrid.com%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/10/drapps_01.jpg" alt="The Square Grid" /></a></p>
<p>The Square Grid is a simple CSS framework for designers and developers, based on 35 equal-width columns. The grid is equiped with a 28px baseline-grid for a smooth vertical rhythm. Each block (DIV) is defined with a margin of 1 square (28px) from the next block. It aims to cut down on development time and help you create beautiful-structured websites.<br />
<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fthesquaregrid.com%2F&sref=rss">The Square Grid ?</a></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fjoapp.com%2F&sref=rss">Jo &#8211; HTML5 Mobile App Framework</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fjoapp.com%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/10/drapps_02.jpg" alt="Jo - HTML5 Mobile App Framework" /></a></p>
<p>Jo is a new and lightweight JavaScript framework designed for HTML5 apps.<br />
<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fjoapp.com%2F&sref=rss">Jo &#8211; HTML5 Mobile App Framework ?</a></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fframebox.org%2F&sref=rss">Frame Box &#8211; Lightweight Tool for Creating Mockups</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fframebox.org%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/10/drapps_03.jpg" alt="Frame Box - Lightweight Tool for Creating Mockups" /></a></p>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fframebox.org%2F&sref=rss">Frame Box &#8211; Lightweight Tool for Creating Mockups ?</a></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.colorzilla.com%2Fgradient-editor%2F&sref=rss">Ultimate CSS Gradient Generator</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.colorzilla.com%2Fgradient-editor%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/10/drapps_04.jpg" alt="Ultimate CSS Gradient Generator" /></a></p>
<p>HTML5 introduced many exciting features for Web developers. One of the features is the ability to specify gradients using pure CSS3, without having to create any images and use them as repeating backgrounds for gradient effects. This easy to use copy-and-paste tool gives you complete control when creating your CSS3 gradient.<br />
<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.colorzilla.com%2Fgradient-editor%2F&sref=rss">Ultimate CSS Gradient Generator ?</a></p>
<p>By Paul Andrew (<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fspeckyboy.com&sref=rss">Speckyboy</a>and <a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Ftwitter.com%2Fspeckyboy&sref=rss">speckyboy@twitter</a>).</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/freebies/4-more-free-web-design-tools-and-resources/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>5 New CSS and HTML Web Templates</title>
		<link>http://designreviver.com/freebies/5-new-css-and-html-web-templates/</link>
		<comments>http://designreviver.com/freebies/5-new-css-and-html-web-templates/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 08:18:55 +0000</pubDate>
		<dc:creator>speckyboy</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design news]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=9693</guid>
		<description><![CDATA[One of the most sought after resources for a web designer are high quality and, preferably, free CSS/XHTML/HTML web templates. And this exactly what we have for you in today news round-up: 5 New High Quality CSS and HTML Templates. Schizo Octopus Website Template This template has a fixed layout one page portfolio template with [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>One of the most sought after resources for a web designer are high quality and, preferably, free CSS/XHTML/HTML web templates. And this exactly what we have for you in today news round-up: 5 New High Quality CSS and HTML Templates.</p>
<p><span id="more-9693"></span></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.behance.net%2Fgallery%2FFreebie--Schizo-Octopus-Website-Template-%28XHTMLPSDs%29%2F725667&sref=rss">Schizo Octopus Website Template</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.behance.net%2Fgallery%2FFreebie--Schizo-Octopus-Website-Template-%28XHTMLPSDs%29%2F725667&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/09/dr_templates_01.jpg" alt="Schizo Octopus Website Template (XHTML+PSD&#39;s)"></a></p>
<p>This template has a fixed layout one page portfolio template with two columns with the download containing the Photoshop Files, XHML/CSS Coded template and also includes documentation.<br />Free for personal or commercial use. No need to credit.<br />
<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.behance.net%2Fgallery%2FFreebie--Schizo-Octopus-Website-Template-%28XHTMLPSDs%29%2F725667&sref=rss">Schizo Octopus Website Template</a></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.cssheaven.org%2Fcss_templates%2Fcssheaven-2%2F&sref=rss">CSS Heaven 2</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.cssheaven.org%2Fcss_templates%2Fcssheaven-2%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/09/dr_templates_02.jpg" alt="CSS Heaven 2"></a></p>
<p>CSS Heaven 2 is a free CSS Template suitable for small business websites and blogs.<br />This template is released under GPL License.<br />
<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.cssheaven.org%2Fcss_templates%2Fcssheaven-2%2F&sref=rss">CSS Heaven 2</a></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.templatesdock.com%2Ftemplate.php%3Fid%3Deuphoria-02&sref=rss">Euphoria</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.templatesdock.com%2Ftemplate.php%3Fid%3Deuphoria-02&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/09/dr_templates_03.jpg" alt="Euphoria"></a></p>
<p>Euphoria has been licensed under a Creative Commons Attribution 3.0.<br />
<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.templatesdock.com%2Ftemplate.php%3Fid%3Deuphoria-02&sref=rss">Euphoria</a></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Ficonnice.com%2Fhtml-template%2Ftemplate6.html&sref=rss">Template 6</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Ficonnice.com%2Fhtml-template%2Ftemplate6.html&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/09/dr_templates_04.jpg" alt="Template 6"></a></p>
<p>This template could be used as a corporate website &amp; blog, it contains: Two template pages , valid HTML &amp; CSS and all of the PSD files.<br />
<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Ficonnice.com%2Fhtml-template%2Ftemplate6.html&sref=rss">Template 6</a></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.cssheaven.org%2Fcss_templates%2Fsilverblog%2F&sref=rss">SilverBlog</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.cssheaven.org%2Fcss_templates%2Fsilverblog%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/09/dr_templates_05.jpg" alt="SilverBlog"></a></p>
<p>SilverBlog is a minimal template suitable for blog designs that has been built with HTML5 and CSS.<br />
It has been released under GNU GPL license.<br />
<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.cssheaven.org%2Fcss_templates%2Fsilverblog%2F&sref=rss">SilverBlog</a></p>
<p>By Paul Andrew (<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fspeckyboy.com&sref=rss">Speckyboy</a>and <a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Ftwitter.com%2Fspeckyboy&sref=rss">speckyboy@twitter</a>).</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/freebies/5-new-css-and-html-web-templates/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Collection of WordPress Snippets and Hacks</title>
		<link>http://designreviver.com/tips/collection-of-wordpress-snippets-and-hacks/</link>
		<comments>http://designreviver.com/tips/collection-of-wordpress-snippets-and-hacks/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 09:01:44 +0000</pubDate>
		<dc:creator>speckyboy</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design news]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[shortcode]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=9630</guid>
		<description><![CDATA[If you are a WordPress developer there is no doubt you will have your own personal collection of code snippets, hacks or even short-codes that you can call upon in time of need. They are those little lifesavers that can solve complex problems with only a few lines code&#8230; they truly are indispensable no matter [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>If you are a WordPress developer there is no doubt you will have your own personal collection of code snippets, hacks or even short-codes that you can call upon in time of need. They are those little lifesavers that can solve complex problems with only a few lines code&#8230; they truly are indispensable no matter which <a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.webhostingchoice.com%2Freview%2Fhost-monster%2F&sref=rss">host monster</a> you use. In this design news round-up we have highlighted some recent articles and posts that will freshen-up your WordPress toolbox.</p>
<p><span id="more-9630"></span></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwp-snippets.com%2F&sref=rss">WordPress Snippets</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwp-snippets.com%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/09/dr_wp_01.jpg" alt="Wordpress Snippets"></a></p>
<p>The idea behind WordPress Snippets is simple; to provide small snippets of code, helping you to create a magic WordPress Theme. The original documentation of WordPress is excellent, but not as straight forward as you may want. Straight forward is the lead word for WP Snippets. No talk, just Snippets.<br />
<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwp-snippets.com%2F&sref=rss">WordPress Snippets</a></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.catswhocode.com%2Fblog%2F10-useful-new-wordpress-hacks&sref=rss">10 useful new WordPress hacks</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.catswhocode.com%2Fblog%2F10-useful-new-wordpress-hacks&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/09/dr_wp_02.jpg" alt="dr_wp_010 useful new WordPress hacks"></a></p>
<p>This WP hack list, from CatsWhoCode, has a whole of lot fresh new snippets to help with WordPress dev. Want to remove comments autolinks? Or, are you looking for a hack that will display a Twitter style “time ago” date? If so, you will find the answers in this post.<br />
<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.catswhocode.com%2Fblog%2F10-useful-new-wordpress-hacks&sref=rss">10 useful new WordPress hacks</a></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fspeckyboy.com%2F2010%2F09%2F19%2F10-useful-wordpress-search-code-snippets%2F&sref=rss">10 Useful WordPress Search Code Snippets</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fspeckyboy.com%2F2010%2F09%2F19%2F10-useful-wordpress-search-code-snippets%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/09/dr_wp_03.jpg" alt="10 Useful WordPress Search Code Snippets"></a></p>
<p>In this post  will find 10 really useful code snippets that will help improve your WordPress Search functionality.<br />
<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fspeckyboy.com%2F2010%2F09%2F19%2F10-useful-wordpress-search-code-snippets%2F&sref=rss">10 Useful WordPress Search Code Snippets</a></p>
<p>By Paul Andrew (<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fspeckyboy.com&sref=rss">Speckyboy</a>and <a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Ftwitter.com%2Fspeckyboy&sref=rss">speckyboy@twitter</a>).</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/tips/collection-of-wordpress-snippets-and-hacks/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Three Kick-Ass Slideshow and Image Gallery Plugins</title>
		<link>http://designreviver.com/freebies/three-kick-ass-slideshow-and-image-gallery-plugins/</link>
		<comments>http://designreviver.com/freebies/three-kick-ass-slideshow-and-image-gallery-plugins/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 15:39:25 +0000</pubDate>
		<dc:creator>speckyboy</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[content slider]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[design news]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=9500</guid>
		<description><![CDATA[Slideshows and image galleries are all the rage at the moment, there are loads of new techniques, plugins and tutorials cropping up everywhere. In this design news round-up we have chosen our favorites from recent weeks. SIDEWAYS – jQuery fullscreen image gallery Sideways is a simple, yet elegant fullscreen image gallery created with the jQuery [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>Slideshows and image galleries are all the rage at the moment, there are loads of new techniques, plugins and tutorials cropping up everywhere. In this design news round-up we have chosen our favorites from recent weeks.</p>
<p><span id="more-9500"></span></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fmanos.malihu.gr%2Fsideways-jquery-fullscreen-image-gallery&sref=rss">SIDEWAYS – jQuery fullscreen image gallery</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fmanos.malihu.gr%2Fsideways-jquery-fullscreen-image-gallery&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/09/dr_slider_01.jpg" alt="SIDEWAYS – jQuery fullscreen image gallery"></a></p>
<p>Sideways is a simple, yet elegant fullscreen image gallery created with the jQuery and some simple CSS.<br />
<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fmanos.malihu.gr%2Fsideways-jquery-fullscreen-image-gallery&sref=rss">SIDEWAYS – jQuery fullscreen image gallery</a></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F09%2F08%2Ffull-page-image-gallery%2F&sref=rss">Full Page Image Gallery with jQuery</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F09%2F08%2Ffull-page-image-gallery%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/09/dr_slider_02.jpg" alt="Full Page Image Gallery with jQuery"></a></p>
<p>In this tutorial you can learn how to create a stunning full page gallery with scrollable thumbnails and a scrollable full screen preview. The idea is to have a thumbnails bar at the bottom of the page that scrolls automatically when the user moves the mouse. When a thumbnail is clicked, it moves to the center of the page and the full screen image is loaded in the background.<br />
<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F09%2F08%2Ffull-page-image-gallery%2F&sref=rss">Full Page Image Gallery with jQuery</a></p>
<h4><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.zurb.com%2Fplayground%2Fjquery_image_slider_plugin&sref=rss">Orbit: A Slick jQuery Image Slider Plugin</a></h4>
<p><a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.zurb.com%2Fplayground%2Fjquery_image_slider_plugin&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/09/dr_slider_03.jpg" alt="Orbit: A Slick jQuery Image Slider Plugin"></a></p>
<p>Orbit is a killer jQuery plugin that lets you create a simple, effective and beautiful slider for images of any size, and even includes some parameters for making awesome captions and a sweet timer.<br />
<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fwww.zurb.com%2Fplayground%2Fjquery_image_slider_plugin&sref=rss">Orbit: A Slick jQuery Image Slider Plugin</a></p>
<p>By Paul Andrew (<a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Fspeckyboy.com&sref=rss">Speckyboy</a>and <a href="http://redirectingat.com?id=&xs=1&url=http%3A%2F%2Ftwitter.com%2Fspeckyboy&sref=rss">speckyboy@twitter</a>).</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/freebies/three-kick-ass-slideshow-and-image-gallery-plugins/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Effective Ways to Make Sure That Your HTML/CSS Works On All Browsers</title>
		<link>http://designreviver.com/tips/effective-ways-to-make-sure-that-your-htmlcss-works-on-all-browsers/</link>
		<comments>http://designreviver.com/tips/effective-ways-to-make-sure-that-your-htmlcss-works-on-all-browsers/#comments</comments>
		<pubDate>Mon, 20 Sep 2010 07:48:11 +0000</pubDate>
		<dc:creator>speckyboy</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Answers]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[cross browser]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design news]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=9474</guid>
		<description><![CDATA[One of the most difficult tasks web designers have to tackle is ensuring that all web pages work consistently across all web browsers. As the most of you will already know, this is no easy task. And recently, on Design Reviver Answers, this topic was brought up in discussion, and we would like to share [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>One of the most difficult tasks web designers have to tackle is ensuring that all web pages work consistently across all web browsers. As the most of you will already know, this is no easy task. And recently, on Design Reviver Answers, this topic was brought up in discussion, and we would like to share with you some of the tips that were offered from our readers, and we would love to hear about any more you may have.</p>
<p><span id="more-9474"></span></p>
<p>You can leave your tips and thoughts in the comment section below, or you can leave your answer on the original question on <a href="http://designreviver.com/answers/">Answers</a> here: <a href="http://designreviver.com/answers/43427/">What&#8217;s the Most Effective Way to Make Sure That My HTML/CSS Works On All Browsers?</a></p>
<p><a href="http://designreviver.com/answers/43427/"><img src="http://designreviver.com/wp-content/uploads/2010/09/dr_reset_01.jpg" alt="What's the Most Effective Way to Make Sure That My HTML/CSS Works On All Browsers?" width="520"></a><br />
This question was originally asked by <a href="http://designreviver.com/answers/member/352">Themans</a>.</p>
<p>Our favorite answer comes from <a href="http://designreviver.com/answers/member/5996">Handrus Nogueira</a>:</p>
<p><a href="http://designreviver.com/answers/43427/"><img src="http://designreviver.com/wp-content/uploads/2010/09/dr_reset_02.jpg" alt="What's the Most Effective Way to Make Sure That My HTML/CSS Works On All Browsers?" width="520"></a></p>
<p>The answer came from <a href="http://designreviver.com/answers/member/3685">Trevor</a>:</p>
<p><a href="http://designreviver.com/answers/43427/"><img src="http://designreviver.com/wp-content/uploads/2010/09/dr_reset_03.jpg" alt="What's the Most Effective Way to Make Sure That My HTML/CSS Works On All Browsers?" width="520"></a></p>
<p>This answers came from <a href="http://designreviver.com/answers/member/3662">Scunliffe</a>:</p>
<p><a href="http://designreviver.com/answers/43427/"><img src="http://designreviver.com/wp-content/uploads/2010/09/dr_reset_04.jpg" alt="What's the Most Effective Way to Make Sure That My HTML/CSS Works On All Browsers?" width="520"></a></p>
<p>Thanks to everyone who asked a question, but most importantly thanks to everyone that took the time and effort to offer helpful and useful answers.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/tips/effective-ways-to-make-sure-that-your-htmlcss-works-on-all-browsers/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>10 Tips for Writing Better PHP Code</title>
		<link>http://designreviver.com/articles/10-tips-for-writing-better-php-code/</link>
		<comments>http://designreviver.com/articles/10-tips-for-writing-better-php-code/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 10:45:25 +0000</pubDate>
		<dc:creator>Joel Reyes</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[better code]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[writing code]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=8905</guid>
		<description><![CDATA[There are hundreds of ways to writing out code with hundreds of methods to achieve certain functionality. However, out of these many ways of writing code to get to the final product, there are many habits that are not great to the programmer or to the functionality of what you are trying to achieve. Furthermore, [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>There are hundreds of ways to writing out code with hundreds of methods to achieve certain functionality. However, out of these many ways of writing code to get to the final product, there are many habits that are not great to the programmer or to the functionality of what you are trying to achieve. Furthermore, we discuss 10 tips for improving and writing better PHP code.<span id="more-8905"></span></p>
<h4>Development Style</h4>
<p><img src="http://designreviver.com/wp-content/uploads/2010/08/betterphp-1.jpg" alt="" /></p>
<p>Tabbing, double-spacing, all on one line; we all have our style of writing out code and there really is not a right or wrong way of laying your code out. However, many developers tend to fail at keeping their development style fluent throughout a project. I myself have been caught a few times adapting to new styles within one project.</p>
<p>Furthermore, it is best to keep your code laid out using one development style rather than several to keep your code easily readable and organized. If your development style sometimes evolves to something different, it is best to not use your new development style on a project that uses a different style, but rather implement your new development style on new projects you may start. This keeps all of your projects fluent and organized.</p>
<h4>Good Variable and Function Naming</h4>
<p><img src="http://designreviver.com/wp-content/uploads/2010/08/betterphp-2.jpg" alt="" /></p>
<p>Many developers do not really care about proper variable and or function naming. However, good function and variable naming is key to have more organized code, which categorizes under better-written code as it becomes clearer to understand and comprehend.</p>
<p>Naming variables and functions properly is rather something easy to do and should be based on what the variable value is and what the function achieves. This not only provides easy to understand names, but it also helps you and other developers understand what each function or variable performs and holds by just reading the short name.</p>
<h4>Commenting Your Code</h4>
<p><img src="http://designreviver.com/wp-content/uploads/2010/08/betterphp-3.jpg" alt="" /></p>
<p>Commenting your code is a major step to organized and readable code and actually compliments most of what you can do to organize your code, as it is a key aspect in organization and usability. When writing comments to describe certain actions, functions, or code, it is best to keep the comments strict and to the point without describing what everything is.</p>
<p>For example, if you have a code snippet that is quite obvious in terms of its functionality, it is best to either leave a few words about it or not to comment it at all, as too many comments can be obnoxious.</p>
<h4>Do Most of the Work</h4>
<p>Copying and pasting code is something we tend to do most of the time, from one project to another, or from code, we may find useful on the net that has been done for us. However, copying and pasting code can sometimes hurt you in the end as you may not be familiar with your project or code as much as you had hoped you were or as much as you need to be. Furthermore, copying and pasting a few snippets is fine, but you should do most of the work to freshen your memory.</p>
<h2>Look Around</h2>
<p>Sometimes we might be doing something new and do not know what the best route is to take in terms of speed and performance, thus, looking around at other code from people who created something similar to what you are creating is sometimes a great idea to do to obtain a general idea on how to approach it better. This does not necessarily mean copy and paste the code, but rather just get a general idea of how it works.</p>
<h4>Understand the Language&#8217;s Limitations</h4>
<p><img src="http://designreviver.com/wp-content/uploads/2010/08/betterphp-6.jpg" alt="" /></p>
<p>We sometimes try to achieve many things the language was not designed for or is not capable of doing by creating workarounds. This is not a great idea, as your created workaround may not work sufficiently or effectively. Therefore, it is best to understand the language’s limitations, and to work within them.</p>
<h4>Receive Structural Feedback</h4>
<p>We sometimes think that we are the only ones, who know how to properly develop, but we are not and in fact, there is always someone out there better than us. My point is, it is always good to receive a second opinion on your code in terms of structure, as some feedback can be critical to enhance the performance of your script.</p>
<h4>Testing Your Code Often</h4>
<p><img src="http://designreviver.com/wp-content/uploads/2010/08/betterphp-8.jpg" alt="" /></p>
<p>Part of making your scripts closer to bug free is to test your work often and as you go along. The problem with many developers is that they think what they develop should work fine the first time and decide not to test certain aspects of their script as they go along, and in the end, they end up with several bugs and many they may not catch immediately. With that said, it is in your best interest to test many aspects of your code or script for bugs as you go along in development, this is proven to reduce bugs in the long run.</p>
<h4>Built-ins over Building Your Own</h4>
<p>We sometimes tend to recreate a built-in function just to have it. The problem with unnecessary recreation of built-ins is that the performance is affected. Moreover, using built-ins when applicable is a better idea and not only does it increase performance, it also keeps your scripts clean from unneeded code.</p>
<h4>Don&#8217;t Split Everything into Files</h4>
<p>Splitting your code into several files is actually part of keeping your scripts or projects organized instead of having everything all in one file. However, many projects I have seen tend to split everything into many files, sometimes separating individual functions into individual files.</p>
<p>This overkill and not only affects the way your code is laid out but it also affects performance. For example, instead of splitting individual functions into individual files, create a functions file and store all of them there, or group them into files. This still keeps your project organized and it keeps things reasonable.</p>
<p>Remember, doing something beneficial is great, but overdoing it or not doing it at all causes a negative effect, thus, use your judgment, and use techniques and methods reasonably.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/articles/10-tips-for-writing-better-php-code/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

