<?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>Dev Tips &#124; Become a Better Developer, One Tip at a Time. &#187; Resources</title>
	<atom:link href="http://dev-tips.com/category/resources/feed" rel="self" type="application/rss+xml" />
	<link>http://dev-tips.com</link>
	<description>Become a Better Developer, One Tip at a Time.</description>
	<lastBuildDate>Sun, 07 Mar 2010 02:19:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>AJAX and PHP, Building Modern Web Apps &#8211; Book Review</title>
		<link>http://dev-tips.com/featured/ajax-and-php-building-modern-web-apps-book-review</link>
		<comments>http://dev-tips.com/featured/ajax-and-php-building-modern-web-apps-book-review#comments</comments>
		<pubDate>Thu, 28 Jan 2010 21:48:26 +0000</pubDate>
		<dc:creator>Drew Douglass</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Client Side]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Book Review]]></category>

		<guid isPermaLink="false">http://dev-tips.com/?p=853</guid>
		<description><![CDATA[As many of you know, I'm a huge fan of reading actual web development books to increase ones skills. Sometimes, you just need to step away from the computer and read an actual physical book. I recently had the pleasure of reading AJAX and PHP: Building Modern Web Applications - Second Edition, and I absolutely [...]]]></description>
			<content:encoded><![CDATA[<p>As many of you know, I'm a huge fan of reading actual web development books to increase ones skills. Sometimes, you just need to step away from the computer and read an actual physical book. I recently had the pleasure of reading <a href='http://www.packtpub.com/ajax-and-php-2nd-edition/mid/050110l77db5?utm_source=dev-tips.com&#038;utm_medium=affiliate&#038;utm_content=blog&#038;utm_campaign=mdb_002002' title='AJAX and PHP Book'>AJAX and PHP: Building Modern Web Applications - Second Edition</a>, and I absolutely loved it. I'm going to take some time today to go over the some of <a href='http://www.packtpub.com/ajax-and-php-2nd-edition/mid/050110l77db5?utm_source=dev-tips.com&#038;utm_medium=affiliate&#038;utm_content=blog&#038;utm_campaign=mdb_002002'>the book</a>, and what I feel it has to offer the average reader.</p>
<p><span id="more-853"></span><br />
<a href="http://www.packtpub.com/ajax-and-php-2nd-edition/mid/050110l77db5?utm_source=dev-tips.com&amp;utm_medium=affiliate&amp;utm_content=blog&amp;utm_campaign=mdb_002002"><img src="http://dev-tips.com/wp-content/uploads/2010/01/ajax-php-review.jpg" alt="" title="ajax-php-review" width="605" height="220" class="aligncenter size-full wp-image-866" /></a></p>
<h2>Review Overview</h2>
<ul>
<li>Book Summary</li>
<li>Who is this book for?</li>
<li>Subject Matter</li>
<li> Notable content/features</li>
<li>Final Thoughts</li>
</ul>
<h2>Book Summary</h2>
<p>The main focus of <a href='http://www.packtpub.com/ajax-and-php-2nd-edition/mid/050110l77db5?utm_source=dev-tips.com&#038;utm_medium=affiliate&#038;utm_content=blog&#038;utm_campaign=mdb_002002' title='AJAX and PHP: Building Modern Web Apps'>AJAX and PHP: Building Modern Web Apps</a> is to get you up and running using raw Javascript and php to build practical and useful applications. I was happy to see the book mentions Javascript libraries, but really teaches the reader how to do things with plain old Javacript while accounting for all browsers. It was actually fun learning how to create your own AJAX cross browse compatible objects, which is something I never though I'd say.</p>
<p>To quote the books description and give you a better idea of the subject matter:</p>
<p>
<blockquote>This book is a step-by-step, example-driven AJAX tutorial, featuring complete case studies. Each chapter contains a friendly mix of theory and practice, so that your journey through the book will be pleasant, yet efficient. You’ll be coding your first AJAX application at the end of the first chapter, and with each new chapter you’ll develop increasingly complex AJAX applications featuring advanced techniques and coding patterns.</p></blockquote>
<h2>Who is this book for?</h2>
<p>In my opinion this book is great for beginners to web development, intermediate web developers looking to polish their AJAX and php skills, or advanced users who may have not had much experience using raw Javascript in web applications.</p>
<p>Anyone wanting to learn how php and Javascript can integrate asynchronosuly together will probably find this book behooving.</p>
<h2>Subject Matter</h2>
<p>I can't reveal all the details, but there are some seriously awesome applications and tutorials used in this book. </p>
<p>You are first introduced and walked through the basics of everything you'll need to get started, there is also a great primer on Javascript and even OOP style of Javascript, which is a nice bonus.</p>
<p>After that, you jump right in to building example AJAX applications, taking advantage of different web services and API.</p>
<p>Both XML and JSON formats are covered, which is essential.</p>
<h2>Notable Content/Features</h2>
<p>The section dealing with JSON vs XML is just awesome no matter which side of the fence you happen to stand on. Truth is, both data formats are in wide use, so it's helpful to know how to use them both when it relate to AJAX and PHP.</p>
<p>Another feature of <a href='http://www.packtpub.com/ajax-and-php-2nd-edition/mid/050110l77db5?utm_source=dev-tips.com&#038;utm_medium=affiliate&#038;utm_content=blog&#038;utm_campaign=mdb_002002'>the book</a> I really enjoyed was the bonus on "Design Patterns" where common JS and PHP design patterns are evaluated and explained, it's very helpful for anyone trying to improve their application workflow.</p>
<p>Lastly, I'm very happy with how thorough of a job the authors did when it came to handling and dealing with cross browser issues. This isn't the most fun thing in the world, but any developer knows it's vital that their app work seamlessly across all common browsers.</p>
<h2>Final Thoughts</h2>
<p>As with nearly every single book from Packt, <a href='http://www.packtpub.com/ajax-and-php-2nd-edition/mid/050110l77db5?utm_source=dev-tips.com&#038;utm_medium=affiliate&#038;utm_content=blog&#038;utm_campaign=mdb_002002' title='AJAX and PHP'>AJAX and PHP: Building Modern Web Applications</a> is absolutely worth the price. It's a book to keep on your shelf when you're done reading to resort back to anytime you want to get your hands dirty with AJAX, and want things explained in a clear and precise manner.</p>
<h2>As Always...</h2>
<p>As always, I like to show all of you that I do in fact read all of these books I talk about and review, so here is my wonderfully extremely good looking self rocking the book:</p>
<div id="attachment_859" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.packtpub.com/ajax-and-php-2nd-edition/mid/050110l77db5?utm_source=dev-tips.com&#038;utm_medium=affiliate&#038;utm_content=blog&#038;utm_campaign=mdb_002002"><img src="http://dev-tips.com/wp-content/uploads/2010/01/AJAXandPHP-Drew-e1264713791250.jpg" alt="" title="AJAXandPHP-Drew" width="500" height="375" class="size-full wp-image-859" /></a><p class="wp-caption-text">Drew approves; he needs a haircut too!</p></div>
<h2>Get It Now!</h2>
<div><a href='http://www.packtpub.com/ajax-and-php-2nd-edition/mid/050110l77db5?utm_source=dev-tips.com&#038;utm_medium=affiliate&#038;utm_content=blog&#038;utm_campaign=mdb_002002'><img src='http://dev-tips.com/wp-content/uploads/2010/01/ajax_php_ss.png' alt='' /></a></div>
<p>You can <a href='http://www.packtpub.com/ajax-and-php-2nd-edition/mid/050110l77db5?utm_source=dev-tips.com&#038;utm_medium=affiliate&#038;utm_content=blog&#038;utm_campaign=mdb_002002' title='Get AJAX and PHP the book!'>pick up the book directly from PacktPubs</a> website and get started with AJAX and PHP today <img src='http://dev-tips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://dev-tips.com/featured/ajax-and-php-building-modern-web-apps-book-review/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Dev-Tips Turns 1! The Huge Giveaway Bash Begins!</title>
		<link>http://dev-tips.com/featured/dev-tips-turns-1-the-huge-giveaway-bash-begins</link>
		<comments>http://dev-tips.com/featured/dev-tips-turns-1-the-huge-giveaway-bash-begins#comments</comments>
		<pubDate>Thu, 07 Jan 2010 01:28:09 +0000</pubDate>
		<dc:creator>Drew Douglass</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Client Side]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://dev-tips.com/?p=789</guid>
		<description><![CDATA[Recently, we wrote about Dev-Tips turning one year old, and asked for items to be donated for a giveaway bash. I'm thrilled to say the response has been absolutely overwhelming. I have been stunned by everyones kindness and will to donate an item or product. With that said, I published the first post for Dev-Tips [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, <a href='http://dev-tips.com/featured/dev-tips-turning-1-soon-big-giveaway-bash-planned' title='Giveaway Bash Plans'>we wrote about Dev-Tips turning one year old</a>, and asked for items to be donated for a giveaway bash. I'm thrilled to say the response has been absolutely overwhelming. I have been stunned by everyones kindness and will to donate an item or product. With that said, <a href='http://dev-tips.com/featured/jquery-tip-using-xpath-selectors' title='Xpath Selectors in jQuery'>I published the first post for Dev-Tips</a> one year ago today. <strong>We've got 11 amazing items and products to giveaway to some of our readers, let the giveaway begin!</strong></p>
<p><span id="more-789"></span></p>
<h2>UPDATE!</h2>
<p><strong>As of January 14, 2010 I will be picking and emailing the random winners and ensuring those who won are eligible to receive the prize. Please check your inbox and make sure no messages get caught in your spam filter over the next few days. More updates shortly!</strong></p>
<h2>The Giveaway Items/Products</h2>
<p>We have <strong>11</strong> amazing items and products to giveaway to our readers, they are as follows.</p>
<h3><a href='http://www.phpreferencebook.com/'>PHP Reference Book (Print Edition)</a></h3>
<p><em>Courtesy of <a href='http://phpreferencebook.com'>Mario Lurig</a> - Author</em></p>
<p><a href="http://www.phpreferencebook.com"><img src="http://dev-tips.com/wp-content/uploads/2010/01/php_ref_giveaway.png" alt="" title="php_ref_giveaway" width="600" height="200" class="aligncenter size-full wp-image-810" /></a><br />
<a href="http://www.phpreferencebook.com"><img src="http://dev-tips.com/wp-content/uploads/2010/01/php_ref_ss.png" alt="" title="php_ref_ss" width="600" height="300" class="aligncenter size-full wp-image-811" /></a></p>
<p>
<blockquote>A collection of over 250 PHP functions with clear explanations in language anyone can understand, followed with as many examples as it takes to understand what the function does and how it works. One of the best PHP books to keep around as a PHP reference.<br />
This PHP reference includes numerous additional tips, the basics of PHP, MySQL query examples, regular expressions syntax, and two indexes to help you find information faster: a common language index and a function index.</p></blockquote>
<h3><a href='http://spotify.com/'>2 Spotify Invites for the Free to Use Version!</a></h3>
<p><em>Courtesy of <a href='http://becreativemagazine.com/'>BeCreativeMagazine</a></em></p>
<p><a href="http://becreativemagazine.com/"><img src="http://dev-tips.com/wp-content/uploads/2010/01/spotify_giveaway_text.png" alt="" title="spotify_giveaway_text" width="600" height="200" class="aligncenter size-full wp-image-815" /></a><br />
<a href="http://spotify.com/"><img src="http://dev-tips.com/wp-content/uploads/2010/01/spotify_ss.png" alt="" title="spotify_ss" width="600" height="300" class="aligncenter size-full wp-image-816" /></a></p>
<p>
<blockquote>Millions of songs - instant and simple<br />
Discover and share music with your friends</p></blockquote>
<p><small>Not available in all countries</small></p>
<h3><a href='http://amazon.com/' title='Amazon'>$25 Amazon Giftcard</a></h3>
<p><em>Courtesy of <a href='http://becreativemagazine.com/'>BeCreativeMagazine</a></em></p>
<p><a href="http://becreativemagazine.com/"><img src="http://dev-tips.com/wp-content/uploads/2010/01/amazon_giveaway_text.png" alt="" title="amazon_giveaway_text" width="600" height="200" class="aligncenter size-full wp-image-817" /></a><br />
<a href="http://amazon.com/"><img src="http://dev-tips.com/wp-content/uploads/2010/01/amazon_ss.png" alt="" title="amazon_ss" width="600" height="300" class="aligncenter size-full wp-image-818" /></a></p>
<p>
<blockquote><a href='http://becreativemagazine.com/'>BeCreative Magazine</a> is an online design/social media magazine. It´s also a blog for people who want to learn how to design, code and write online. Whether you need to know how to design a website from scratch, start developing themes or maybe even want to learn how to write properly for the web we´ve got it.</p></blockquote>
<h3><a href='http://www.imblog.info/'>FREE PSD to XHTML Conversion ($123 value)</a></h3>
<p><em>Courtesy of <a href='http://www.imblog.info/'>HiddenPearls</a></em></p>
<p><a href="http://www.imblog.info"><img src="http://dev-tips.com/wp-content/uploads/2010/01/free_psdtohtml_text.png" alt="" title="free_psdtohtml_text" width="600" height="200" class="aligncenter size-full wp-image-819" /></a><br />
<a href="http://www.imblog.info"><img src="http://dev-tips.com/wp-content/uploads/2010/01/hiddenpearls_ss.png" alt="" title="hiddenpearls_ss" width="600" height="300" class="aligncenter size-full wp-image-820" /></a></p>
<p>
<blockquote><a href='http://www.imblog.info/'>HiddenPearls</a> is offering a free PSD to HTML conversion for one homepage and one contact page, a $123 value, absolutely free to one lucky winner! Be sure to <a href='http://twitter.com/hiddenpearls'>follow him on Twitter!</a></p></blockquote>
<h3><a href='http://tutsplus.com/' title='TutsPlus'>FREE 3 Month TUTS+ Subscription</a></h3>
<p>Courtesy of <a href='http://envato.com' title='Envato'>Envato</a></p>
<p><a href="http://tutsplus.com/"><img src="http://dev-tips.com/wp-content/uploads/2010/01/tutsplus_text.png" alt="" title="tutsplus_text" width="600" height="200" class="aligncenter size-full wp-image-821" /></a><br />
<a href="http://tutsplus.com/"><img src="http://dev-tips.com/wp-content/uploads/2010/01/tutsplus_ss.png" alt="" title="tutsplus_ss" width="600" height="300" class="aligncenter size-full wp-image-822" /></a></p>
<p>
<blockquote>From graphics to web development, audio to video and more, get the skills you want from our family of tutorial and resource sites. Need more? We also offer a <a href='http://tutsplus.com/'>Plus program</a> where you can access source files and bonus tutorials.</p></blockquote>
<h3><a href='http://envato.com/'>$50 Credit to any one of the Envato Marketplace</a></h3>
<p><em>Courtesy of <a href='http://activeden.net/'>ActiveDen</a>, <a href='http://audiojungle.net/'>AudioJungle</a>, <a href='http://themeforest.net/'>ThemeForest</a>, <a href='http://videohive.net/'>VideoHive</a>, <a href='http://graphicriver.net/'>GraphicRiver</a>, <a href='http://3docean.net/'>3dOcean</a>, and/or <a href='http://codecanyon.net/'>CodeCanyon</a>.</em></p>
<p><a href="http://themeforest.net"><img src="http://dev-tips.com/wp-content/uploads/2010/01/marketplace_text.png" alt="" title="marketplace_text" width="600" height="200" class="aligncenter size-full wp-image-823" /></a><br />
<a href="http://themeforest.net"><img src="http://dev-tips.com/wp-content/uploads/2010/01/marketplace_ss.png" alt="" title="marketplace_ss" width="600" height="300" class="aligncenter size-full wp-image-824" /></a></p>
<p>
<blockquote>The Envato Marketplaces allow anyone to buy or sell digital goods like WordPress themes, stock audio, After Effects project files, Flash templates and much more. The marketplaces are home to a thriving community of over 300,000 users, authors and buyers and everyday hundreds of new files are added.</p></blockquote>
<h3><a href='http://www.packtpub.com/ajax-and-php-2nd-edition/mid/050110l77db5?utm_source=dev-tips.com&#038;utm_medium=affiliate&#038;utm_content=blog&#038;utm_campaign=mdb_002002' title='AJAX and PHP Building Modern Web Applications 2nd Edition'>AJAX and PHP: Building Modern Web Applications 2nd Edition (paperback)</a></h3>
<p><em>Courtesy of <a href='http://packtpub.com' title='PacktPub'>PacktPub</a></em></p>
<p><a href="http://www.packtpub.com/ajax-and-php-2nd-edition/mid/050110l77db5?utm_source=dev-tips.com&amp;utm_medium=affiliate&amp;utm_content=blog&amp;utm_campaign=mdb_002002"><img src="http://dev-tips.com/wp-content/uploads/2010/01/ajax_php_text.png" alt="" title="ajax_php_text" width="600" height="200" class="aligncenter size-full wp-image-825" /></a><br />
<a href="http://www.packtpub.com/ajax-and-php-2nd-edition/mid/050110l77db5?utm_source=dev-tips.com&amp;utm_medium=affiliate&amp;utm_content=blog&amp;utm_campaign=mdb_002002"><img src="http://dev-tips.com/wp-content/uploads/2010/01/ajax_php_ss.png" alt="" title="ajax_php_ss" width="600" height="300" class="aligncenter size-full wp-image-826" /></a></p>
<p>
<blockquote>This book is a step-by-step, example-driven AJAX tutorial, featuring complete case studies. Each chapter contains a friendly mix of theory and practice, so that your journey through the book will be pleasant, yet efficient. You’ll be coding your first AJAX application at the end of the first chapter, and with each new chapter you’ll develop increasingly complex AJAX applications featuring advanced techniques and coding patterns.</p></blockquote>
<h3><a href='https://www.e-junkie.com/ecom/gb.php?cl=88539&#038;c=ib&#038;aff=47113' title='Digging into WordPress Book'>Digging Into WordPress the Book (pdf)</a></h3>
<p><em>Courtesy of <a href='http://digwp.com' title='DigWP'>DigWP</a></em></p>
<p><a href="https://www.e-junkie.com/ecom/gb.php?cl=88539&amp;c=ib&amp;aff=47113"><img src="http://dev-tips.com/wp-content/uploads/2010/01/digwp_text.png" alt="" title="digwp_text" width="600" height="200" class="aligncenter size-full wp-image-827" /></a><br />
<a href="https://www.e-junkie.com/ecom/gb.php?cl=88539&amp;c=ib&amp;aff=47113"><img src="http://dev-tips.com/wp-content/uploads/2010/01/digwp_ss.png" alt="" title="digwp_ss" width="600" height="300" class="aligncenter size-full wp-image-828" /></a></p>
<p>
<blockquote>Written by WordPress veterans <a href='http://css-tricks.com/'>Chris Coyier</a> and <a href='http://perishablepress.com/'>Jeff Starr</a>, Digging into WordPress is 400+ jam-packed pages of everything you need to get the most out of WordPress. WordPress is great right out of the box, but unless you want an ordinary vanilla blog, it is essential to understand the full potential of WordPress and have the right tools to get the job done.</p></blockquote>
<h3><a href='http://aremysitesup.com/premium/'>One Standard Premium Account for Are My Sites Up?</a></h3>
<p><em>Courtesy of <a href='http://chriscoyier.net/' title='Chris Coyier'>Chris Coyier</a></em></p>
<p><a href="http://aremysitesup.com/premium/"><img src="http://dev-tips.com/wp-content/uploads/2010/01/amsu_text.png" alt="" title="amsu_text" width="600" height="200" class="aligncenter size-full wp-image-829" /></a><br />
<a href="http://aremysitesup.com/premium/"><img src="http://dev-tips.com/wp-content/uploads/2010/01/amsu_ss.png" alt="" title="amsu_ss" width="600" height="300" class="aligncenter size-full wp-image-830" /></a></p>
<p>
<blockquote>Your clients and/or customers don’t care that a hamster chewed through a network cable somewhere in Northern California. They want their website up. You need to find out before they do so you can react fast!</p></blockquote>
<h3><a href='http://apress.com/book/view/9781430218258'>Beginning Zend Framework (print edition)</a></h3>
<p><em>Courtesy of <a href='http://apress.com' title='Apress Publishing'>Apress Publishing</a></em></p>
<p><a href="http://apress.com/book/view/9781430218258"><img src="http://dev-tips.com/wp-content/uploads/2010/01/zend_text.png" alt="" title="zend_text" width="600" height="200" class="aligncenter size-full wp-image-831" /></a><br />
<a href="http://apress.com/book/view/9781430218258"><img src="http://dev-tips.com/wp-content/uploads/2010/01/zend_ss.png" alt="" title="zend_ss" width="600" height="300" class="aligncenter size-full wp-image-832" /></a></p>
<p>
<blockquote>The Zend Framework is one of today’s most popular PHP–based web application development frameworks. Beginning Zend Framework is a beginner’s guide to learning and using the Zend Framework. It covers everything from the installation to the various features of the framework to get the reader up and running quickly.</p></blockquote>
<h3><a href='http://apress.com/book/view/1590599829' title='Beginning Python from Novice to Professional'>Beginning Python From Novice To Professional, Second Edition (pdf)</a></h3>
<p><em>Courtesy of <a href='http://apress.com' title='Apress Publishing'>Apress Publishing</a></em></p>
<p><a href="http://apress.com/book/view/1590599829"><img src="http://dev-tips.com/wp-content/uploads/2010/01/python_text.png" alt="" title="python_text" width="600" height="200" class="aligncenter size-full wp-image-833" /></a><br />
<a href="http://apress.com/book/view/1590599829"><img src="http://dev-tips.com/wp-content/uploads/2010/01/python_ss.png" alt="" title="python_ss" width="600" height="300" class="aligncenter size-full wp-image-834" /></a></p>
<p>
<blockquote>Gain a fundamental understanding of Python’s syntax and features with the second edition of Beginning Python, an up–to–date introduction and practical reference. Covering a wide array of Python–related programming topics, including addressing language internals, database integration, network programming, and web services, you’ll be guided by sound development principles. Ten accompanying projects will ensure you can get your hands dirty in no time.</p>
<p>Updated to reflect the latest in Python programming paradigms and several of the most crucial features found in the forthcoming Python 3.0 (otherwise known as Python 3000), advanced topics, such as extending Python and packaging/distributing Python applications, are also covered.</p></blockquote>
<h2>How Do I Enter?</h2>
<p>Simple and takes merely seconds! Follow these steps:</p>
<ol>
<li><a href='http://twitter.com/?status="Dev-Tips Huge Web Developer giveaway bash, 11 items up for grab! | http://bit.ly/6kzEwQ"'>Tweet about this post on twitter</a> using any text you like. Nothing fancy. Here is a link you may use <a href='http://bit.ly/6kzEwQ' title='Shortened Giveaway Link'><code>http://bit.ly/6kzEwQ</code></a></li>
<li>Leave a comment below about which items you would like to win. Please list at least three (please add more if you can!) in case your desired item is already taken if you win.</li>
<li>That's it, I told you it was simple!</li>
</ol>
<p><small>As the comments grow larger, you will want to consider requesting choices that haven't been requested as much, to improve your chance of getting your first choice if you win.</small></p>
<h2>How are the winners determined?</h2>
<p>Random. All Random. We will choose random winners when the contest is over and try to give them their first item choice, if available. There will be 11 total winners, so be sure to follow the above steps to enter!</p>
<h2>Please Support Our Sponsors!</h2>
<p>This contest just would not have been possible without some amazing and very generous people and companies. Please take a minute of your time to give one of them a browse when you have the chance. Special thanks to:</p>
<ul>
<li><a href='http://www.phpreferencebook.com/'>Mario Lurig</a></li>
<li><a href='http://becreativemagazine.com/'>BeCreativeMagazine</a></li>
<li><a href='http://www.imblog.info/'>HiddenPearls</a></li>
<li><a href='http://envato.com'>Envato</a></li>
<li><a href='http://www.packtpub.com/'>PacktPub</a></li>
<li><a href='http://digwp.com/'>DigWP</a></li>
<li><a href='http://chriscoyier.net'>Chris Coyier</a></li>
<li><a href='http://aremysitesup.com'>Are My Sites Up?</a></li>
<li><a href='http://apress.com/' title='Apress Publishing'>Apress Publishing</a></li>
</ul>
<p>Once again, please join me in saying a huge "thank you!" to our sponsors!</p>
<h2>Support Dev-Tips</h2>
<p>We've grown a lot in one year, and we're hoping to continue to see that trend in the year 2010. If Dev-Tips has helped you out in anyway in the past year, I ask you to please consider making a small donation to help us offset the cost of hosting and running the site. Any and all donations are very much appreciated.</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="10838805">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"><br />
</form>
<p>Follow <a href='http://twitter.com/dev_tips'>@Dev_Tips</a> and <a href='http://twitter.com/drewdouglass'>@DrewDouglass</a> on Twitter!</p>
<h2>Enter now!</h2>
<p>Read through the contest steps above, and enter your comment now for a chance to win one of the 11 items!</p>
<h2>When Will the Winners be Picked?</h2>
<p>We will be picking a winner around January 13th. We may extend this a bit to give everyone a fair chance to enter.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev-tips.com/featured/dev-tips-turns-1-the-huge-giveaway-bash-begins/feed</wfw:commentRss>
		<slash:comments>156</slash:comments>
		</item>
		<item>
		<title>Introducing Minerva &#8211; A Creative Portfolio Theme</title>
		<link>http://dev-tips.com/featured/introducing-minerva-a-creative-portfolio-theme</link>
		<comments>http://dev-tips.com/featured/introducing-minerva-a-creative-portfolio-theme#comments</comments>
		<pubDate>Wed, 06 Jan 2010 04:52:43 +0000</pubDate>
		<dc:creator>Drew Douglass</dc:creator>
				<category><![CDATA[Client Side]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Site News]]></category>
		<category><![CDATA[Themes]]></category>

		<guid isPermaLink="false">http://dev-tips.com/?p=762</guid>
		<description><![CDATA[Recently, I teamed up with very talented designer and personal friend Baz Deas to form a small and fun ThemeForest team. We came up with a name, DesignThirst, and have released our first premium HTML template on ThemeForest. Minerva, the name of the theme, is a premium and very fresh corporate/portfolio theme. Just check out [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I teamed up with very talented designer and personal friend <a href='http://bazdeas.com' title='Baz Deas Portfolio'>Baz Deas</a> to form a small and fun ThemeForest team. We came up with a name, <a href='http://designthirst.net'>DesignThirst</a>, and have released our first premium HTML template on <a href='http://themeforest.net/?ref=designthirst' title='ThemeForest'>ThemeForest</a>. Minerva, the name of the theme, is a <a href='http://themeforest.net/item/minerva-xhtml-theme/75547?ref=designthirst' title='Minerva Premium HTML Theme'>premium and very fresh corporate/portfolio theme</a>. Just check out some the features!</p>
<p><span id="more-762"></span></p>
<h2>Introducing "Minerva"</h2>
<p>
<blockquote>Minerva is a fresh and clean site template that works great as a portfolio, personal, blog, or corporate site. Minerva comes packed with features and is ready to go out of the box. It even comes with a working AJAX &#038; PHP contact form w/ spam protection!</p></blockquote>
<h2>Screenshots</h2>
<p><a href="http://dev-tips.com/wp-content/uploads/2010/01/preview_minerva.jpg"><img src="http://dev-tips.com/wp-content/uploads/2010/01/preview_minerva.jpg" alt="" title="preview_minerva" width="590" height="300" class="aligncenter size-full wp-image-763" /></a></p>
<h3>Home Page</h3>
<p><a href="http://dev-tips.com/wp-content/uploads/2010/01/home_minerva.png"><img src="http://dev-tips.com/wp-content/uploads/2010/01/home_minerva.png" alt="" title="home_minerva" width="600" height="279" class="aligncenter size-full wp-image-764" /></a></p>
<h3>Footer</h3>
<p><a href="http://dev-tips.com/wp-content/uploads/2010/01/footer_minerva.png"><img src="http://dev-tips.com/wp-content/uploads/2010/01/footer_minerva.png" alt="" title="footer_minerva" width="600" height="279" class="aligncenter size-full wp-image-767" /></a></p>
<h3>Contact Page</h3>
<p><a href="http://dev-tips.com/wp-content/uploads/2010/01/contact_minerva.png"><img src="http://dev-tips.com/wp-content/uploads/2010/01/contact_minerva.png" alt="" title="contact_minerva" width="600" height="279" class="aligncenter size-full wp-image-768" /></a></p>
<h3>Blog Comments</h3>
<p><a href="http://dev-tips.com/wp-content/uploads/2010/01/blog_comments_minerva.png"><img src="http://dev-tips.com/wp-content/uploads/2010/01/blog_comments_minerva.png" alt="" title="blog_comments_minerva" width="600" height="279" class="aligncenter size-full wp-image-769" /></a></p>
<h2>Theme Features</h2>
<ul>
<li>Working  AJAX  &#38;  PHP  Contact form.</li>
<li>Nice jQuery effects in the Footer and &#8216;Share This&#8217; section.</li>
<li>Easy to use jQuery Slider in the header.</li>
<li>Custom Font Embedding with Cufon, falls back on awesome font stacks and still looks great.</li>
<li>5 Different page types included.</li>
<li>Supported in all major browsers, including  IE6!</li>
<li>Valid  XHTML </li>
<li>Custom and in depth online and offline documentation and support.</li>
<li>Clean, elegant, and semantic code aids in good  SEO .</li>
<li>Minimal use of images and creative use of sprites to save loading times.</li>
<li>Special attention paid to elements and typography, see demo page.</li>
</ul>
<h2>Demo, Documentation, &#38; Support</h2>
<h3><a href="http://designthirst.net/themes/minerva/"> </a><a href="http://designthirst.net/themes/minerva/">http://designthirst.net/themes/minerva/</a>  &#8211; Live Demo </h3>
<h3><a href="http://designthirst.net/docs/minerva/"> </a><a href="http://designthirst.net/docs/minerva/">http://designthirst.net/docs/minerva/</a>   &#8211; Online Documentation</h3>
<h3><a href="http://twitter.com/DesignThirst"> </a><a href="http://twitter.com/DesignThirst">http://twitter.com/DesignThirst</a>  &#8211; DesignThirst on Twitter</h3>
<h2>Get Minerva now!</h2>
<p>You can <a href='http://themeforest.net/item/minerva-xhtml-theme/75547?ref=designthirst' title='Minerva Premium HTML Theme'>get Minerva right now</a>, available exclusively through <a href='http://themeforest.net/item/minerva-xhtml-theme/75547?ref=designthirst' title='Minerva Premium HTML Theme'>ThemeForest</a>.<br />
<a href="http://themeforest.net/item/minerva-xhtml-theme/75547?ref=designthirst"><img src="http://dev-tips.com/wp-content/uploads/2010/01/get_minerva_button.jpg" alt="" title="get_minerva_button" width="277" height="81" /></a></p>
<h2>Feedback, Updates, and Feature Requests</h2>
<p>If you didn't know, once you buy a theme on ThemeForest, <strong>you can download any updates made to that item for free at anytime!</strong> That said, <strike>we're about to release Minerva version 1.1</strike> version 1.1 has been released!, which comes with some small enhancements, so no matter when you buy it, you'll forever have access to upgrades for free!</p>
<p>I'd love to hear any feedback or feature requests, let me know what you think!</p>
]]></content:encoded>
			<wfw:commentRss>http://dev-tips.com/featured/introducing-minerva-a-creative-portfolio-theme/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP For Absolute Beginners Reviewed + Giveaway!</title>
		<link>http://dev-tips.com/featured/php-for-absolute-beginners-reviewed-giveaway</link>
		<comments>http://dev-tips.com/featured/php-for-absolute-beginners-reviewed-giveaway#comments</comments>
		<pubDate>Tue, 08 Dec 2009 09:34:39 +0000</pubDate>
		<dc:creator>Drew Douglass</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Server Side]]></category>
		<category><![CDATA[Book Review]]></category>

		<guid isPermaLink="false">http://dev-tips.com/?p=682</guid>
		<description><![CDATA[Recently, fellow web developer and friend, Jason Lengstorf wrote and published (by Apress Publishing) PHP for Absolute Beginners. Jason was kind enough to send me a copy for my own reading and enjoyment. Now that I've finished, I'll be quickly reviewing the book and then giving away a free copy to one of our readers, [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, fellow web developer and friend, <a href='http://ennuidesign.com/' title='Ennui Design'>Jason Lengstorf</a> wrote and published (by Apress Publishing) <a href="http://www.amazon.com/gp/product/1430224738?ie=UTF8&#038;tag=devtips-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1430224738">PHP for Absolute Beginners.</a><img src="http://www.assoc-amazon.com/e/ir?t=devtips-20&#038;l=as2&#038;o=1&#038;a=1430224738" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
<p> Jason was kind enough to send me a copy for my own reading and enjoyment. Now that I've finished, I'll be quickly reviewing the book and then giving away a free copy to one of our readers, courtesy of Jason Lengstorf and Apress Publishing! Read on to find out more about the book and how to win the giveaway!
</p>
<p><span id="more-682"></span></p>
<div><a href='http://www.amazon.com/gp/product/1430224738?ie=UTF8&#038;tag=devtips-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1430224738' title='PHP For Absolute Beginners Review and Giveaway'><img alt="" src="http://dev-tips.com/post_img/php_absolute_review_image.png" title="PHP For Absolute Beginners Review and Giveaway!" class="aligncenter" width="370" height="457" /></a></div>
<p><a href='http://www.amazon.com/gp/product/1430224738?ie=UTF8&#038;tag=devtips-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1430224738'>You can grab the book on Amazon</a> right now as an early Christmas or Holiday gift to yourself, and start learning php today!</p>
<h2>Overall Thoughts</h2>
<p>The book was awesome, seriously, it was awesome. I say this as someone who has already had a lot of experience working with php, in fact, I make most of my living writing PHP code.</p>
<p>Don't believe me eh? It's so good, I gave it one thumb up! <strong>It would have gotten two</strong>, but I needed one hand to hold it:</p>
<div><div id="attachment_696" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.amazon.com/gp/product/1430224738?ie=UTF8&#038;tag=devtips-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1430224738"><img src="http://dev-tips.com/wp-content/uploads/2009/12/Photo-47-300x225.png" alt="Drew Approves of This Book" title="PHP For Absolute Beginners Book" width="300" height="225" class="size-medium wp-image-696" /></a><p class="wp-caption-text">Drew Approves of This Book</p></div></div>
<h2>Target Audience</h2>
<p>Mostly beginners, but can be used as a great refresher or reference book for intermediate to advanced users.</p>
<p><strong>Do not let the title fool you, this book is no small book!</strong> <em><a href='http://www.amazon.com/gp/product/1430224738?ie=UTF8&#038;tag=devtips-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1430224738'>PHP For Absolute Beginners</a></em> is quite a chunky book, filled with useful information and sample tutorials. Towards the last half of the book, you are walked step by step through building a nice web application.</p>
<p>If you're looking to get started with php, hands down this is the book you want to pick up first. It is not too overwhelming while at the same time stays extremely informative and in depth.</p>
<h2>Topics I Found Useful</h2>
<p>While there are a ton of valuable resources and topics in the book, a few of them stuck out to me as great references and guides:</p>
<ul>
<li>MySQLi Refresher and References</li>
<li>PDO (PHP Data Objects) and DB Abstraction is taught step by step and encouraged.</li>
<li>PHP security and best practices are dealt with immediately.</li>
<li>Great XML and RSS Feed section.</li>
</ul>
<h2>Want a Free Copy?</h2>
<p>We're giving away a copy of <em><a href='http://www.amazon.com/gp/product/1430224738?ie=UTF8&#038;tag=devtips-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1430224738'>PHP For Absolute Beginners</a></em> absolutely free! Read the details below to find out how to win!</p>
<ul>
<li>Make a quick tweet about this giveaway/review on Twitter, please include the hashtag <code>#DevTipsGiveaway</code> in your tweet. Here is a short URL to the post you can use - <code>http://bit.ly/6AJ46T</code></li>
<li>Leave a comment with one reason why you would like to win this book. Be sure you enter a valid email address so we can reach you if you win.</li>
<li>That's it, we'll announce the winner a week or two afterward!</li>
</ul>
<h2>Get the Book Now!</h2>
<p>Want to get started learning PHP the right way? Go ahead and <a href='http://www.amazon.com/gp/product/1430224738?ie=UTF8&#038;tag=devtips-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1430224738'>grab the book now</a>, it's definitely a great book to have on hand!</p>
<div><a href='http://www.amazon.com/gp/product/1430224738?ie=UTF8&#038;tag=devtips-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1430224738' title='Get PHP For Absolute Beginners'><img alt="" src="http://dev-tips.com/post_img/php_absolute_get_now.png" title="Get PHP For Absolute Beginners Now!" class="aligncenter" width="369" height="454" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://dev-tips.com/featured/php-for-absolute-beginners-reviewed-giveaway/feed</wfw:commentRss>
		<slash:comments>74</slash:comments>
		</item>
		<item>
		<title>How To Create Your First AJAX and PHP Contact Form</title>
		<link>http://dev-tips.com/featured/ajax-and-php-contact-form</link>
		<comments>http://dev-tips.com/featured/ajax-and-php-contact-form#comments</comments>
		<pubDate>Mon, 02 Nov 2009 12:38:24 +0000</pubDate>
		<dc:creator>Drew Douglass</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Server Side]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://dev-tips.com/?p=586</guid>
		<description><![CDATA[You've been to websites that use them, a nice little AJAX contact form. AJAX is a great way to submit data without a page refresh and is a great tool for certain elements of a website, such as a contact form. So how do we go about doing so? Today, we will take it step [...]]]></description>
			<content:encoded><![CDATA[<p>You've been to websites that use them, a nice little AJAX contact form. AJAX is a great way to submit data without a page refresh and is a great tool for certain elements of a website, such as a contact form. So how do we go about doing so? Today, we will take it step by step and build your first AJAX and PHP contact form. We'll be using <a href='http://jquery.com' title='jQuery Javascript Library'>jQuery</a> and the popular <a href='http://code.google.com/p/php-email-address-validation/' title='Email Validation'>email validation code</a> found on google code (originally by AddedBytes) to help us out.</p>
<p><span id="more-586"></span><br />
<img src="http://dev-tips.com/wp-content/uploads/2009/11/php_ajax_form.png" alt="php_ajax_form" title="php_ajax_form" width="605" height="220" class="aligncenter size-full wp-image-635" /></p>
<h2 class='box demo'><a target='_blank' href='http://dev-tips.com/demo/ajax_contact_form/index.html' title='Live AJAX Contact Form Demo'>Live Demo</a></h2>
<div class='download_orange'><a class="downloadlink" href="http://dev-tips.com/wp-content/plugins/download-monitor/download.php?id=4" title="Version 1.0 downloaded 1388 times" >Ajax_Contact_Form (1388) - 5.68 KB</a></div>
<h2>Folder Structure and Files</h2>
<p>Here is a brief overview of how we will setup our folders and files. If you are following along, you can go ahead and create all of these now, we'll get to them all one by one.</p>
<p>Below is the folder structure and files contained within:</p>
<ul>
<li><strong>assets</strong>
<ul>
<li><strong>css</strong>
<ul>
<li><em>style.css</em></li>
</ul>
</li>
<li><strong>js</strong>
<ul>
<li><em>ajax.js</em></li>
</ul>
</li>
<li><strong>php</strong>
<ul>
<li><em>contact-send.php</em></li>
<li><em>email-validator.php (will be downloaded and added later on)</em></li>
</ul>
</li>
<li>index.html</li>
</ul>
</ul>
<h2>HTML and Form Markup</h2>
<p>Now we need our HTML and form markup. We will try to keep it relatively simple.</p>
<h3>index.html</h3>
<pre class="brush: html">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
&lt;head&gt;
	&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;/&gt;
	&lt;title&gt;Your First AJAX and PHP Contact Form - Live Demo&lt;/title&gt;

	&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&quot;&gt;&lt;/script&gt;
	&lt;script type=&quot;text/javascript&quot; src=&quot;assets/js/ajax.js&quot;&gt;&lt;/script&gt;
	&lt;link rel=&quot;stylesheet&quot; type=&#039;text/css&#039; href=&#039;assets/css/style.css&#039; media=&#039;screen&#039; /&gt;
&lt;/head&gt;

&lt;body&gt;
	&lt;div id=&#039;wrap&#039;&gt;
		&lt;div id=&#039;header&#039;&gt;
			&lt;h1&gt;Get in touch with us...&lt;/h1&gt;
			&lt;h2&gt;Use the form below to try out the contact form.&lt;/h2&gt;
		&lt;/div&gt;

		&lt;form method=&#039;post&#039; action=&#039;./assets/php/contact-send.php&#039;&gt;
		&lt;fieldset&gt;
			&lt;legend&gt;Contact Us&lt;/legend&gt;
			&lt;label for=&#039;name&#039;&gt;Name (required)&lt;/label&gt;
				&lt;input id=&#039;form_name&#039; type=&#039;text&#039; name=&#039;name&#039; value=&#039;&#039; /&gt;
			&lt;label for=&#039;email&#039;&gt;Email (required)&lt;/label&gt;
				&lt;input id=&#039;form_email&#039; type=&#039;text&#039; name=&#039;email&#039; value=&#039;&#039; /&gt;
			&lt;label for=&#039;subject&#039;&gt;Subject&lt;/label&gt;
				&lt;input id=&#039;form_subject&#039; type=&#039;text&#039; name=&#039;subject&#039; value=&#039;&#039; /&gt;
			&lt;label for=&#039;message&#039;&gt;Message (required)&lt;/label&gt;
				&lt;textarea id=&#039;form_message&#039; rows=&#039;10&#039; cols=&#039;40&#039; name=&#039;message&#039; value=&#039;&#039;&gt;&lt;/textarea&gt;

			&lt;input id=&#039;form_submit&#039; type=&#039;submit&#039; name=&#039;submit&#039; value=&#039;Submit&#039; /&gt;

			&lt;p class=&#039;hide&#039; id=&#039;response&#039;&gt;&lt;/p&gt;

			&lt;div class=&#039;hide&#039;&gt;
				&lt;label for=&#039;spamCheck&#039;&gt;Do not fill out this field&lt;/label&gt;
				&lt;input name=&#039;spam_check&#039; type=&#039;text&#039; value=&#039;&#039; /&gt;
			&lt;/div&gt;
		&lt;/fieldset&gt;
		&lt;/form&gt;

	&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Everything above should look pretty standard, you'll notice we have a weird input and label towards the bottom of the form. We will be using this as a very basic spam check later on. More on that in a bit.</p>
<p>Also take note we are importing jQuery, our soon to be created <code>ajax.js</code>, and our <code>style.css</code>.</p>
<h2>Styles</h2>
<p>I'll leave the styles up to you, here is the bare minimum. The only thing we really need to make sure is that we hide anything inside the div class of <code>hide</code>. Notice we have still typed<br />
<blockquote>Do not fill out this field</p></blockquote>
<p>. We've done so in the very rare chance someone is surfing without CSS, they will know to leave the field blank.</p>
<h3>style.css</h3>
<pre class="brush: css">
#wrap {
	margin:0 auto;
	width:960px;
}
.hide {
	display: none;
}
label {
	display:block;
}
input {
	display:block;
}
</pre>
<h2>The PHP Code</h2>
<p>If you need to brush up on your php skills check out <a href='http://dev-tips.com/featured/5-more-quality-sites-to-help-you-become-a-php-rockstar'>5 more quality sites to help you become a php rockstar</a></p>
<h3>A word about email validation</h3>
<p><strong>You will need to download a file before I go any further</strong>, you can download the <a href='http://code.google.com/p/php-email-address-validation/'>google email validation script here</a>.</p>
<p>Got it downloaded? Great! Name it <code>email-validator.php</code> and put it in your php folder you created.</p>
<p>Now, a word about email validation. It is tricky business to say the least. There are hundreds if not thousands of little tiny things to take into account. I recently wrote a blog post titled <a href='http://php-tips.net/validate-email-with-php-the-right-way/' title='The right way to validate an email address with php'>The right way to validate an email address with php.</a> In hindsight, thhe technique used in that post certainly works, but isn't without it's draw backs. <code>FILTER_VALIDATE_EMAIL</code> has known bugs and only runs on newer versions of php, so this isn't an option for a lot of people.</p>
<p>Tired yet? Bare with me.</p>
<p>This is where the <a href='http://code.google.com/p/php-email-address-validation/'>google code email validation script</a> we downloaded comes in to play. It <a href='http://www.addedbytes.com/php/email-address-validation/'>originally aired</a> on the well known site <a href='http://addedbytes.com'>AddedBytes.com</a>. It has since grown in popularity so much that it has been moved to google code where it has received hundreds of contributions from members around the world, all with a goal to build a very solid and quick email validation system.</p>
<p>In short, <strong>the google email validation script kicks ass and we are going to use it.</strong></p>
<h3>Back to the main php code</h3>
<p>Now is where we let the php do the heavy lifting. If you haven't already created your <code>contact-send.php</code> file, see the structure above and do so now.</p>
<p>I have left many comments in the code below, so be sure to read through them. I'll go through a few important bullet points after.</p>
<h3>contact-send.php</h3>
<p><small><strong>Editors note:</strong> Please ignore any duplicate <code>empty</code> function calls below, this is a known bug of the syntax highlighting plugin. You can always download the source files if you have any confusion.</small></p>
<pre class="brush: php">
&lt;?php
//Catch any errors while testing our script
//Remove when going live.
ini_set(&quot;display_errors&quot;, &quot;1&quot;);
error_reporting(E_ALL); 

//Ensures no one loads page and does simple spam check.
if(isset($_POST[&#039;name&#039;]) &amp;&amp; empty($_POST[&#039;spam_check&#039;]))
{
	//Include our email validator for later use
	require &#039;email-validator.php&#039;;
	$validator = new EmailAddressValidator();

	//Declare our $errors variable we will be using later to store any errors.
	$errors = array();

	//Setup our basic variables
	$input_name = strip_tags($_POST[&#039;name&#039;]);
	$input_email = strip_tags($_POST[&#039;email&#039;]);
	$input_subject = strip_tags($_POST[&#039;subject&#039;]);
	$input_message = strip_tags($_POST[&#039;message&#039;]);

	//We&#039;ll check and see if any of the required fields are empty.
	//We use an array to store the required fields.
	$required = array(&#039;Name field&#039; =&gt; &#039;name&#039;, &#039;Email field&#039; =&gt; &#039;email&#039;, &#039;Message field&#039; =&gt; &#039;message&#039;);

	//Loops through each required $_POST value
	//Checks to ensure it is not empty.
	foreach($required as $key=&gt;$value)
	{
		if(isset($_POST[$value]) &amp;&amp; $_POST[$value] !== &#039;&#039;)
		{
			continue;
		}
		else {
			$errors[] = $key . &#039; cannot be left blank&#039;;
		}
	}

	//Make sure the email is valid.
    if (!$validator-&gt;check_email_address($input_email)) {
           $errors[] = &#039;Email address is invalid.&#039;;
    }

	//Now check to see if there are any errors
	if(empty($errors))
	{

		//No errors, send mail using conditional to ensure it was sent.
		if(mail(&#039;fwdrew@gmail.com&#039;, &quot;Message from $input_name - $input_subject&quot;, $input_message, &quot;From: $input_email&quot;))
		{
			echo &#039;Your email has been sent.&#039;;
		}
		else
		{
			echo &#039;There was a problem sending your email.&#039;;
		}

	}
	else
	{

		//Errors were found, output all errors to the user.
		echo implode(&#039;&lt;br /&gt;&#039;, $errors);

	}
}
else
{
	die(&#039;Direct access to this page is not allowed.&#039;);
}
</pre>
<p>Read through the comments thoroughly, most of the code should explain itself.</p>
<p>A few notes:</p>
<ul>
<li>On lines 4-5, we turn error reporting on, this is always a good idea when testing. Remove these lines before going live.</li>
<li>On line 8, we ensure that no one loads the page directly, but also do a spam check. When spam bots hit a form they usually fill out <em>all</em> HTML input fields, regardless if they are hidden with css or not. Bots also usually fill in every single input field in hopes of successfully submitting the form. We make sure this field is empty before proceeding. This is a small and basic but effective method against some spam.</li>
<li>Lines 11-12 we include and initiate our email validation object.</li>
<li>Lines 29-39 check for any empty fields that are required.</li>
<li>Line 41-43 Check to see if the email is valid</li>
</ul>
<p>The rest should make sense.</p>
<p>Right now you have a complete and working contact form. Congratulations! However, we can make this even easier on the end user by using <a href='http://jquery.com' title='jQuery'>jQuery</a> and a simple AJAX request. jQuery is a Javascript library that allows you to easily do all kinds of cool things, such as <a href='http://dev-tips.com/featured/jquery-tip-quick-and-easy-font-resizing'>quick and easy font resizing</a> and <a href='http://dev-tips.com/featured/jquery-tip-animation-and-css-queuing' title='jQuery Animation'>animation</a>.</p>
<h2>The jQuery/Javascript</h2>
<p>Lets walk through the logic of what we want the jQuery code to do for us, before we start coding it. You'll find this will help you think things through and be more efficient.</p>
<ol>
<li>Include the jQuery library, we've done so in our <code>head</code> section of our HTML already.</li>
<li>When the form is clicked, ensure that we return false.</li>
<li>Setup our necessary variables holding our form values.</li>
<li>Show the user that work is being done (e.g. Loading...).</li>
<li>Make the AJAX request to our contact-send.php file with input fields as POST data.</li>
<li>Grab the response from the php file, and display it under the form, in the response element we have in our HTML page</li>
</ol>
<p>Again, I encourage you to go through each line of the code slowly, and read the comments.</p>
<h3>ajax.js</h3>
<pre class="brush: js">
$(function(){

	//Do what we need to when form is submitted.
	$(&#039;#form_submit&#039;).click(function(){

	//Setup any needed variables.
	var input_name = $(&#039;#form_name&#039;).val(),
		input_email = $(&#039;#form_email&#039;).val(),
		input_subject = $(&#039;#form_subject&#039;).val(),
		input_message = $(&#039;#form_message&#039;).val(),
		response_text = $(&#039;#response&#039;);
		//Hide any previous response text
		response_text.hide();

		//Change response text to &#039;loading...&#039;
		response_text.html(&#039;Loading...&#039;).show();

		//Make AJAX request
		$.post(&#039;http://dev-tips.com/demo/ajax_contact_form/assets/php/contact-send.php&#039;, {name: input_name, email: input_email, subject: input_subject, message: input_message}, function(data){
			response_text.html(data);
		});

		//Cancel default action
		return false;
	});

});
</pre>
<p>Obviously, you will want to change the address/location on line 19 to wherever your file is. The rest should be self explanatory.</p>
<h2>Works Without Javascript!</h2>
<p>Keep in mind a small amount of users wont surf with JavaScript enabled. This means anytime you use AJAX or JavaScript, you need to think about what will happen if JS is disabled. In our case, if JS is disabled, the form will refresh, be validated by php, and send the email if necessary. No worries for us <img src='http://dev-tips.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>Sit back and relax</h2>
<p>If you've been following along this whole time, you can relax and get some bacon now, you've just built a complete AJAX and PHP contact form from scratch!</p>
<p>Comments? Questions? Suggestions? Let me know what you think in the comments section below. And be sure to check out the live demo and/or download all of the files used in this tutorial.</p>
<div class='box sponsor'>
<h3>Usage</h3>
<p>You <strong>can</strong> use this script in any projects or websites you may have, you just cannot sell it as is. Yes, you can use it in commercial products, you just cannot download the script, and then turn around and sell it. Other than that go crazy!</p>
</div>
<h2 class='box demo'><a target='_blank' href='http://dev-tips.com/demo/ajax_contact_form/index.html' title='Live AJAX Contact Form Demo'>Live Demo</a></h2>
<div class='download_orange'><a class="downloadlink" href="http://dev-tips.com/wp-content/plugins/download-monitor/download.php?id=4" title="Version 1.0 downloaded 1388 times" >Ajax_Contact_Form (1388) - 5.68 KB</a></div>
<h3>I love Chinese food!</h3>
<p>If you found this useful or plan on using this code, will you consider making a donation? I really just want some chicken fried rice.</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="9372484">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"><br />
</form>
]]></content:encoded>
			<wfw:commentRss>http://dev-tips.com/featured/ajax-and-php-contact-form/feed</wfw:commentRss>
		<slash:comments>58</slash:comments>
		</item>
		<item>
		<title>Link Nudge jQuery Plugin</title>
		<link>http://dev-tips.com/featured/link-nudge-jquery-plugin</link>
		<comments>http://dev-tips.com/featured/link-nudge-jquery-plugin#comments</comments>
		<pubDate>Wed, 05 Aug 2009 21:06:02 +0000</pubDate>
		<dc:creator>Drew Douglass</dc:creator>
				<category><![CDATA[Client Side]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://dev-tips.com/?p=499</guid>
		<description><![CDATA[I think it was David Walsh who first showed me the idea of link nudging using jQuery. You can see on the sidebar we also use this technique. I haven't seen a plugin made to do this yet (as it is really simple) so I figured this would be perfect for a quick jQuery plugin [...]]]></description>
			<content:encoded><![CDATA[<p>I think it was <a href='http://davidwalsh.name/jquery-link-nudging'>David Walsh who first showed me</a> the idea of link nudging using jQuery. You can see on the sidebar we also use this technique. I haven't seen a plugin made to do this yet (as it is really simple) so I figured this would be perfect for a quick jQuery plugin tutorial. You can download the plugin and/or view the demo below.</p>
<p><span id="more-499"></span></p>
<h2 class='box demo'><a href='http://dev-tips.com/demo/link_nudge.html' title='Link Nudge Demo'>View Demo</a></h2>
<div class='download_orange'><a class="downloadlink" href="http://dev-tips.com/wp-content/plugins/download-monitor/download.php?id=3" title="Version 1.0 downloaded 526 times" >jQuery Link Nudge Plugin (526) - 19.9 KB</a></div>
<p><strong>Authors Note:</strong><em>This plugin has now been given the name of NudgeIt and has had a lot of new features added! Please see the two updates at the bottom of this page for more information.</em></p>
<h2>The Plugin Javascript</h2>
<p>Creating the plugin is simple and is as easy as creating any other jQuery plugin. I'll try to comment the source code some so you can get an idea of how it all works.</p>
<p></p><p><strong><a href='http://snipplr.com/view/17929/jquery-link-nudge-plugin'>jQuery Link Nudge Plugin</a></strong><br/><small>Posted by <a href='http://snipplr.com/users/DrewDouglass'>DrewDouglass</a> on August 5th, 2009</small><br/><small>Plugin Source.</small></p><div class='code' style='border: 1px dotted; overflow: auto; white-space:nowrap;'><span style="color: #66cc66;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>$<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">//Define the plugin, named 'linkNudge' </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $.<span style="color: #006600;">fn</span>.<span style="color: #006600;">linkNudge</span> = <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>params<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">//set default parameters </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; params = $.<span style="color: #006600;">extend</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; padding: <span style="color: #CC0000;">20</span>, <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elapseTime: <span style="color: #CC0000;">300</span>, <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; returnPadding: <span style="color: #CC0000;">0</span><span style="color: #66cc66;">&#125;</span>, params<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">//Traverse every node passed </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #006600;">each</span><span style="color: #66cc66;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">//Define this as a single object </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> $t = $<span style="color: #66cc66;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">//Proceed to nudge on hover </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $t.<span style="color: #006600;">hover</span><span style="color: #66cc66;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $t.<span style="color: #000066;">stop</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">css</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">'cursor'</span>, <span style="color: #3366CC;">'pointer'</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">animate</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span>paddingLeft: params.<span style="color: #006600;">padding</span><span style="color: #66cc66;">&#125;</span>, params.<span style="color: #006600;">elapseTime</span><span style="color: #66cc66;">&#41;</span>;&nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span>, <span style="color: #003366; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $t.<span style="color: #000066;">stop</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">animate</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span>paddingLeft: params.<span style="color: #006600;">returnPadding</span><span style="color: #66cc66;">&#125;</span>, params.<span style="color: #006600;">elapseTime</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">this</span>;<span style="color: #009900; font-style: italic;">//Allow for chaining.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span>jQuery<span style="color: #66cc66;">&#41;</span>;</div><p></p>
<h2>Usage</h2>
<pre class="brush: js">
$(function(){
		$(&#039;ul li:even&#039;).linkNudge({
			elapseTime: 500
		}).css(&#039;list-style-type&#039;, &#039;circle&#039;);//Plugin allows for chaining, as seen with the css call.
	});
</pre>
<h2>Documentation</h2>
<p>To use the plugin, simply include the plugin and jQuery library on your page and make a call to the <code>linkNudge</code> function. You can include three optional parameters, as discussed below.</p>
<ol>
<li><strong>padding</strong> - Allows you to set how far the link should be nudged. Defaults to 20px.</li>
<li><strong>elapseTime</strong> - The time, in milliseconds, over which the nudge should occur. Default to 300.</li>
<li><strong>returnPadding</strong> - Optional padding to return to when the element is no longer being hovered. Defaults to 0.</li>
<h2>Terms of Use</h2>
<p>You can't sell it. Otherwise, use it how you would like in your projects, a credit to this page in the notes or documentation would be appreciated. Donations even more so.</p>
<h2 class='box demo'><a href='http://dev-tips.com/demo/link_nudge.html' title='Link Nudge Demo'>View Demo</a></h2>
<div class='download_orange'><a class="downloadlink" href="http://dev-tips.com/wp-content/plugins/download-monitor/download.php?id=3" title="Version 1.0 downloaded 526 times" >jQuery Link Nudge Plugin (526) - 19.9 KB</a></div>
<h2>Feed Me</h2>
<p>If you have used or enjoy this plugin, I urge you to consider making a small donation so I can buy some Chinese food.</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="7298669">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"><br />
</form>
<h2><strong>Update:</strong></h2>
<p>David Walsh has modified the flexibility of the plugin in a <a href='http://davidwalsh.name/jquery-link-nudge'>new post on his blog</a>. I encourage all of you to give it a look and download and see how they differ. You can find <a href='http://davidwalsh.name/jquery-link-nudge'>Davids plugin on his website</a>. Thanks for adding on to and improving the plugin David!</p>
<h2><strong>Update Two!</strong></h2>
<p>David and I have decided to collaborate on this plugin and host it on a <a href='http://github.com/DrewDouglass/NudgeIt'>GitHub</a> so everyone can easily keep track of any updates or changes. We are now also calling the plugin, quite appropriately, <strong>NudgeIt</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev-tips.com/featured/link-nudge-jquery-plugin/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>WordPress Plugin: Are You Sure?</title>
		<link>http://dev-tips.com/featured/wordpress-plugin-are-you-sure</link>
		<comments>http://dev-tips.com/featured/wordpress-plugin-are-you-sure#comments</comments>
		<pubDate>Sun, 22 Feb 2009 08:26:55 +0000</pubDate>
		<dc:creator>Drew Douglass</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Server Side]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://dev-tips.com/?p=208</guid>
		<description><![CDATA[Today we are releasing a new and very simple WordPress plugin we think you will all enjoy. The plugin is named Are You Sure? and it was created to prevent any accidental postings. If you have used WordPress for any amount of time, I am sure you have accidentally pressed the 'Publish' button before you [...]]]></description>
			<content:encoded><![CDATA[<p>Today we are releasing a new and very simple WordPress plugin we think you will all enjoy. The plugin is named <strong>Are You Sure?</strong> and it was created to prevent any accidental postings. If you have used WordPress for any amount of time, I am sure you have accidentally pressed the 'Publish' button before you were ready to publish. Sure, you can go back and change it, but chances are your RSS readers and anyone browsing the site already have seen it. Are You Sure? uses some simple Javascript when the Publish button is clicked and confirms that you do indeed wish to publish the current content. Read on to download and for instructions.</p>
<p><span id="more-208"></span></p>
<div class='download_orange'><a class="downloadlink" href="http://dev-tips.com/wp-content/plugins/download-monitor/download.php?id=2" title="Version 1.0 downloaded 785 times" >Are You Sure?  (785) - 1.67 KB</a></div>
<h3>Features</h3>
<p>Upon clicking the 'Publish' or 'Update post/page' button, a simple Javascript box confirms that you wish to publish the current content. You may cancel the publishing and go back and continue editing.</p>
<ul>
<li>Extremely small file size, less than 1.7 KB total.</li>
<li>Simple to use, just activate and your done.</li>
<li>Saves you from accidental posting.</li>
<li>Works on any 'Publish' button, including pages, posts, and quickpress.</li>
<li>Tested and Compatible with WordPress 2.7+</li>
</ul>
<h3>Screenshot</h3>
<div><img src='http://dev-tips.com/post_img/ays_screenshot1.jpg' alt='Are You Sure Plugin Screenshot' /></div>
<h3>Installation and Usage</h3>
<p>If you have never used a WordPress Plugin, you may consider reading <a href='http://codex.wordpress.org/Plugins' title='Codex Plugins Intro'>the introduction to plugins on the WordPress Codex</a>.</p>
<ul>
<li>Upload the 'areyousure' folder to 'wp-content/plugins/' directory on your server.</li>
<li>Go to the plugins link in the WordPress sidebar in your WordPress admin panel.</li>
<li>Find the plugin and click activate.</li>
<li>Your done!</li>
</ul>
<h3>Download</h3>
<div class='download_orange'><a class="downloadlink" href="http://dev-tips.com/wp-content/plugins/download-monitor/download.php?id=2" title="Version 1.0 downloaded 785 times" >Are You Sure?  (785) - 1.67 KB</a></div>
<p><strong>WP Version:</strong>Tested and working up to WP 2.9+<br />
<strong>Current Version</strong>: 1.0<br />
<strong>Download:</strong> <a class="downloadlink" href="http://dev-tips.com/wp-content/plugins/download-monitor/download.php?id=2" title="Version 1.0 downloaded 785 times" >Are You Sure?  (785) - 1.67 KB</a><br />
<strong>GitHub URL:</strong> <a href='http://github.com/DrewDouglass/Are-You-Sure-' title='Are You Sure GitHub URL'>http://github.com/DrewDouglass/Are-You-Sure-</a><br />
<strong>GitHub Clone:</strong> <code>git://github.com/DrewDouglass/Are-You-Sure-.git</code></p>
<h3>Buy Me Some Chinese Food?</h3>
<p>If you enjoy this plugin and have found it helpful, I encourage you to consider making a donation of any amount. Donations keep me motivated and help cover a tiny percent of the time and costs that go into developing plugins for the WordPress Community</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="3440419">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"><br />
</form>
<h3>Feedback and Requests</h3>
<p>We'd love to hear any feedback or requests you might have, let us know in the comments below! If you need support you can shoot us an email via our <a href='http://dev-tips.com/contact'>contact page</a>. If you enjoy WordPress and WordPress plugins, you might also enjoy our article titled '<a href='http://dev-tips.com/featured/use-the-twitter-and-tinyurl-apis-to-create-a-wordpress-plugin'>Use the twitter API to create a wordpress plugin</a>'.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev-tips.com/featured/wordpress-plugin-are-you-sure/feed</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>iBlog-A Free and Functional HTML and PHP Theme</title>
		<link>http://dev-tips.com/featured/iblog-a-free-and-functional-html-and-php-theme</link>
		<comments>http://dev-tips.com/featured/iblog-a-free-and-functional-html-and-php-theme#comments</comments>
		<pubDate>Sat, 24 Jan 2009 02:55:02 +0000</pubDate>
		<dc:creator>Drew Douglass</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Server Side]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://dev-tips.com/?p=118</guid>
		<description><![CDATA[I'm glad to release the first of many free themes to come on Dev-Tips. Every once in a while, we will release another free HTML or WordPress theme for you to use however you like. You cannot sell these themes or use them commercially without the permission of Dev-Tips.com. Other than that, enjoy them! Today, [...]]]></description>
			<content:encoded><![CDATA[<p>I'm glad to release the first of many free themes to come on Dev-Tips. Every once in a while, we will release another free HTML or WordPress theme for you to use however you like. You cannot sell these themes or use them commercially without the permission of Dev-Tips.com. Other than that, enjoy them! Today, we will have a look at a fully functional HTML and PHP based theme called iBlog.</p>
<p><span id="more-118"></span></p>
<div class='download_orange'><a class="downloadlink" href="http://dev-tips.com/wp-content/plugins/download-monitor/download.php?id=1" title="Version 1.0 downloaded 565 times" >Download iBlog (565) - 2.63 MB</a></div>
<h3>Introducing iBlog</h3>
<p>If you didn't already guess, iBlog was named and inspired by Apple, as are a lot of my designs. Call me a fanboy, I'm cool with that. Below you will find the screenshots, features, and a screencast going over the features and install.</p>
<h3>Home Page</h3>
<div><img src='http://creatingdrew.com/demo/img/iBlog_home.jpg' alt='iBlog Screenshot' /></div>
<h3>Single/About Page</h3>
<div><img src='http://creatingdrew.com/demo/img/iBlog_about.jpg' alt='iBlog Screenshot' /></div>
<h3>Image Gallery</h3>
<div><img src='http://creatingdrew.com/demo/img/iBlog_gallery.jpg' alt='iBlog Screenshot' /></div>
<h3>Contact Message Fail</h3>
<div><img src='http://creatingdrew.com/demo/img/iBlog_fail.jpg' alt='iBlog Screenshot' /></div>
<h3>Contact Message Pass</h3>
<div><img src='http://creatingdrew.com/demo/img/iBlog_pass.jpg' alt='iBlog Screenshot' /></div>
<h3>iBlog Features</h3>
<ul>
<li>Font embedding via <a href="http://typeface.neocracy.org">typeface.js</a></li>
<li>Twitter updates via JSON</li>
<li>Working php contact form with custom success and error messages</li>
<li>Lightbox effect on the image gallery</li>
<li>The "paper clip" is a seperate image, thus any image can be replaced under it.</li>
<li>Compatible with  IE6+ FF 2+ Opera 9+, Safari 3.0+</li>
<li>Full psd file included.</li>
<li>Help file included that explains everything you need to know about setting up this theme.</li>
</ul>
<h3>Important Note</h3>
<p>You need to be running PHP version 5 or higher for this to work properly. It may work in PHP 4, however, no support will be provided for those running PHP 4. Please upgrade.</p>
<h3>Live Preview</h3>
<p>You can view a live preview and all source code at the <a href='http://creatingdrew.com/Themes/iBlog/'>live preview page for iBlog</a>.</p>
<h3>Usage</h3>
<p>You may use iBlog in any <strong>non-commercial way you wish.</strong> If you enjoy the theme, a link back to <a href='http://dev-tips.com'>Dev-Tips</a> is appreciated and helps keep us motivated to build more free themes!</p>
<h3>Download iBlog</h3>
<div class='download_orange'><a class="downloadlink" href="http://dev-tips.com/wp-content/plugins/download-monitor/download.php?id=1" title="Version 1.0 downloaded 565 times" >Download iBlog (565) - 2.63 MB</a></div>
<h3>Get Support</h3>
<p>Please read the help file thoroughly before requesting support. If you still need help, please contact us via the <a href='http://dev-tips.com/contact'>contact page</a> with the subject of 'Theme Support'.</p>
<h3>Hosting</h3>
<p> You can get also get <a href="http://www.webhostingsearch.com/blog-hosting.php">blog hosting </a>over at WHS, if you don't already have a <a href="http://www.webhostingsearch.com">webhosting provider</a>. They can help you find good options should you need it.</p>
<p>Lastly, if you enjoyed this theme, let us know! We'd love to know what you think, and what you would like in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev-tips.com/featured/iblog-a-free-and-functional-html-and-php-theme/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
