<?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; php</title>
	<atom:link href="http://designreviver.com/tag/php/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>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[<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=356X662675&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=356X662675&xs=1&url=http%3A%2F%2Fwp-snippets.com%2F&sref=rss">WordPress Snippets</a></h4>
<p><a href="http://redirectingat.com?id=356X662675&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=356X662675&xs=1&url=http%3A%2F%2Fwp-snippets.com%2F&sref=rss">WordPress Snippets</a></p>
<h4><a href="http://redirectingat.com?id=356X662675&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=356X662675&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=356X662675&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=356X662675&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=356X662675&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=356X662675&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=356X662675&xs=1&url=http%3A%2F%2Fspeckyboy.com&sref=rss">Speckyboy</a>and <a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Ftwitter.com%2Fspeckyboy&sref=rss">speckyboy@twitter</a>).</p>
]]></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>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[<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>
]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/articles/10-tips-for-writing-better-php-code/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Using PHP Show Different Content to Visitors From a Specific Country</title>
		<link>http://designreviver.com/tips/using-php-show-different-content-to-visitors-from-a-specific-country/</link>
		<comments>http://designreviver.com/tips/using-php-show-different-content-to-visitors-from-a-specific-country/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 13:31:19 +0000</pubDate>
		<dc:creator>speckyboy</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Answers]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[design news]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=8917</guid>
		<description><![CDATA[Our topic for today&#8217;s Design Reviver Answers news round-up is a question that was recently asked on PHP. And to be more specific the question was How Do I Show Different Content to Visitors From a Specific Country Using PHP? Do you have an alternative solution, maybe a fresher technique? You can leave your comment [...]]]></description>
			<content:encoded><![CDATA[<p>Our topic for today&#8217;s Design Reviver Answers news round-up is a question that was recently asked on PHP. And to be more specific the question was <a href="http://designreviver.com/answers/18459/">How Do I Show Different Content to Visitors From a Specific Country Using PHP?</a></p>
<p>Do you have an alternative solution, maybe a fresher technique? You can leave your comment below, or you can leave a your answer on the original question on Answers <a href="http://designreviver.com/answers/18459/">here</a></p>
<p><span id="more-8917"></span></p>
<h4>How Do I Show Different Content to Visitors From a Specific Country Using PHP?</h4>
<p><a href="http://designreviver.com/answers/18459/"><img src="http://designreviver.com/wp-content/uploads/2010/08/drphp_01.jpg" alt="How Do I Show Different Content to Visitors From a Specific Country Using PHP?" width="520"></a><br />
This question was originally asked by a <a href="http://designreviver.com/answers/member/3018">Devone</a>, and you will find the best answer below:</p>
<p>The Best Answer came from an <strong>Unregistered User</strong>:</p>
<p><a href="http://designreviver.com/answers/18459/"><img src="http://designreviver.com/wp-content/uploads/2010/08/drphp_02.jpg" alt="How Do I Show Different Content to Visitors From a Specific Country Using PHP?" width="520"></a></p>
<p>The Next Answer came from a <a href="http://designreviver.com/answers/member/30207">Pablo G</a></a>:</p>
<p><a href="http://designreviver.com/answers/18459/"><img src="http://designreviver.com/wp-content/uploads/2010/08/drphp_03.jpg" alt="How Do I Show Different Content to Visitors From a Specific Country Using PHP?" width="520"></a></p>
<h4>Unanswered Answers</h4>
<p>That is now five weeks without any unanswered questions!!!</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>
]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/tips/using-php-show-different-content-to-visitors-from-a-specific-country/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Round-Up of Fresh jQuery Tutorials</title>
		<link>http://designreviver.com/tutorials/round-up-of-fresh-jquery-tutorials/</link>
		<comments>http://designreviver.com/tutorials/round-up-of-fresh-jquery-tutorials/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 09:58:14 +0000</pubDate>
		<dc:creator>speckyboy</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[design news]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web forms]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=8826</guid>
		<description><![CDATA[There really is no limit to what can be achieved with jQuery. And when it is in the right hands those limits are challenged all the time, constantly pushing back its seemingly endless boundaries by developing fresh and creative techniques. In this design news round-up we have collected our favorite recent jQuery tutorials. Super Ajax [...]]]></description>
			<content:encoded><![CDATA[<p>There really is no limit to what can be achieved with jQuery. And when it is in the right hands those limits are challenged all the time, constantly pushing back its seemingly endless boundaries by developing fresh and creative techniques. In this design news round-up we have collected our favorite recent jQuery tutorials.</p>
<p><span id="more-8826"></span></p>
<h4><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.99points.info%2F2010%2F08%2Fsuper-ajax-pollingvoting-system-using-jquery-ajax-php-and-mysql%2F&sref=rss">Super Ajax Polling/Voting System using JQuery, Ajax, PHP and MySQL</a></h4>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.99points.info%2F2010%2F08%2Fsuper-ajax-pollingvoting-system-using-jquery-ajax-php-and-mysql%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/08/dr_jquery_01.jpg" alt="Super Ajax Polling/Voting System using JQuery, Ajax, PHP and MySQL" width="520"></a></p>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.99points.info%2F2010%2F08%2Fsuper-ajax-pollingvoting-system-using-jquery-ajax-php-and-mysql%2F&sref=rss">Super Ajax Polling/Voting System using JQuery, Ajax, PHP and MySQL &rarr;</a></p>
<h4><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.marcofolio.net%2Fwebdesign%2Fjquery_quickie_slot_machine_navigation.html&sref=rss">jQuery Quickie: Slot Machine Style Navigation</a></h4>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.marcofolio.net%2Fwebdesign%2Fjquery_quickie_slot_machine_navigation.html&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/08/dr_jquery_02.jpg" alt="jQuery Quickie: Slot Machine Style Navigation" width="520"></a></p>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.marcofolio.net%2Fwebdesign%2Fjquery_quickie_slot_machine_navigation.html&sref=rss">jQuery Quickie: Slot Machine Style Navigation &rarr;</a></p>
<h4><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.divisionbyzero.co.uk%2F2010%2F08%2F04%2Fhow-to-create-a-great-contact-form-part-1%2F&sref=rss">How To Create A Great Contact Form</a></h4>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.divisionbyzero.co.uk%2F2010%2F08%2F04%2Fhow-to-create-a-great-contact-form-part-1%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/08/dr_jquery_03.jpg" alt="How To Create A Great Contact Form" width="520"></a></p>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.divisionbyzero.co.uk%2F2010%2F08%2F04%2Fhow-to-create-a-great-contact-form-part-1%2F&sref=rss">How To Create A Great Contact Form &rarr;</a></p>
<h4><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F26%2Fmusic-portfolio-template%2F&sref=rss">Music Portfolio Template with HTML5 and jQuery</a></h4>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F26%2Fmusic-portfolio-template%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/08/dr_jquery_04.jpg" alt="Music Portfolio Template with HTML5 and jQuery" width="520"></a></p>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Ftympanus.net%2Fcodrops%2F2010%2F07%2F26%2Fmusic-portfolio-template%2F&sref=rss">Music Portfolio Template with HTML5 and jQuery &rarr;</a></p>
<h4><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Ftutorialzine.com%2F2010%2F08%2Fsimple-movie-search-app-jquery-ajax%2F&sref=rss">A Simple Movie Search App w/ jQuery UI</a></h4>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Ftutorialzine.com%2F2010%2F08%2Fsimple-movie-search-app-jquery-ajax%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2010/08/dr_jquery_05.jpg" alt="A Simple Movie Search App w/ jQuery UI" width="520"></a></p>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Ftutorialzine.com%2F2010%2F08%2Fsimple-movie-search-app-jquery-ajax%2F&sref=rss">A Simple Movie Search App w/ jQuery UI &rarr;</a></p>
<p>By Paul Andrew (<a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fspeckyboy.com&sref=rss">Speckyboy</a>and <a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Ftwitter.com%2Fspeckyboy&sref=rss">speckyboy@twitter</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/tutorials/round-up-of-fresh-jquery-tutorials/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>A Tutorial Of PHP Frameworks</title>
		<link>http://designreviver.com/tutorials/a-tutorial-of-php-frameworks/</link>
		<comments>http://designreviver.com/tutorials/a-tutorial-of-php-frameworks/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 09:00:35 +0000</pubDate>
		<dc:creator>John Urban</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php framework]]></category>
		<category><![CDATA[php framwork tutorial]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=4080</guid>
		<description><![CDATA[Heres a quick tutorial on all things PHP Frameworks. Just thought I share this with you guys. Let me know what you think....]]></description>
			<content:encoded><![CDATA[<p>First of all, we believe you should know what a PHP framework is before we move forward to a full tutorial of PHP frameworks. PHP is the most common scripting language in the world and there are many reasons for this. It is flexible and easy to use. There are times when coding in PHP or any other language can get a bit repetitive and droning. This is where a PHP framework comes in and this starts out a tutorial of PHP frameworks.<span id="more-4080"></span></p>
<p><a rel="http://framework.zend.com/" href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fframework.zend.com%2F&sref=rss" target="_blank"><img class="alignnone size-full wp-image-6720" src="http://designreviver.com/wp-content/uploads/2010/04/framework.zend_.com_4-e1272014959544.jpeg" alt="" width="500" height="279" /></a></p>
<p>PHP frameworks help with the promotion of rapid application development. In turns, this helps save time and it also helps build applications that are more stable. Did we mention that it also reduces the quantity of recurring coding for those developers? This is one of the main reasons why so many developers enjoy using it. It is also good for beginners! In fact, it helps them build apps that are more stable by guaranteeing accurate database interaction and coding. Instead of wasting your time writing a code that is repetitive, you will now have more time to create the web application.  <em><strong> </strong></em></p>
<p><em><strong>So, why exactly should you use a PHP framework?</strong></em> That is the question that many individuals are looking for answers to. There are a number of different reasons as to why developers should use PHP frameworks. The number one reason is for speeding up the process of their development. Reusing the code when similar projects come along will save them from putting in extra time and effort. The framework allows the individual to use pre-built modules for performing those repetitive coding tasks. This way, the developer will be able to put more of their time towards developing the application instead of building a foundation with every project that they work on.  Another pretty big reason as to why developers use frameworks is because of the stability. Simplicity is one of PHP&#8217;s biggest assets and for that reason, there are many individuals that prefer using the scripting language. However, this exact same thing can be one of its biggest downfalls. For those beginners, it is perfect, because it is easy to use, you can write bad code without even realizing that you did so.</p>
<p><a rel="symfony-project.org" href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.symfony-project.org%2F&sref=rss" target="_blank"><img class="alignnone size-full wp-image-6721" src="http://designreviver.com/wp-content/uploads/2010/04/symfony-project.org_1-e1272014945767.jpeg" alt="" width="500" height="281" /></a></p>
<p>With PHP, the application could still work, but you may have opened a big security hole in the coding without even realizing it. This could put you more at risk of attacks. It is important that you remember just how forgiving the language of PHP can be. It is always important to look at those lose ends of your coding and tie them up. Yes, even if your application is working perfectly on the outside.  When it comes to PHP frameworks and the availability, it is pretty much widespread. You have many different frameworks that you will be able to pick out of. If you like and you have a creative touch, you will even be able to create your own.</p>
<p>Although, many of the developers out there choose to pick from one of the frameworks that are well-known because of the popularity, their forums and big support teams. The forums will allow you to chat with other developers that use the same kind of framework that you do.  When it comes to your projects, you should first look at them and examine them in order to make sure you should be using a framework. There are a number of different questions that you should ask yourself. Below, we are going to go over some of those questions:  1.Is it going to save you or anyone else who uses it, effort and time?  2. Is it going to improve stability?  Did you answer yes to one of these questions? If you did, then PHP framework may be the right choice for you.</p>
<p><a rel="http://www.noloh.com/#/home/" href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.noloh.com%2F%23%2Fhome%2F&sref=rss" target="_blank"><img class="alignnone size-full wp-image-6722" src="http://designreviver.com/wp-content/uploads/2010/04/4-23-2010-2-26-11-AM-e1272014929230.jpg" alt="" width="500" height="311" /></a></p>
<p>For beginners and experienced individuals alike, framework can speed up the entire build process and help eliminate chances of bad coding. Many look at it as being a tool for those weak programmers that do not understand how to go about writing excellent, clean code. This may be true or it may not be, but the fact to it all is that PHP frameworks is a great tool that is useful to many successful people. It can help tighten up your coding and save time.  When you are working on a project that has deadlines that are pretty tight, using this will be a huge benefit to you. Imagine being able to speed up the coding process. Therefore, if you are in a time crunch, PHP will be very useful to you and there is no denying this. If you are working on projects that have a large amount of repetitive coding, this will make the job less tedious.</p>
]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/tutorials/a-tutorial-of-php-frameworks/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>A Selection of Code Snippets from Design Reviver Answers</title>
		<link>http://designreviver.com/general/a-selection-of-code-snippets-from-design-reviver-answers/</link>
		<comments>http://designreviver.com/general/a-selection-of-code-snippets-from-design-reviver-answers/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 13:55:19 +0000</pubDate>
		<dc:creator>speckyboy</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Answers]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[design news]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[wordpress theme]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=5452</guid>
		<description><![CDATA[Everyday Design Reviver Answers is offering solutions via useful snippets of code, helpful resources and general tips for all your web design issues. And as such we would like to share with you our favorite code snippets from this last week. It has been yet another good week, thanks for your support! &#8220;Have you asked [...]]]></description>
			<content:encoded><![CDATA[<p>Everyday Design Reviver Answers is offering solutions via useful snippets of code, helpful resources and general tips for all your web design issues. And as such we would like to share with you our favorite code snippets from this last week.</p>
<p><span id="more-5452"></span></p>
<p>It has been yet another good week, thanks for your support!</p>
<p><strong><em>&#8220;<a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fanswers.designreviver.com%2F&sref=rss">Have you asked a question yet?</a>&#8220;</em></strong></p>
<h4><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fanswers.designreviver.com%2F2238%2F&sref=rss">How Can I Display More Than One Twitter Feed On My WordPress Blog?</a></h4>
<blockquote><p>We do this by accessing the persons Twitter account RSS feed, then fetching it and embedding it on your site.</p>
<p>Replace the example RSS&#8217;s with the ones you&#8217;d like.</p>
<p><code>get_item_quantity(3);<br />
    $rss_items = $rss-&gt;get_items(0, $maxitems);<br />
?&gt;</p>
<ul>
    &lt;?php if ($maxitems == 0) echo &#039;
<li>No items.</li>
<p>';<br />
    else<br />
    // Loop through each feed item and display each item as a hyperlink.<br />
    Foreach ( $rss_items as $item ) : ?&gt;</p>
<li>
        &lt;a href=&#039;get_permalink(); ?&gt;'&gt;<br />
            get_title(); ?&gt;<br />
        </a>
    </li>
</ul>
<p></code></p></blockquote>
<h4><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fanswers.designreviver.com%2F2237%2F&sref=rss">I Have Multiple Authors On My Site, How Can I Display Their Info?</a></h4>
<blockquote><p>If you want to display their info at the bottom or beginning of the post, then use this and place it in the corresponding area of your WordPress files. (i.e. Single.PHP or Comments.PHP)</p>
<p><code>
<div class="author-box">
<div class="author-pic"></div>
<div class="author-name"></div>
<div class="author-bio"></div>
</div>
<p></code></p>
<p>Edit the author box as necessary.</p></blockquote>
<h4><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fanswers.designreviver.com%2F2236%2F&sref=rss">How Can I Display Someone Else&#8217;s FeedBurner Post On My Site?</a></h4>
<blockquote><p>You can add the following jQuery code anywhere you want on the site (i.e. Sidebar, footer, etc.) Just remember to replace and specify which feed you&#8217;ll be recalling.</p>
<p><code>$(document).ready(function(){<br />
       $.ajax({<br />
               type: "GET",<br />
               url: "http://feeds.feedburner.com/examplefeed",<br />
               success: Function(data){<br />
                    $("#date").text($(data).find("item:first&gt;pubDate:first").text());<br />
                    $("#title").html("link:first").text()+"'&gt;"+$(data).<br />
find("item:first&gt;title:first").text()+"");<br />
                    $("#description").html($(data).<br />
find("item:first&gt;description:first").text());<br />
               }</code></p></blockquote>
<h4><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fanswers.designreviver.com%2F2225%2F&sref=rss">What Can I Use To Place A Shadow Behind My Images And Outlines?</a></h4>
<blockquote><p>If you&#8217;re refering to having your images and boxes with a drtop shadow, then you need the Box Shadow CSS feature to work for you. Here&#8217;s what you need to place in your CSS:</p>
<p><code>.shadow {<br />
  box-shadow: 3px 3px 3px #f2f2f2;<br />
  -moz-box-shadow: 3px 3px 3px #f2f2f2;<br />
  -webkit-box-shadow: 3px 3px 3px #f2f2f2;<br />
}</code></p></blockquote>
<h4><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fanswers.designreviver.com%2F2235%2F&sref=rss">What&#8217;s The Easiest Way To Redirect A Specific Page On My Site?</a></h4>
<blockquote><p>If you want to redirect users to another site once they enter a specific area on your site then you just have to use some of this Javascript code in the page to be redirected from:</p>
<p><code></p>
<p></code></p>
<p>Replace the www.google.com with the URL address you wish to redirect to.</p></blockquote>
<h4>Unanswered Questions</h4>
<p>There are always some questions that seem to get through the net, can you help us answer them?</p>
<ol>
<li><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fanswers.designreviver.com%2F3510%2F&sref=rss">What Is A Good Resource To Create Style Sheets For Multiple Web Browsers?</a></li>
<li><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fanswers.designreviver.com%2F3448%2F&sref=rss">How To Create A Profile Which Can Be Navigated, Without Using HTML Or Flash?</a></li>
<li><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fanswers.designreviver.com%2F3435%2F&sref=rss">How Do You Find New Clients?</a></li>
<li><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fanswers.designreviver.com%2F3434%2F&sref=rss">What Are Your Top Usability Tips For Web Designs?</a></li>
<li><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fanswers.designreviver.com%2F3433%2F&sref=rss">What&#8217;s A Good Mobile Framework To Use?</a></li>
<li><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fanswers.designreviver.com%2F3432%2F&sref=rss">How Can I Integrate ECommerce On My Site Without Any Coding?</a></li>
</ol>
<p>Thanks again, firstly to everyone who asked a question, but most importantly thanks to everyone that took the time to offer always helpful and useful answers.</p>
]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/general/a-selection-of-code-snippets-from-design-reviver-answers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>5 Interactive and Creative Uses for PHP</title>
		<link>http://designreviver.com/tips/5-interactive-and-creative-uses-for-php/</link>
		<comments>http://designreviver.com/tips/5-interactive-and-creative-uses-for-php/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 14:36:37 +0000</pubDate>
		<dc:creator>Joel Reyes</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[interact]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[progaming]]></category>
		<category><![CDATA[user interface]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=4979</guid>
		<description><![CDATA[PHP is a powerful and widely recognized scripting language that enables you to build interactive applications and websites. If you&#8217;re new to using PHP, then you&#8217;ll most likely benefit from know how you can use it to make your website or applications more interactive and aesthetically pleasing. With PHP you&#8217;re rarely limited to functionality and [...]]]></description>
			<content:encoded><![CDATA[<p>PHP is a powerful and widely recognized scripting language that enables you to build interactive applications and websites. If you&#8217;re new to using PHP, then you&#8217;ll most likely benefit from know how you can use it to make your website or applications more interactive and aesthetically pleasing.<span id="more-4979"></span></p>
<p>With PHP you&#8217;re rarely limited to functionality and restrictions, if you can code it,  you can build it. Below we&#8217;ll touch base on <strong>5 Interactive and Creative Uses for PHP</strong> web and desktop oriented.</p>
<h4>Graphical User Interface</h4>
<p><img src="http://designreviver.com/wp-content/uploads/2010/01/phpuse-1.jpg" alt="" /></p>
<p>There are instances were web developers make the switch from only knowing how to create apps for the web, to building desktop applications. And they use PHP as a transitional vehicle since many are already familiar with the programming language.</p>
<p>Creating a GUI made for your desktop requires extensive knowledge of PHP and various extensions. Once you&#8217;re able to really master the language by coding for desktops, designing for the web using PHP will be much easier.</p>
<p>Here are a few PHP extensions to get you started:</p>
<ul>
<li><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fgtk.php.net%2F&sref=rss">PHP GTK</a> &#8211; This is an open source extension with a nice toolkit.</li>
<li><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.zzee.com%2Fphp-gui%2F&sref=rss">ZZEE PHP GUI</a> &#8211; This solution allows you to convert your PHP scripts into functional Windows applications.</li>
</ul>
<h4>Building Facebook Apps</h4>
<p><img src="http://designreviver.com/wp-content/uploads/2010/01/phpuse-2.jpg" alt="" /></p>
<p>You can utilize PHP to integrate Facebook with a website. Before you begin developing Facebook applications with PHP you must first become acquainted with <a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwiki.developers.facebook.com%2Findex.php%2FPHP&sref=rss">Facebook&#8217;s Developer Guide</a>. It&#8217;ll help you get a much better feel of what you need to get started, and it also goes in-depth on the Facebook PHP client library subject.</p>
<p>It also provides detailed instructions on how to install and utilize the files included within the library. This is definitely a great resource to check out, especially if you have or plan on having clients that may want you to build a Facebook application for them.</p>
<h4>Creating Mailing Lists</h4>
<p><img src="http://designreviver.com/wp-content/uploads/2010/01/phpuse-3.jpg" alt="" /></p>
<p>With PHP you can write your very own script allowing you to send e-mail newsletters to your clients and anyone else you&#8217;d like. You can also use a ready-made script. PHP mailing lists are generally used as a way to keep your anyone you&#8217;d like up-to-date with whatever information you need them to know.</p>
<p>The most important feature is mass mailing. This PHP online documentation explains <a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fus3.php.net%2Fmanual%2Fen%2Ffunction.mail.php&sref=rss">PHP mailing functions</a> in-depth. You can also download all-ready made scripts such as <a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.phplist.com%2F&sref=rss">this one</a> for your website.</p>
<h4>Online Communities</h4>
<p><img src="http://designreviver.com/wp-content/uploads/2010/01/phpuse-4.jpg" alt="" /></p>
<p>A good way to promote and create self-awareness for your business, product, or service is to make your customers and users feel as though a supportive community has their back. You can create a forum, or a small social network that will allow your customers to interact and find out more about your products.</p>
<p>Many times a users is looking for a quick and effective median to receive quality support, creating an online community can reassure the user that choosing your service was/is the best choice. It will also help you receive feedback so that you&#8217;re able to improve the quality of your service.</p>
<p>There are various scripts available for building your online community, however, the most popular choice would be a PHP Framework such as Codeigntor or CakePHP. You can also use a variety of PHP tools that are efficient in their own ways, here are a few: <a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.phpbb.com%2F&sref=rss">php BB</a>, <a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.vbulletin.com%2F&sref=rss">vBulletin</a>, and <a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fpunbb.informer.com%2F&sref=rss">Pun BB</a>.</p>
<h4>Developing an E-Commerce</h4>
<p><img src="http://designreviver.com/wp-content/uploads/2010/01/phpuse-5.jpg" alt="" /></p>
<p>Implementing an E-commerce solution is one of the most sought-out uses for PHP. No matter the level of business or type of client base you may be pulling, having an E-Commerce solution at your fingertips is a powerful way to grow your business.</p>
<p>Of course, most of the effective solutions you&#8217;ve come across utilize PHP for its accuracy and stability. Whether you&#8217;re building from scratch or you&#8217;re adding new features to an existing one, PHP is the logical choice.</p>
<p>Building your own shopping cart application means you&#8217;ll be doing a lot of coding, especially if your creating one entirely from scratch. One of the best ways to successfully accomplish this is to use a framework (as mentioned above) such as <a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fcodeigniter.com%2F&sref=rss">CodeIgniter</a> or <a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fcakephp.org%2F&sref=rss">CakePHP</a>. CakePHP has a <a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fbakery.cakephp.org%2F&sref=rss">bakery section</a> that contain a large selection of extensions and features for E-Commerce developers. You can integrate various payment solutions as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/tips/5-interactive-and-creative-uses-for-php/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Fresh PHP Resources and Tutorials</title>
		<link>http://designreviver.com/tutorials/fresh-php-resources-and-tutorials/</link>
		<comments>http://designreviver.com/tutorials/fresh-php-resources-and-tutorials/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 08:00:52 +0000</pubDate>
		<dc:creator>speckyboy</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[design news]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=3110</guid>
		<description><![CDATA[PHP is the most popular server side scripting language. It is reasonably easy to learn and use, compared to others anyway, and with it being very popular, it is backed up by a huge community of developers always willing to offer new techniques and tutorials. In todays news we have collected the best recent PHP [...]]]></description>
			<content:encoded><![CDATA[<p>PHP is the most popular server side scripting language. It is reasonably easy to learn and use, compared to others anyway, and with it being very popular, it is backed up by a huge community of developers always willing to offer new techniques and tutorials. In todays news we have collected the best recent PHP resources.</p>
<p><span id="more-3110"></span></p>
<h4><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.2expertsdesign.com%2F2009%2F10%2F15%2Fcodeigniter-framework-tutorials-for-php-application%2F&sref=rss">40+ CodeIgniter Framework Tutorials for Kick-Ass PHP Application</a></h4>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.2expertsdesign.com%2F2009%2F10%2F15%2Fcodeigniter-framework-tutorials-for-php-application%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2009/10/screenshot7.jpg" alt="PHP Resources" /></a></p>
<p>CodeIgniter is an Application Development Framework – a toolkit – for people who build web sites using PHP. Here is the list of 40+ Excellent And Useful CodeIgniter Application Development Framework Tutorials &amp; Resources that includes some useful tutorials and a few great resources that has been developed for programmer and designers.</p>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.2expertsdesign.com%2F2009%2F10%2F15%2Fcodeigniter-framework-tutorials-for-php-application%2F&sref=rss">40+ CodeIgniter Framework Tutorials for Kick-Ass PHP Application</a></p>
<h4><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwebdeveloperplus.com%2Fphp%2F25-new-useful-php-techniques-tutorials%2F&sref=rss">25 New &amp; Useful PHP Techniques &amp; Tutorials</a></h4>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwebdeveloperplus.com%2Fphp%2F25-new-useful-php-techniques-tutorials%2F&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2009/10/screenshot8.jpg" alt="PHP Resources" /></a></p>
<p>Finding new and useful PHP techniques can be difficult, in this great resource they have collected 25 tips, tricks, tutorials and of course, techniques.</p>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwebdeveloperplus.com%2Fphp%2F25-new-useful-php-techniques-tutorials%2F&sref=rss">25 New &amp; Useful PHP Techniques &amp; Tutorials</a></p>
<h4><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.webdesigneronline.co.uk%2F10-great-alternatives-to-phpmyadmin&sref=rss">10 great Alternatives to phpMyAdmin</a></h4>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.webdesigneronline.co.uk%2F10-great-alternatives-to-phpmyadmin&sref=rss"><img src="http://designreviver.com/wp-content/uploads/2009/10/screenshot9.jpg" alt="PHP Resources" /></a></p>
<p>Most people in the web development world are under the impression that phpMyAdmin is the only MySQL client out there for websites. There are others, many more. The author of this post has listed and describes in detail 10great Alternatives to phpMyAdmin.</p>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.webdesigneronline.co.uk%2F10-great-alternatives-to-phpmyadmin&sref=rss">10 great Alternatives to phpMyAdmin</a></p>
<p>By Paul Andrew (<a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fspeckyboy.com&sref=rss">Speckyboy</a> and <a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Ftwitter.com%2Fspeckyboy&sref=rss">speckyboy@twitter</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/tutorials/fresh-php-resources-and-tutorials/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>10 Tools for Quick &amp; Effective Code Development</title>
		<link>http://designreviver.com/tips/10-tools-for-quick-effective-code-development/</link>
		<comments>http://designreviver.com/tips/10-tools-for-quick-effective-code-development/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 19:00:10 +0000</pubDate>
		<dc:creator>Joel Reyes</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[developement]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=2590</guid>
		<description><![CDATA[Developing websites and recognizing the level of technical proficiency behind the effort isn&#8217;t an easy task now-a-days. Especially with the conceptualization of multiple WYSIWYG tools that although allow you to save time they also manage to take most of the hard coding behind the process. Coding a site by hand with the use of tools [...]]]></description>
			<content:encoded><![CDATA[<p>Developing websites and recognizing the level of technical proficiency behind the effort isn&#8217;t an easy task now-a-days. Especially with the conceptualization of multiple WYSIWYG tools that although allow you to save time they also manage to take most of the hard coding behind the process. Coding a site by hand with the use of tools that simplify the coding process can be rewarding, as you enhance your skills and further your knowledge base.<br />
<span id="more-2590"></span><br />
Below we have hand picked <strong>10 Tools for Quick &amp; Effective Code Development</strong> that will help you further sharpen your coding skills while being efficient at the same time.</p>
<h2>BBEdit</h2>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fbarebones.com%2Fproducts%2Fbbedit%2F&sref=rss"><img class="alignnone size-full wp-image-2591" src="http://designreviver.com/wp-content/uploads/2009/09/code-01.jpg" alt="code-01" width="500" height="400" /></a></p>
<p><strong>BBEdit</strong> is a state-of-the-art HTML and text editor for the Mac operating systems. Especially designed for web developers and code slingers this app calls for top of the line editing, searching, and manipulation of text.</p>
<h2>XHTML/CSS Markup Generator</h2>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Flab.xms.pl%2Fmarkup-generator%2F&sref=rss"><img class="alignnone size-full wp-image-2597" src="http://designreviver.com/wp-content/uploads/2009/09/code-02.jpg" alt="code-02" width="500" height="400" /></a></p>
<p>This is a simple effective tool specifically created for XHTML/CSS code addicts who are fed up with having to slice their work from the very beginning. The overall goal of this application is to efficiently speed up your work by producing XHTML markup along side with a CSS frame through the use of a shortened syntax that allows you to immediately begin styling your elements.</p>
<h2>Clean AJAX</h2>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fclean-ajax.sourceforge.net%2F&sref=rss"><img class="alignnone size-full wp-image-2599" src="http://designreviver.com/wp-content/uploads/2009/09/code-03.jpg" alt="code-03" width="500" height="400" /></a></p>
<p>Clean AJAX focuses on the simplicity and speed of development, by conducting a search and destroy for AJAX issues. Clean will drastically improve your AJAX applications by utilizing a simple way to customize message&#8217;s behavior and apply your on logic to them, by providing multiple request handle, the engine is able to handle requests simultaneously and more.</p>
<h2>CFUnit</h2>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fcfunit.sourceforge.net%2F&sref=rss"><img class="alignnone size-full wp-image-2601" src="http://designreviver.com/wp-content/uploads/2009/09/code-04.jpg" alt="code-04" width="500" height="400" /></a></p>
<p>This app is a unit testing framework for ColdFusion (CFML), modeled after the popular JUnit framework. This is an Open Source project hosted on SourceForge and is freely available. By building units you readily invest into the stability of your code.You will eventually save you and your fellow developers an extensive amount of time and resource usage.</p>
<h2>Clean CSS</h2>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.cleancss.com%2F&sref=rss"><img class="alignnone size-full wp-image-2602" src="http://designreviver.com/wp-content/uploads/2009/09/code-05.jpg" alt="code-05" width="500" height="400" /></a></p>
<p>Clean CSS helps you clean up your CSS and optimize it. Benefits of optimizing your CSS code include:  faster loading pages and lower traffic costs. In the end both you and your visitors benefit from an optimization.</p>
<h2>Apanta</h2>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Faptana.com%2F&sref=rss"><img class="alignnone size-full wp-image-2603" src="http://designreviver.com/wp-content/uploads/2009/09/code-06.jpg" alt="code-06" width="500" height="400" /></a></p>
<p>An open source editor that will edit HTML, CSS, create AJAX apps, do Ruby On Rails, and more. Apanta&#8217;s editing for Ajax is state-of-the-art providing savvy JavaScript code completion and debugging, HTML/CSS/JavaScript code editing, and a fully integrated debugger with cloud deployment options.</p>
<h2>Test Everything</h2>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Ftester.jonasjohn.de%2F&sref=rss"><img class="alignnone size-full wp-image-2604" src="http://designreviver.com/wp-content/uploads/2009/09/code-07.jpg" alt="code-07" width="500" height="400" /></a></p>
<p>This nifty web app provides a wide variety of tools that check every aspect of your site, such as images, HTML, CSS, web proxies, SEO, and more including code validators.</p>
<h2>Eclipse.org</h2>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.eclipse.org%2F&sref=rss"><img class="alignnone size-full wp-image-2605" src="http://designreviver.com/wp-content/uploads/2009/09/code-08.jpg" alt="code-08" width="500" height="400" /></a></p>
<p>Eclipse is an open source development platform for Java based applications, as well as other languages. The tools and frameworks provided by Eclipse.org are primarily focused on building JEE, web services and web applications.</p>
<h2>Moo Tools</h2>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fmootools.net%2F&sref=rss"><img class="alignnone size-full wp-image-2606" src="http://designreviver.com/wp-content/uploads/2009/09/code-09.jpg" alt="code-09" width="500" height="400" /></a></p>
<p>MooTools is an effective Object-Oriented JavaScript framework designed for the intermediate to advanced JavaScript developer. With this tool you&#8217;re able to write powerful, flexible, and cross-browser code with its prestige, well organized, and interactive API.</p>
<h2>Catalyst Framework</h2>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.catalystframework.org%2F&sref=rss"><img class="alignnone size-full wp-image-2607" src="http://designreviver.com/wp-content/uploads/2009/09/code-10.jpg" alt="code-10" width="510" height="400" /></a></p>
<p>Catalyst has a built-in simple HTTP server, and is an MVC framework that runs on FreeBSD, Linux, Mac OS X, Solaris or Windows. Allows for heavy Perl development. This framework promotes the re-use of existing Perl modules that already handle common web application concerns pretty well.</p>
]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/tips/10-tools-for-quick-effective-code-development/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>PHP Security: Guidelines to Lock Down Your Website</title>
		<link>http://designreviver.com/tips/php-security-guidelines-to-lock-down-your-website/</link>
		<comments>http://designreviver.com/tips/php-security-guidelines-to-lock-down-your-website/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 19:00:15 +0000</pubDate>
		<dc:creator>Joel Reyes</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[attacks]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[xss]]></category>

		<guid isPermaLink="false">http://designreviver.com/?p=1118</guid>
		<description><![CDATA[Security has always been a concern of web developers. No site is safe from hacking attempts. Developers need to take precautions when building their applications so that they don’t become the victim of a hacking attempt. There are a number of things PHP programmers can do to prevent these kinds of attacks. What Is XSS? [...]]]></description>
			<content:encoded><![CDATA[<p>Security has always been a concern of web developers. No site is safe from hacking attempts. Developers need to take precautions when building their applications so that they don’t become the victim of a hacking attempt. There are a number of things PHP programmers can do to prevent these kinds of attacks.</p>
<p class="showcase">
<p><span id="more-1118"></span></p>
<h2><strong>What Is XSS? </strong></h2>
<p><a href="http://designreviver.com/wp-content/uploads/2009/06/php2.jpg"><img class="alignnone size-full wp-image-1119" src="http://designreviver.com/wp-content/uploads/2009/06/php2.jpg" alt="" width="500" height="300" /></a></p>
<p>XSS stands for Cross Server Scripting, and is the most common technique for hacking into a website. Most of the tips we will be talking about today will be things designed to prevent XSS attacks on your server. XSS is when someone injects code into your website, and gets it to execute. This can be used for a variety of malicious purposes.</p>
<p>Here is an example of a simple XSS attack I was able to perform on my site. I noticed that my user name was contained inside a tag on my profile page. I changed my user name to this:</p>
<p><a href="http://designreviver.com/wp-content/uploads/2009/06/php1.jpg"><img class="alignnone size-full wp-image-1120" src="http://designreviver.com/wp-content/uploads/2009/06/php1.jpg" alt="" width="458" height="60" /></a></p>
<p class="showcase">
<p>This caused an alert fired away every time someone opened my profile page. It would not have been difficult for me to import an external JavaScript file, or write one that did something more malicious.</p>
<p><a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fha.ckers.org%2Fxss.html&sref=rss" target="_new"> List of common XSS exploits </a></p>
<p class="showcase">
<h2><strong>Sanitizing Input </strong></h2>
<p><a href="http://designreviver.com/wp-content/uploads/2009/06/php3.jpg"><img class="alignnone size-full wp-image-1121" src="http://designreviver.com/wp-content/uploads/2009/06/php3.jpg" alt="" width="500" height="300" /></a></p>
<p>Most XSS attacks come from manipulating the input of a site. Input comes in two forms: Forms and GET variables.  You need to take care to properly sanitize these inputs before doing anything else with them. Here are a few things you can do to make sure the input you receive is safe:</p>
<p class="showcase">
<h2><strong>Use PHP&#8217;s addslashes Function </strong></h2>
<p><a href="http://designreviver.com/wp-content/uploads/2009/06/php4.png"><img class="alignnone size-full wp-image-1122" src="http://designreviver.com/wp-content/uploads/2009/06/php4.png" alt="" width="500" height="300" /></a></p>
<p>This is a very simple thing you can do that can help prevent attacks. Simply run all of your input through the addslashes method in PHP. The slashes help escape characters that could otherwise be dangerous.</p>
<p class="showcase">
<h2><strong>Use the strip_tags Function </strong></h2>
<p>strip_tags() is another handy PHP function that can help sanitize input. You also have the option of allowing certain tags, so if you have a page where users should be allowed to use some HTML (for example, a blog post) you can still allow them to use some tags. However, be wary of allowing particularly dangerous tags, such as &lt;script&gt; or &lt;iframe&gt;.</p>
<p class="showcase">
<h2><strong>Remove JavaScript From Input </strong></h2>
<p><a href="http://designreviver.com/wp-content/uploads/2009/06/php5.jpg"><img class="alignnone size-full wp-image-1123" src="http://designreviver.com/wp-content/uploads/2009/06/php5.jpg" alt="" width="500" height="300" /></a></p>
<p>By Using regular expressions, we can make sure that no JavaScript gets through to execute. While using strip tags to remove  tags can take care of some JavaScript, it doesn&#8217;t handle instances where people may put a JavaScript event on another tag, such as an &lt;a&gt; tag. Below is a simple function that removes JavaScript from the input it is given, by using regular expressions:</p>
<pre><code>
function removeJavaScript($input){
  return  preg_replace('#]*&gt;.*?#is','',$input);
}
</code></pre>
<p class="showcase">
<h2><strong>Remove Flash From Input </strong></h2>
<p>Much like JavaScript, Flash can also be embedded via XSS and used for malicious purposes. Below is another function, which will strip Flash from the input given:</p>
<pre><code>
function removeFlash($input){
    return preg_replace("/&lt;object[0-9 a-z_?*=\":\-\/\.#\,\\n\\r\\t]+/smi", "", $input);
}

</code></pre>
<p class="showcase">
<h2><strong>Putting It All Together </strong></h2>
<p><a href="http://designreviver.com/wp-content/uploads/2009/06/php6.jpg"><img class="alignnone size-full wp-image-1124" src="http://designreviver.com/wp-content/uploads/2009/06/php6.jpg" alt="" width="500" height="300" /></a></p>
<p>Below is a handy function I&#8217;ve written that can handle all of the above methods of cleaning input. It also gives you the option of allowing JavaScript, Flash, or certain HTML tags:</p>
<pre><code>
function sanitizeInput($input,$allowedTags=””,$allowJavaScript=false,$allowFlash=false){
	$input  =  strip_tags($input,$allowedTags);
	if(!$allowJavaScript){
		$input = preg_replace('#]*&gt;.*?#is','',$input);
	}

	if(!$allowFlash){
		$input = preg_replace("/&lt;object[0-9 a-z_?*=\":\-\/\.#\,\\n\\r\\t]+/smi",
"", $input);
	}
	return $input;

}
</code></pre>
<p class="showcase">
<h2><strong>Check The Referring Page </strong></h2>
<p>Web sites are able to send requests from any server to another, and this can be dangerous. One way of making sure input is coming from where it is supposed to is to use the $_SERVER array in PHP and check what the referring site is. You can also add unique keys to forms and some pages to make sure that the input you are receiving is coming from a reliable source.</p>
<p>NETTuts has a great tutorial on this: <a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fnet.tutsplus.com%2Ftutorials%2Fphp%2Fsecure-your-forms-with-form-keys%2F&sref=rss"> Secure Your Forms with Form Keys </a></p>
<p class="showcase">
<h2><strong>Using Encryption </strong></h2>
<p><a href="http://designreviver.com/wp-content/uploads/2009/06/php7.jpg"><img class="alignnone size-full wp-image-1127" src="http://designreviver.com/wp-content/uploads/2009/06/php7.jpg" alt="" width="500" height="300" /></a></p>
<p>One of the biggest no-nos in all of web programming is storing sensitive information in plain text inside of a database. Things like passwords, social security numbers, and credit card numbers are very common pieces of data that should not be stored in a database.<br />
<!--more--><br />
It is doing a disservice to the users of your site, because if your database was ever to be compromised, you have put your users in addition to yourself, at risk.</p>
<p>PHP&#8217;s md5 and crypt functions are great tools for making sure your database is secure. Crypt allows you to use a salt variable, to help make encryption more secure, while md5 does not.  Here is an example of how to encrypt passwords, and how to verify them when a user tries to log on, using the crypt function:</p>
<pre><code>
//encrypt the input
$input  = $_POST['password'];
$salt    =  “makeThisSecure”;
$safePassword  = crypt($input,salt);
//just re encrypt the password to check
$password_attempt = “password”;
if(crypt($password_attempt,$salt) == $safePassword){
	//log the user in
}
</code></pre>
<p class="showcase">
<h2><strong>Using CAPTCHAs </strong></h2>
<p><a href="http://designreviver.com/wp-content/uploads/2009/06/php8.png"><img class="alignnone size-full wp-image-1125" src="http://designreviver.com/wp-content/uploads/2009/06/php8.png" alt="" width="500" height="300" /></a></p>
<p>If you have any kind of form that does not require a user to be logged in, using CAPTCHAs is a good way to prevent spam bots from inputing bogus information.  There are a lot of good CAPTCHA scripts that are freely available, such as : <a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.phpcaptcha.org%2F&sref=rss" target="_new"> www.phpcaptcha.org/</a>, and here is a  <a href="http://redirectingat.com?id=356X662675&xs=1&url=http%3A%2F%2Fwww.codewalkers.com%2Fc%2Fa%2FMiscellaneous%2FCreating-a-CAPTCHA-with-PHP%2F&sref=rss" target="_new"> tutorial on how to create your own CAPTCHA </a></p>
<p class="showcase">
<h2><strong>Have Secure Passwords </strong></h2>
<p><a href="http://designreviver.com/wp-content/uploads/2009/06/php9.jpg"><img class="alignnone size-full wp-image-1126" src="http://designreviver.com/wp-content/uploads/2009/06/php9.jpg" alt="" width="500" height="300" /></a></p>
<p>A number of hacking attempts come from people not having very strong passwords. Even Twitter fell victim to this not long ago (link to article).  Make sure that your password has a good mix of letters, numbers, and symbols, and that it isn&#8217;t a word that can be found in the dictionary. This includes passwords that are common words, but are spelled in &#8216;leet speak&#8217;, for example drag0n.</p>
<p>If you take these steps, you should have a much more secure web application. It can sometimes be a hassle to update existing projects, but it is nothing compared to the headache you will suffer if you don&#8217;t, and become the victim of an attack.  It is important that you don&#8217;t think of securing an application as an afterthought, but instead something that is part of your regular development process.</p>
]]></content:encoded>
			<wfw:commentRss>http://designreviver.com/tips/php-security-guidelines-to-lock-down-your-website/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>

