<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>The Tutorial Blog</title>
	
	<link>http://www.thetutorialblog.com</link>
	<description />
	<lastBuildDate>Sun, 18 Oct 2009 11:53:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
<link>http://www.thetutorialblog.com</link>
<url>http://www.thetutorialblog.com/wp-content/plugins/maxblogpress-favicon/icons/favicon-28.ico</url>
<title>The Tutorial Blog</title>
</image>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/thetutorialblogcom" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Google Wave invite</title>
		<link>http://feedproxy.google.com/~r/thetutorialblogcom/~3/1AhevmPJRQg/</link>
		<comments>http://www.thetutorialblog.com/general/google-wave-invite/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 11:53:50 +0000</pubDate>
		<dc:creator>Wez</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=138</guid>
		<description><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	I recently got a Google Wave invite and it is awesome. I will probably receive invites to Google Wave soon so if you would like an invite leave your email below using scr.im and I will invite as many commenters as I can.
  

Related posts:PHP Class for Google Maps API A few days ago [...]


Related posts:<ol><li><a href='http://www.thetutorialblog.com/php/php-class-for-google-maps-api/' rel='bookmark' title='Permanent Link: PHP Class for Google Maps API'>PHP Class for Google Maps API</a> <small>A few days ago I was developing a website for...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	<p></p><p><img class="alignleft size-full wp-image-139" title="google-wave-logo" src="http://www.thetutorialblog.com/wp-content/uploads/2009/10/google-wave-logo.png" alt="google wave logo Google Wave invite" width="256" height="256" />I recently got a <a href="http://wave.google.com">Google Wave</a> invite and it is awesome. I will probably receive invites to Google Wave soon so if you would like an invite leave your email below using <a href="http://scr.im/">scr.im</a> and I will invite as many commenters as I can.</p>
<div><table> <td><iframe src='http://digg.com/api/diggthis.php?w=new&amp;u=http://www.thetutorialblog.com/general/google-wave-invite/&amp;t=Google+Wave+invite&amp;s=normal' height='80' width='52' frameborder='0' scrolling='no'></iframe></td> <td><script type="text/javascript"><!--yahooBuzzArticleHeadline=Google+Wave+invite;//--></script><script type="text/javascript" src="http://d.yimg.com/ds/badge2.js" badgetype=square></script></td></table></div><!-- This is a HTML comment, it will not display in any page. Feel free to remove this comment if it cause any inconvenient to you.
	Thanks for using digg digg, please visit http://www.mkyong.com/blog/digg-digg-wordpress-plugin for any comments and ideas, 
	
    Author : Yong Mook Kim
    Website : http://www.mkyong.com
	-->

<p>Related posts:<ol><li><a href='http://www.thetutorialblog.com/php/php-class-for-google-maps-api/' rel='bookmark' title='Permanent Link: PHP Class for Google Maps API'>PHP Class for Google Maps API</a> <small>A few days ago I was developing a website for...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/thetutorialblogcom/~4/1AhevmPJRQg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thetutorialblog.com/general/google-wave-invite/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		<feedburner:origLink>http://www.thetutorialblog.com/general/google-wave-invite/</feedburner:origLink></item>
		<item>
		<title>ASCIICasts: AJAX History and Bookmarks</title>
		<link>http://feedproxy.google.com/~r/thetutorialblogcom/~3/Z4oZThILYlU/</link>
		<comments>http://www.thetutorialblog.com/external/asciicasts-ajax-history-and-bookmarks/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 22:30:25 +0000</pubDate>
		<dc:creator>Wez</dc:creator>
				<category><![CDATA[External]]></category>
		<category><![CDATA[active-record]]></category>
		<category><![CDATA[active-support]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[controllers]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[e-commerce]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[rails-22]]></category>
		<category><![CDATA[rails-23]]></category>
		<category><![CDATA[refactoring]]></category>
		<category><![CDATA[routing]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[views]]></category>

		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=133</guid>
		<description><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	View full tutorial
In the last episode we added AJAX functionality to a paginated list of products. Instead of acting as normal HTML links, the paginated links had click events added to them via unobtrusive JavaScript so that when clicked they made an AJAX request that updated the main content of the page with a new [...]


Related posts:<ol><li><a href='http://www.thetutorialblog.com/general/5-cakephp-tutorials-you-should-read/' rel='bookmark' title='Permanent Link: 10 CakePHP Tutorials You Should Read'>10 CakePHP Tutorials You Should Read</a> <small>There are a number of frameworks available for PHP such...</small></li><li><a href='http://www.thetutorialblog.com/general/easily-and-effectively-display-images-with-fancybox/' rel='bookmark' title='Permanent Link: Easily and effectively display images with FancyBox'>Easily and effectively display images with FancyBox</a> <small>FancyBox is a plugin for jQuery that allows you to...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	<p></p><p><a href="http://asciicasts.com/episodes/175-ajax-history-and-bookmarks">View full tutorial</a></p>
<p>In the last episode we added AJAX functionality to a paginated list of products. Instead of acting as normal HTML links, the paginated links had click events added to them via unobtrusive JavaScript so that when clicked they made an AJAX request that updated the main content of the page with a new page of products.</p>
<p><img class="alignnone size-full wp-image-134" title="AJAX History and Bookmarks" src="http://www.thetutorialblog.com/wp-content/uploads/2009/09/E175I01.png" alt="AJAX History and Bookmarks" width="576" height="307" /></p>
<h3><span id="more-133"></span></h3>
<h3>Problems With AJAX</h3>
<p>Because we’re using AJAX to update the page the URL doesn’t change when a new page of products is loaded. This means that if we reload the page, or bookmark it and return to it later, the first page of products will be shown no matter what page of products we were on. Another consequence of using AJAX is that changing the page of links we’re viewing doesn’t add the previous page to the browser’s history, so we can’t use the back and forward buttons to move through the pages we’ve just viewed.</p>
<p>So there are disadvantages to our AJAX approach; how can we work around them? That’s what we’ll show you in this episode. Be warned that this episode will be more about JavaScript than Ruby on Rails as the issues we’ll be dealing with are on the client-side.</p>
<p>There are a number of JavaScript libraries we could use to solve this problem. One of the oldest is <a href="http://code.google.com/p/reallysimplehistory/">reallysimplehistory</a>, available on Google code. There is also Yahoo’s <a href="http://developer.yahoo.com/yui/history/">Browser History Manager</a>. Yahoo have a number of JavaScript libraries available so it’s worth a look. Another option is Asual’s <a href="http://www.asual.com/swfaddress/">SWFAddress</a>, which works with Flash as well as JavaScript.</p>
<p>All of the libraries mentioned above work with plain JavaScript, but as we’re using jQuery in our application it would be better if we could find one designed to work with that. Asual, mentioned above, have released a plugin called <a href="http://www.asual.com/jquery/address/">jQuery Address</a> that would work, but instead we’re going to use a different one called <a href="http://benalman.com/projects/jquery-url-utils-plugin/">jQuery URL Utils plugin</a>. This plugin has a lot of functionality despite its small size (less than 4KB minified) and comes with good documentation.</p>
<p><a href="http://asciicasts.com/episodes/175-ajax-history-and-bookmarks">Continue reading full tutorial...</a></p>
<div><table> <td><iframe src='http://digg.com/api/diggthis.php?w=new&amp;u=http://www.thetutorialblog.com/external/asciicasts-ajax-history-and-bookmarks/&amp;t=ASCIICasts%3A+AJAX+History+and+Bookmarks&amp;s=normal' height='80' width='52' frameborder='0' scrolling='no'></iframe></td> <td><script type="text/javascript"><!--yahooBuzzArticleHeadline=ASCIICasts%3A+AJAX+History+and+Bookmarks;//--></script><script type="text/javascript" src="http://d.yimg.com/ds/badge2.js" badgetype=square></script></td></table></div><!-- This is a HTML comment, it will not display in any page. Feel free to remove this comment if it cause any inconvenient to you.
	Thanks for using digg digg, please visit http://www.mkyong.com/blog/digg-digg-wordpress-plugin for any comments and ideas, 
	
    Author : Yong Mook Kim
    Website : http://www.mkyong.com
	-->

<p>Related posts:<ol><li><a href='http://www.thetutorialblog.com/general/5-cakephp-tutorials-you-should-read/' rel='bookmark' title='Permanent Link: 10 CakePHP Tutorials You Should Read'>10 CakePHP Tutorials You Should Read</a> <small>There are a number of frameworks available for PHP such...</small></li><li><a href='http://www.thetutorialblog.com/general/easily-and-effectively-display-images-with-fancybox/' rel='bookmark' title='Permanent Link: Easily and effectively display images with FancyBox'>Easily and effectively display images with FancyBox</a> <small>FancyBox is a plugin for jQuery that allows you to...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/thetutorialblogcom/~4/Z4oZThILYlU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thetutorialblog.com/external/asciicasts-ajax-history-and-bookmarks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.thetutorialblog.com/external/asciicasts-ajax-history-and-bookmarks/</feedburner:origLink></item>
		<item>
		<title>Best Websites For Ruby On Rails Examples and Tutorials</title>
		<link>http://feedproxy.google.com/~r/thetutorialblogcom/~3/eGi8-gRuOlI/</link>
		<comments>http://www.thetutorialblog.com/general/best-websites-for-ruby-on-rails-examples-and-tutorials/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 13:51:50 +0000</pubDate>
		<dc:creator>Wez</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[codeignitor to ruby on rails]]></category>
		<category><![CDATA[create a blog in 15 minutes]]></category>
		<category><![CDATA[feed parsing]]></category>
		<category><![CDATA[good-tutorials]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mvc]]></category>
		<category><![CDATA[nettuts]]></category>
		<category><![CDATA[pagination with ajax]]></category>
		<category><![CDATA[rails guide]]></category>
		<category><![CDATA[railscasts]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=125</guid>
		<description><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	Ruby on Rails is a framework for Ruby that has became increasingly popular over the last few years. The difference between a framework and a language is a language is used for compiling code whereas a framework is built on top of a language to allow for a more rapid development process.
Ruby on Rails uses [...]


Related posts:<ol><li><a href='http://www.thetutorialblog.com/general/5-cakephp-tutorials-you-should-read/' rel='bookmark' title='Permanent Link: 10 CakePHP Tutorials You Should Read'>10 CakePHP Tutorials You Should Read</a> <small>There are a number of frameworks available for PHP such...</small></li><li><a href='http://www.thetutorialblog.com/general/new-tutorials/' rel='bookmark' title='Permanent Link: New Tutorials?'>New Tutorials?</a> <small>What kind of new tutorials would you like to see...</small></li><li><a href='http://www.thetutorialblog.com/general/boosting-traffic-to-your-website-with-submission-websites/' rel='bookmark' title='Permanent Link: Boosting traffic to your website with submission websites'>Boosting traffic to your website with submission websites</a> <small>There are many ways of getting traffic to your website...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	<p></p><p><img class="alignleft size-full wp-image-126" title="Ruby on Rails_ Screencasts" src="http://www.thetutorialblog.com/wp-content/uploads/2009/09/Ruby-on-Rails_-Screencasts.jpg" alt="Ruby on Rails_ Screencasts" width="105" height="120" /><a href="http://rubyonrails.org/">Ruby on Rails</a> is a framework for <a href="http://www.ruby-lang.org/en/">Ruby</a> that has became increasingly popular over the last few years. The difference between a framework and a language is a language is used for compiling code whereas a framework is built on top of a language to allow for a more rapid development process.</p>
<p>Ruby on Rails uses the <a href="http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller">MVC</a> (Model-View-Controller) pattern to keep code clean and organized. <a href="http://www.cakephp.org">CakePHP</a> is a great framework for <a href="http://www.php.net">PHP</a> that replicates how Ruby on Rails works, the only difference being is it uses PHP and not Ruby so the code looks a lot different although some of the functions are named the same.</p>
<p>When learning a new language it is always best to give it your full attention for at least a week or two, because you will probably end up back where you started and not learning much more than you already knew. When using a language, frameworks, <a href="http://en.wikipedia.org/wiki/Application_programming_interface">API</a>'s, etc, it is also recommended to refer to the <a href="http://rubyonrails.org/documentation">documentation</a> from time to time so that if you run into a bug it is more stress-free to solve.</p>
<p>If you are running Mac OS X then both Ruby and Rails are pre-installed. Windows and Linux users will have to download them.</p>
<p><span id="more-125"></span></p>
<h2><strong>Ruby on Rails Examples and Tutorials</strong></h2>
<p>Due to the popularity that Rails has gained lately there are a huge amount of new Ruby on Rails examples and tutorials floating around the internet.</p>
<h2>The Rails Guides</h2>
<p><a href="http://guides.rubyonrails.org/">The Rails guide</a> provides a lot of detailed information about how the framework works and how to get the most out of it. There are discussions from different database types as well as ActiveRecord and how to create forms on the fly with minimal effort.</p>
<p>This guide will teach you all the basics that you need to know about the framework and describe exactly how the MVC pattern works. ActiveRecord is a class that is used within Rails so that you only have to write certain commands and they will work with all the databases that Rails supports, this will save you a lot of time if you ever switch database in the future because you will not need to alter anything. You can find out more about ActiveRecord on RailsGuide <a href="http://guides.rails.info/activerecord_validations_callbacks.html">here</a>.</p>
<h2>Nettuts</h2>
<p><a href="http://www.nettuts.com">Nettuts</a> has to be one of the best blogs available for writing tutorials on just about anything web related. <a title="From CodeIgniter to Ruby on Rails: A Conversion" href="http://net.tutsplus.com/tutorials/ruby/from-codeigniter-to-ruby-on-rails-a-conversion/">From CodeIgniter to Ruby on Rails: A Conversion</a> is a great article for developers that have experience with CodeIgniter and would love to give Ruby on Rails a try.</p>
<p>The author of the article, Dan Harper creates a shout box using CodeIgniter and then an almost identical version with Ruby on Rails. This is a really good article for understanding how Ruby on Rails functions.</p>
<p><img class="alignnone size-full wp-image-127" title="nettuts_rails_forms" src="http://www.thetutorialblog.com/wp-content/uploads/2009/09/nettuts_rails_forms.png" alt="nettuts rails forms Best Websites For Ruby On Rails Examples and Tutorials" width="200" height="200" /><br />
If for any reason you need to build a forum from scratch using Rails and need some help, then you can with <a href="http://net.tutsplus.com/tutorials/other/building-a-forum-from-scratch-with-ruby-on-rails/">Building a Forum From Scratch with Ruby on Rails</a>.</p>
<p><img class="alignnone size-full wp-image-128" title="nettuts_restful" src="http://www.thetutorialblog.com/wp-content/uploads/2009/09/nettuts_restful.png" alt="nettuts restful Best Websites For Ruby On Rails Examples and Tutorials" width="200" height="200" /><br />
If you just need to build a user authentication system using Rails, nettuts also have a great tutorial for beginners: <a href="http://net.tutsplus.com/tutorials/ruby/getting-started-with-restful-authentication-in-rails/">Getting Started With Restful Authentication in Rails</a></p>
<h2>Railscasts</h2>
<p><a href="http://railscasts.com/">Railscasts</a> is a great podcast that any Rails developer should watch. The podcast is recorded by<a href="http://twitter.com/rbates"> Ryan Bates</a>, a Rails developer with good experience of the framework.</p>
<p>There is a new podcast posted almost every week with new and interesting techniques. Even the most advanced Rails developers are sure to learn a thing or two from this podcast with the wide range of areas that are covered.</p>
<p><img class="alignnone size-full wp-image-129" title="railscasts_1" src="http://www.thetutorialblog.com/wp-content/uploads/2009/09/railscasts_1.jpg" alt="railscasts 1 Best Websites For Ruby On Rails Examples and Tutorials" width="403" height="189" /><br />
A great tutorial that has been posted on Railscast lately that will be helpful to all beginners is <a href="http://railscasts.com/episodes/174-pagination-with-ajax">Pagination with Ajax</a>. With this tutorial you will learn how to include the jQuery javascript library inside of a rails webpage. You then learn how to use the will_paginate plugin for rails and because you are using jQuery as well the page will not refresh and results will appear almost instantly.</p>
<h3>Feed Parsing</h3>
<p>RSS feeds have became an increasingly popular format on the internet over the last few years, and if you are going to create a web 2.0 site of any kind then you will most likely want to be dealing with RSS feeds to allow readers to keep up to date. In this Railscast tutorial, Ryan uses the <a href="http://github.com/pauldix/feedzirra/tree/master">Feedzirra</a> rails plugin to parse feeds and then output the data retrieved.</p>
<h2>Official Rails website</h2>
<p>On the official website of <a href="http://rubyonrails.org/">Rails</a> there are a lot of links to screencasts that show you how to create a blog in 15 minutes.</p>
<p><img class="alignnone size-full wp-image-130" title="RoR_tutorial" src="http://www.thetutorialblog.com/wp-content/uploads/2009/09/RoR_tutorial.jpg" alt="RoR tutorial Best Websites For Ruby On Rails Examples and Tutorials" width="322" height="189" /></p>
<p>The blog isn't anything to the standards of <a href="http://wordpress.org">Wordpress</a> but it is still functional and impressive for 15 minutes work. You will also find links to other screencasts that record Ruby on Rails examples and tutorials.</p>
<h2>Good-tutorials<a href="http://www.good-tutorials.com"></a></h2>
<p><a href="http://www.good-tutorials.com">Good-tutorials</a> now has a section on their website for Ruby on Rails tutorials. The tutorials vary from beginner to expert. If you have written a tutorial on Ruby on Rails this is a great way to drive traffic to your website.</p>
<p><img class="alignnone size-full wp-image-131" title="Good-Tutorials - Ruby on Rails Tutorials" src="http://www.thetutorialblog.com/wp-content/uploads/2009/09/Good-Tutorials-Ruby-on-Rails-Tutorials.jpg" alt="Good-Tutorials - Ruby on Rails Tutorials" width="353" height="68" /></p>
<p>Most of the Rails tutorials posted on websites will be submitted here so you will find a lot of useful articles and they are ordered into sub categories as well so that you can find exactly what tutorial you are looking for. If you sign up for an account on Good-tutorials you can also save your favourites if you want to remember them for later viewing.</p>
<h2>Discussion</h2>
<p>What websites have you found helpful on your way to learning Ruby on Rails?  Let us know in the comments below.</p>
<div><table> <td><iframe src='http://digg.com/api/diggthis.php?w=new&amp;u=http://www.thetutorialblog.com/general/best-websites-for-ruby-on-rails-examples-and-tutorials/&amp;t=Best+Websites+For+Ruby+On+Rails+Examples+and+Tutorials&amp;s=normal' height='80' width='52' frameborder='0' scrolling='no'></iframe></td> <td><script type="text/javascript"><!--yahooBuzzArticleHeadline=Best+Websites+For+Ruby+On+Rails+Examples+and+Tutorials;//--></script><script type="text/javascript" src="http://d.yimg.com/ds/badge2.js" badgetype=square></script></td></table></div><!-- This is a HTML comment, it will not display in any page. Feel free to remove this comment if it cause any inconvenient to you.
	Thanks for using digg digg, please visit http://www.mkyong.com/blog/digg-digg-wordpress-plugin for any comments and ideas, 
	
    Author : Yong Mook Kim
    Website : http://www.mkyong.com
	-->

<p>Related posts:<ol><li><a href='http://www.thetutorialblog.com/general/5-cakephp-tutorials-you-should-read/' rel='bookmark' title='Permanent Link: 10 CakePHP Tutorials You Should Read'>10 CakePHP Tutorials You Should Read</a> <small>There are a number of frameworks available for PHP such...</small></li><li><a href='http://www.thetutorialblog.com/general/new-tutorials/' rel='bookmark' title='Permanent Link: New Tutorials?'>New Tutorials?</a> <small>What kind of new tutorials would you like to see...</small></li><li><a href='http://www.thetutorialblog.com/general/boosting-traffic-to-your-website-with-submission-websites/' rel='bookmark' title='Permanent Link: Boosting traffic to your website with submission websites'>Boosting traffic to your website with submission websites</a> <small>There are many ways of getting traffic to your website...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/thetutorialblogcom/~4/eGi8-gRuOlI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thetutorialblog.com/general/best-websites-for-ruby-on-rails-examples-and-tutorials/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.thetutorialblog.com/general/best-websites-for-ruby-on-rails-examples-and-tutorials/</feedburner:origLink></item>
		<item>
		<title>Send form data to PHP without the whole page reloading using jQuery</title>
		<link>http://feedproxy.google.com/~r/thetutorialblogcom/~3/qJt12c7YW1Y/</link>
		<comments>http://www.thetutorialblog.com/php/send-form-data-to-php-without-the-whole-page-reloading-using-jquery/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 00:43:14 +0000</pubDate>
		<dc:creator>Wez</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Text Tutorials]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[nettuts]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[screenr]]></category>

		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=121</guid>
		<description><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	This is my screencast for the Nettuts/Screenr screencast competition. I feel as though I rushed it because I had to do it under 5 minutes but I hope you learn a thing or two from it.

Source Files
  

Related posts:PHP Contact Form Every website needs a way of contacting the people behind...PHP Class for Google [...]


Related posts:<ol><li><a href='http://www.thetutorialblog.com/php/php-contact-form/' rel='bookmark' title='Permanent Link: PHP Contact Form'>PHP Contact Form</a> <small>Every website needs a way of contacting the people behind...</small></li><li><a href='http://www.thetutorialblog.com/php/php-class-for-google-maps-api/' rel='bookmark' title='Permanent Link: PHP Class for Google Maps API'>PHP Class for Google Maps API</a> <small>A few days ago I was developing a website for...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	<p></p><p>This is my screencast for the Nettuts/Screenr screencast competition. I feel as though I rushed it because I had to do it under 5 minutes but I hope you learn a thing or two from it.</p>
<p><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0' width='560' height='345'><param name='movie' value='http://screenr.com/Content/assets/screenr_0817090731.swf' /><param name='flashvars' value='i=10656' /><param name='allowFullScreen' value='true' /><embed src='http://screenr.com/Content/assets/screenr_0817090731.swf' flashvars='i=10656' allowFullScreen='true' width='560' height='345' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed></object></p>
<p><a href="http://www.thetutorialblog.com/files/tutorials/jquery_form.zip">Source Files</a></p>
<div><table> <td><iframe src='http://digg.com/api/diggthis.php?w=new&amp;u=http://www.thetutorialblog.com/php/send-form-data-to-php-without-the-whole-page-reloading-using-jquery/&amp;t=Send+form+data+to+PHP+without+the+whole+page+reloading+using+jQuery&amp;s=normal' height='80' width='52' frameborder='0' scrolling='no'></iframe></td> <td><script type="text/javascript"><!--yahooBuzzArticleHeadline=Send+form+data+to+PHP+without+the+whole+page+reloading+using+jQuery;//--></script><script type="text/javascript" src="http://d.yimg.com/ds/badge2.js" badgetype=square></script></td></table></div><!-- This is a HTML comment, it will not display in any page. Feel free to remove this comment if it cause any inconvenient to you.
	Thanks for using digg digg, please visit http://www.mkyong.com/blog/digg-digg-wordpress-plugin for any comments and ideas, 
	
    Author : Yong Mook Kim
    Website : http://www.mkyong.com
	-->

<p>Related posts:<ol><li><a href='http://www.thetutorialblog.com/php/php-contact-form/' rel='bookmark' title='Permanent Link: PHP Contact Form'>PHP Contact Form</a> <small>Every website needs a way of contacting the people behind...</small></li><li><a href='http://www.thetutorialblog.com/php/php-class-for-google-maps-api/' rel='bookmark' title='Permanent Link: PHP Class for Google Maps API'>PHP Class for Google Maps API</a> <small>A few days ago I was developing a website for...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/thetutorialblogcom/~4/qJt12c7YW1Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thetutorialblog.com/php/send-form-data-to-php-without-the-whole-page-reloading-using-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.thetutorialblog.com/php/send-form-data-to-php-without-the-whole-page-reloading-using-jquery/</feedburner:origLink></item>
		<item>
		<title>Easily and effectively display images with FancyBox</title>
		<link>http://feedproxy.google.com/~r/thetutorialblogcom/~3/6eHmcUgUj40/</link>
		<comments>http://www.thetutorialblog.com/general/easily-and-effectively-display-images-with-fancybox/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 23:32:39 +0000</pubDate>
		<dc:creator>Wez</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Text Tutorials]]></category>
		<category><![CDATA[alternative]]></category>
		<category><![CDATA[fancybox]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=117</guid>
		<description><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	FancyBox is a plugin for jQuery that allows you to easily display images in the same window with a simple yet effective code. The plugin takes no time to set up and all that is required is that you include the jQuery javascript library within the pages that you are using the FancyBox plugin on.
Features:

Display [...]


Related posts:<ol><li><a href='http://www.thetutorialblog.com/external/asciicasts-ajax-history-and-bookmarks/' rel='bookmark' title='Permanent Link: ASCIICasts: AJAX History and Bookmarks'>ASCIICasts: AJAX History and Bookmarks</a> <small>View full tutorial In the last episode we added AJAX...</small></li><li><a href='http://www.thetutorialblog.com/general/5-cakephp-tutorials-you-should-read/' rel='bookmark' title='Permanent Link: 10 CakePHP Tutorials You Should Read'>10 CakePHP Tutorials You Should Read</a> <small>There are a number of frameworks available for PHP such...</small></li><li><a href='http://www.thetutorialblog.com/video-tutorials/jquery-1/' rel='bookmark' title='Permanent Link: jQuery #1'>jQuery #1</a> <small>Learn how to use the animate function within the jQuery...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	<p></p><p><img class="alignleft size-full wp-image-118" title="fancybox" src="http://www.thetutorialblog.com/wp-content/uploads/2009/08/fancybox.png" alt="fancybox Easily and effectively display images with FancyBox" width="343" height="103" /><a href="http://fancybox.net/">FancyBox</a> is a plugin for <a href="http://www.jquery.com">jQuery</a> that allows you to easily display images in the same window with a simple yet effective code. The plugin takes no time to set up and all that is required is that you include the jQuery javascript library within the pages that you are using the FancyBox plugin on.</p>
<p>Features:</p>
<ul>
<li>Display single images</li>
<li>Create image galleries</li>
<li>Display iFrame</li>
<li>Execute Ajax</li>
<li>Include Flash, movies or audio files</li>
</ul>
<h2>Using FancyBox</h2>
<p>First of all we need to link to the jQuery and FancyBox file after we have downloaded.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;path-to-file/jquery.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;path-to-file/jquery.fancybox.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p><span id="more-117"></span><br />
Next we add the stylesheet that is included with FancyBox:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;link rel=&quot;stylesheet&quot; href=&quot;path-to-file/fancybox.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot;&gt;</pre></div></div>

<p>Then to link to an image we simply set the id of an image to "<i>single_image</i>":</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;a id=&quot;single_image&quot; href=&quot;image_big.jpg&quot;&gt;&lt;img src=&quot;image_small.jpg&quot; alt=&quot;&quot;/&gt;&lt;/a&gt;</pre></div></div>

<p>All that is left to do is execute the jQuery code when the DOM is loaded.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;a#single_image&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fancybox</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>That is all the code that is needed to display a single image. To learn how to do things such as ajax calls, view the documentation for FancyBox <a href="http://fancybox.net/howto">here</a>.</p>
<h2>Other lightbox alternatives</h2>
<p>Is there another lightbox alternative that you have used that you would like to share with all the readers? Post a comment below.</p>
<div><table> <td><iframe src='http://digg.com/api/diggthis.php?w=new&amp;u=http://www.thetutorialblog.com/general/easily-and-effectively-display-images-with-fancybox/&amp;t=Easily+and+effectively+display+images+with+FancyBox&amp;s=normal' height='80' width='52' frameborder='0' scrolling='no'></iframe></td> <td><script type="text/javascript"><!--yahooBuzzArticleHeadline=Easily+and+effectively+display+images+with+FancyBox;//--></script><script type="text/javascript" src="http://d.yimg.com/ds/badge2.js" badgetype=square></script></td></table></div><!-- This is a HTML comment, it will not display in any page. Feel free to remove this comment if it cause any inconvenient to you.
	Thanks for using digg digg, please visit http://www.mkyong.com/blog/digg-digg-wordpress-plugin for any comments and ideas, 
	
    Author : Yong Mook Kim
    Website : http://www.mkyong.com
	-->

<p>Related posts:<ol><li><a href='http://www.thetutorialblog.com/external/asciicasts-ajax-history-and-bookmarks/' rel='bookmark' title='Permanent Link: ASCIICasts: AJAX History and Bookmarks'>ASCIICasts: AJAX History and Bookmarks</a> <small>View full tutorial In the last episode we added AJAX...</small></li><li><a href='http://www.thetutorialblog.com/general/5-cakephp-tutorials-you-should-read/' rel='bookmark' title='Permanent Link: 10 CakePHP Tutorials You Should Read'>10 CakePHP Tutorials You Should Read</a> <small>There are a number of frameworks available for PHP such...</small></li><li><a href='http://www.thetutorialblog.com/video-tutorials/jquery-1/' rel='bookmark' title='Permanent Link: jQuery #1'>jQuery #1</a> <small>Learn how to use the animate function within the jQuery...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/thetutorialblogcom/~4/6eHmcUgUj40" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thetutorialblog.com/general/easily-and-effectively-display-images-with-fancybox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.thetutorialblog.com/general/easily-and-effectively-display-images-with-fancybox/</feedburner:origLink></item>
		<item>
		<title>PHP Contact Form</title>
		<link>http://feedproxy.google.com/~r/thetutorialblogcom/~3/qoI4RCU6gZU/</link>
		<comments>http://www.thetutorialblog.com/php/php-contact-form/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 17:35:32 +0000</pubDate>
		<dc:creator>Wez</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Text Tutorials]]></category>
		<category><![CDATA[contact form]]></category>
		<category><![CDATA[the tutorial blog]]></category>

		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=95</guid>
		<description><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	Every website needs a way of contacting the people behind it and putting an email on a page is not such a good idea; because bots can easily pick up this email address and send spam to it. This is where a contact form comes in very useful because people can send you messages but [...]


Related posts:<ol><li><a href='http://www.thetutorialblog.com/php/php-class-for-google-maps-api/' rel='bookmark' title='Permanent Link: PHP Class for Google Maps API'>PHP Class for Google Maps API</a> <small>A few days ago I was developing a website for...</small></li><li><a href='http://www.thetutorialblog.com/php/creating-a-wordpress-plugin/' rel='bookmark' title='Permanent Link: Creating a Wordpress plugin'>Creating a Wordpress plugin</a> <small>The plugin that I'm going to show you how to...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	<p></p><p>Every website needs a way of contacting the people behind it and putting an email on a page is not such a good idea; because bots can easily pick up this email address and send spam to it. This is where a contact form comes in very useful because people can send you messages but do not get your email address.<span id="more-95"></span></p>
<p>For a contact form the first thing that we need to do is to create a form using HTML so that they can input their information and message that they are going to send.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;form action=&quot;send_message.php&quot; method=&quot;POST&quot;&gt;
	Name: &lt;input type=&quot;text&quot; name=&quot;name&quot;&gt; &lt;br /&gt;
	Email: &lt;input type=&quot;text&quot; name=&quot;email&quot;&gt; &lt;br /&gt;
	Message: &lt;textarea name=&quot;message&quot;&gt;&lt;/textarea&gt; &lt;br /&gt;
	&lt;input type=&quot;submit&quot; name=&quot;send_message&quot; value=&quot;Send!&quot;&gt;
&lt;/form&gt;</pre></div></div>

<p>When the press send it will then go to a page called send_message.php. This page will grab the information that they input and send it to an email address using the mail() function in PHP.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$name</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$email</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'email'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$message</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'message'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$to</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'your_address@your_email.com'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$subject</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;New message from <span style="color: #006699; font-weight: bold;">$name</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #990000;">mail</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$to</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subject</span><span style="color: #339933;">,</span> <span style="color: #000088;">$message</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;From: <span style="color: #006699; font-weight: bold;">$email</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Message sent&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>We need to check that the sender of the message is human so we will add a simple math question to the bottom of our form.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
	<span style="color: #000088;">$num_one</span> <span style="color: #339933;">=</span> <span style="color: #990000;">rand</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">%</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$num_two</span> <span style="color: #339933;">=</span> <span style="color: #990000;">rand</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$final_num</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$num_one</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$num_two</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$_SESSION</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'answer'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$final_num</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$num_one</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">' + '</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$num_two</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">' = '</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">?&gt;</span>
    &lt;input type=&quot;text&quot; name=&quot;answer&quot; /&gt; &lt;br /&gt;</pre></div></div>

<p>Don't forget to add</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #990000;">session_start</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>To the top of the page or we will get errors.</p>
<p>Now we check to see if they have entered information into every field and that the answer to the math question is correct, if it is the message will be sent otherwise an error will be returned.</p>
<p>All the code for the form is:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #990000;">session_start</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;form action=&quot;send_message.php&quot; method=&quot;POST&quot;&gt;
	Name: &lt;input type=&quot;text&quot; name=&quot;name&quot;&gt; &lt;br /&gt;
	Email: &lt;input type=&quot;text&quot; name=&quot;email&quot;&gt; &lt;br /&gt;
	Message: &lt;textarea name=&quot;message&quot;&gt;&lt;/textarea&gt; &lt;br /&gt;
    <span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
	<span style="color: #000088;">$num_one</span> <span style="color: #339933;">=</span> <span style="color: #990000;">rand</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">%</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$num_two</span> <span style="color: #339933;">=</span> <span style="color: #990000;">rand</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$final_num</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$num_one</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$num_two</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$_SESSION</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'answer'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$final_num</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$num_one</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">' + '</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$num_two</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">' = '</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">?&gt;</span>
    &lt;input type=&quot;text&quot; name=&quot;answer&quot; /&gt; &lt;br /&gt;
	&lt;input type=&quot;submit&quot; name=&quot;send_message&quot; value=&quot;Send!&quot;&gt;
&lt;/form&gt;</pre></div></div>

<p>All the code for error checking and sending the message is:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #990000;">session_start</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$name</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$email</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'email'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$message</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'message'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$user_answer</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'answer'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$real_answer</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_SESSION</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'answer'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$to</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'your_address@your_email.com'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$subject</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;New message from <span style="color: #006699; font-weight: bold;">$name</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$name</span><span style="color: #009900;">&#41;</span> OR <span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$email</span><span style="color: #009900;">&#41;</span> OR <span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$message</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Fill in all fields.&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$user_answer</span> <span style="color: #339933;">!=</span> <span style="color: #000088;">$real_answer</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Math question was incorrect, please try again&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #990000;">mail</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$to</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subject</span><span style="color: #339933;">,</span> <span style="color: #000088;">$message</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;From: <span style="color: #006699; font-weight: bold;">$email</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Message sent&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>You can download the source code for this tutorial <a href="http://www.thetutorialblog.com/files/tutorials/contact_form.zip">here</a>.</p>
<p>Please leave your comments and suggestions below for this tutorial.</p>
<div><table> <td><iframe src='http://digg.com/api/diggthis.php?w=new&amp;u=http://www.thetutorialblog.com/php/php-contact-form/&amp;t=PHP+Contact+Form&amp;s=normal' height='80' width='52' frameborder='0' scrolling='no'></iframe></td> <td><script type="text/javascript"><!--yahooBuzzArticleHeadline=PHP+Contact+Form;//--></script><script type="text/javascript" src="http://d.yimg.com/ds/badge2.js" badgetype=square></script></td></table></div><!-- This is a HTML comment, it will not display in any page. Feel free to remove this comment if it cause any inconvenient to you.
	Thanks for using digg digg, please visit http://www.mkyong.com/blog/digg-digg-wordpress-plugin for any comments and ideas, 
	
    Author : Yong Mook Kim
    Website : http://www.mkyong.com
	-->

<p>Related posts:<ol><li><a href='http://www.thetutorialblog.com/php/php-class-for-google-maps-api/' rel='bookmark' title='Permanent Link: PHP Class for Google Maps API'>PHP Class for Google Maps API</a> <small>A few days ago I was developing a website for...</small></li><li><a href='http://www.thetutorialblog.com/php/creating-a-wordpress-plugin/' rel='bookmark' title='Permanent Link: Creating a Wordpress plugin'>Creating a Wordpress plugin</a> <small>The plugin that I'm going to show you how to...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/thetutorialblogcom/~4/qoI4RCU6gZU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thetutorialblog.com/php/php-contact-form/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.thetutorialblog.com/php/php-contact-form/</feedburner:origLink></item>
		<item>
		<title>PHP Class for Google Maps API</title>
		<link>http://feedproxy.google.com/~r/thetutorialblogcom/~3/RXW-bK-UhOs/</link>
		<comments>http://www.thetutorialblog.com/php/php-class-for-google-maps-api/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 15:18:06 +0000</pubDate>
		<dc:creator>Wez</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Text Tutorials]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[geocoding]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[latitude]]></category>
		<category><![CDATA[longitude]]></category>
		<category><![CDATA[php googlemapapi]]></category>
		<category><![CDATA[text tutorial]]></category>
		<category><![CDATA[the tutorial blog]]></category>

		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=92</guid>
		<description><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	A few days ago I was developing a website for a client. They required that there be a map showing where addresses are that were retrieved from a database. I have never properly looked at the Google Maps API before because I have never needed to use it; so for the first time I looked [...]


Related posts:<ol><li><a href='http://www.thetutorialblog.com/general/google-wave-invite/' rel='bookmark' title='Permanent Link: Google Wave invite'>Google Wave invite</a> <small>I recently got a Google Wave invite and it is...</small></li><li><a href='http://www.thetutorialblog.com/php/creating-a-wordpress-plugin/' rel='bookmark' title='Permanent Link: Creating a Wordpress plugin'>Creating a Wordpress plugin</a> <small>The plugin that I'm going to show you how to...</small></li><li><a href='http://www.thetutorialblog.com/php/php-contact-form/' rel='bookmark' title='Permanent Link: PHP Contact Form'>PHP Contact Form</a> <small>Every website needs a way of contacting the people behind...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	<p></p><p><img class="alignleft size-full wp-image-93" title="google_maps_logo_small_blue" src="http://www.thetutorialblog.com/wp-content/uploads/2009/07/google_maps_logo_small_blue.png" alt="google maps logo small blue PHP Class for Google Maps API" width="200" height="200" />A few days ago I was developing a website for a client. They required that there be a map showing where addresses are that were retrieved from a database. I have never properly looked at the Google Maps API before because I have never needed to use it; so for the first time I looked at it and gave it a try. Then after playing around with it for a bit i realised that reverse geocoding was needed to convert the address into latitude and longitude figures.</p>
<p>Because I was programming this website in PHP I thought I would have a look around for a PHP class to see if there was a quicker way of doing this. Luckily enough I found a PHP class called <a title="PHP GoogleMapAPI" href="http://www.phpinsider.com/php/code/GoogleMapAPI/" target="_blank">PHP GoogleMapAPI</a>. It took me a few minutes to read through the documentation for this class but it was so straight forward and simple. All in all it takes only 6 lines of code using this class to create a google map and locate it to an address; because it does all the other work for you that you don't need to know about if you're not going to be programming Google Maps every day of your life.</p>
<p><span id="more-92"></span></p>
<h2>Implementing Google Maps on your website</h2>
<p>The first thing you need to do is go to <a title="PHP GoogleMapAPI" href="http://www.phpinsider.com/php/code/GoogleMapAPI/" target="_blank">the website</a> and download the class. Then copy it into the directory where you keep your classes stored on your server.</p>
<p>When you have downloaded the class, it then needs to be included in the file that we want to show the map in. At the top of your file insert the code below.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">require</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'GoogleMapAPI.class.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$map</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> GoogleMapAPI<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'map'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// enter YOUR Google Map Key</span>
<span style="color: #000088;">$map</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">setAPIKey</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'YOURGOOGLEMAPKEY'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$map</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">addMarkerByAddress</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'621 N 48th St # 6 Lincoln NE 68502'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'Our Address'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'&lt;b&gt;Our Address&lt;/b&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #339933;">&lt;</span>body onload<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;onLoad()&quot;</span><span style="color: #339933;">&gt;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$map</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">printMap</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
&lt;/body&gt;</pre></div></div>

<p>What we are doing here is including the class with the require function in PHP. If the class fails to be included then the rest of the page will stop executing.<br />
We then create a new instance of the class and then we insert.</p>
<p>If you have a Google Maps API key then insert it where it says 'YOURGOOGLEMAPKEY'. If you do not have one you can get one from <a href="http://code.google.com/apis/maps/signup.html" target="_blank">here</a>.</p>
<p>The function below adds a marker to the address you would like and centers it. This function takes 3 parameters; the address, a title and html.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$map</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">addMarkerByAddress</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>We then need to include the onLoad function so that it knows to load the map on this page.</p>
<p>The last function that we add is</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$map</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">printMap</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Wherever you insert this function is where the map will be displayed on the page.</p>
<h2>Let us know</h2>
<p>I hope this tutorial has been useful and you have learned something new from it. Feel free to post a comment below and share your experience with this class or the Google Maps API.</p>
<div><table> <td><iframe src='http://digg.com/api/diggthis.php?w=new&amp;u=http://www.thetutorialblog.com/php/php-class-for-google-maps-api/&amp;t=PHP+Class+for+Google+Maps+API&amp;s=normal' height='80' width='52' frameborder='0' scrolling='no'></iframe></td> <td><script type="text/javascript"><!--yahooBuzzArticleHeadline=PHP+Class+for+Google+Maps+API;//--></script><script type="text/javascript" src="http://d.yimg.com/ds/badge2.js" badgetype=square></script></td></table></div><!-- This is a HTML comment, it will not display in any page. Feel free to remove this comment if it cause any inconvenient to you.
	Thanks for using digg digg, please visit http://www.mkyong.com/blog/digg-digg-wordpress-plugin for any comments and ideas, 
	
    Author : Yong Mook Kim
    Website : http://www.mkyong.com
	-->

<p>Related posts:<ol><li><a href='http://www.thetutorialblog.com/general/google-wave-invite/' rel='bookmark' title='Permanent Link: Google Wave invite'>Google Wave invite</a> <small>I recently got a Google Wave invite and it is...</small></li><li><a href='http://www.thetutorialblog.com/php/creating-a-wordpress-plugin/' rel='bookmark' title='Permanent Link: Creating a Wordpress plugin'>Creating a Wordpress plugin</a> <small>The plugin that I'm going to show you how to...</small></li><li><a href='http://www.thetutorialblog.com/php/php-contact-form/' rel='bookmark' title='Permanent Link: PHP Contact Form'>PHP Contact Form</a> <small>Every website needs a way of contacting the people behind...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/thetutorialblogcom/~4/RXW-bK-UhOs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thetutorialblog.com/php/php-class-for-google-maps-api/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		<feedburner:origLink>http://www.thetutorialblog.com/php/php-class-for-google-maps-api/</feedburner:origLink></item>
		<item>
		<title>10 CakePHP Tutorials You Should Read</title>
		<link>http://feedproxy.google.com/~r/thetutorialblogcom/~3/pVLZ80i7qMU/</link>
		<comments>http://www.thetutorialblog.com/general/5-cakephp-tutorials-you-should-read/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 23:25:05 +0000</pubDate>
		<dc:creator>Wez</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[acl]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[cakephp]]></category>
		<category><![CDATA[cakephp 1.2]]></category>
		<category><![CDATA[cakephp theme]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[controllers]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[helper]]></category>
		<category><![CDATA[image upload]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[kohana]]></category>
		<category><![CDATA[meta tags]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[mvc pattern]]></category>
		<category><![CDATA[page titles]]></category>
		<category><![CDATA[prototype]]></category>
		<category><![CDATA[scriptaculous]]></category>
		<category><![CDATA[sessions]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[theming]]></category>
		<category><![CDATA[uploader plugin]]></category>
		<category><![CDATA[validation]]></category>
		<category><![CDATA[views]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=87</guid>
		<description><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	There are a number of frameworks available for PHP such as CodeIgnitor, Zend, Symfony, Kohana and many more. In this article you will find tutorials that I have found on the web that will help PHP programmers that are new to the MVC pattern or CakePHP.
CakePHP is an amazing framework if you know how to [...]


Related posts:<ol><li><a href='http://www.thetutorialblog.com/general/best-websites-for-ruby-on-rails-examples-and-tutorials/' rel='bookmark' title='Permanent Link: Best Websites For Ruby On Rails Examples and Tutorials'>Best Websites For Ruby On Rails Examples and Tutorials</a> <small>Ruby on Rails is a framework for Ruby that has...</small></li><li><a href='http://www.thetutorialblog.com/external/asciicasts-ajax-history-and-bookmarks/' rel='bookmark' title='Permanent Link: ASCIICasts: AJAX History and Bookmarks'>ASCIICasts: AJAX History and Bookmarks</a> <small>View full tutorial In the last episode we added AJAX...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	<p></p><p><img class="alignleft size-full wp-image-88" title="cake-logo" src="http://www.thetutorialblog.com/wp-content/uploads/2009/07/cake-logo.png" alt="cake logo 10 CakePHP Tutorials You Should Read" width="180" height="180" />There are a number of frameworks available for <a href="http://www.php.net">PHP</a> such as <a href="http://codeigniter.com/" target="_blank">CodeIgnitor</a>, <a href="http://framework.zend.com/" target="_blank">Zend</a>, <a href="http://www.symfony-project.org/" target="_blank">Symfony</a>, <a href="http://www.kohanaphp.com/" target="_blank">Kohana</a> and many more. In this article you will find tutorials that I have found on the web that will help PHP programmers that are new to the <a href="http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller" target="_blank">MVC pattern</a> or <a href="http://www.cakephp.org">CakePHP</a>.</p>
<p>CakePHP is an amazing framework if you know how to use it, but the documentation for CakePHP is quite badly written and can cause confusion for new users. Here are a few links to try and make life easier for new and experienced CakePHP users.</p>
<ol>
<li><a href="http://cakebaker.42dh.com/2007/01/03/validation-with-cakephp-12/" target="_blank">Validation with CakePHP</a></li>
<li><a href="http://www.pseudocoder.com/archives/2008/01/07/theming-with-cakephp/" target="_blank">Theming with CakePHP</a></li>
<li><a href="http://bakery.cakephp.org/articles/view/getting-started-quickly-with-scriptaculous-effects" target="_blank">Getting started quickly with Scriptaculous effects</a></li>
<li><a href="http://dieter.plaetinck.be/drag_n_drop_tutorial_with_cakephp_ajax_prototype_scriptaculous" target="_blank">Drag 'n drop tutorial with the CakePHP 1.2 Ajax helper, Prototype framework and Scriptaculous library</a></li>
<li><a href="http://labs.iamkoa.net/2007/11/08/secure-cakephp-via-sessions-login-logout/" target="_blank">Secure CakePHP via Sessions &amp; Magic (Login / Logout)</a></li>
<li><a href="http://aranworld.com/article/161/cakephp-acl-tutorial-what-is-it" target="_blank">CakePHP ACL Tutorial</a></li>
<li><a href="http://www.webdevelopment2.com/cakephp-bake-baking-models-controllers-views-cakephp-12/" target="_blank">CakePHP Bake - Baking Models, Controllers and Views the CakePHP 1.2 Way</a></li>
<li><a href="http://jamienay.com/blog/featured/cascading-dynamic-meta-tags-and-page-titles-in-cakephp-12/" target="_blank">Cascading Dynamic Meta Tags and Page Titles in CakePHP 1.2</a></li>
<li><a href="http://bakery.cakephp.org/articles/view/jquery-image-upload-crop" target="_blank">jQuery image upload &amp; crop</a></li>
<li><a href="http://www.milesj.me/resources/script/uploader-plugin" target="_blank">Uploader - Plugin</a></li>
</ol>
<div><table> <td><iframe src='http://digg.com/api/diggthis.php?w=new&amp;u=http://www.thetutorialblog.com/general/5-cakephp-tutorials-you-should-read/&amp;t=10+CakePHP+Tutorials+You+Should+Read&amp;s=normal' height='80' width='52' frameborder='0' scrolling='no'></iframe></td> <td><script type="text/javascript"><!--yahooBuzzArticleHeadline=10+CakePHP+Tutorials+You+Should+Read;//--></script><script type="text/javascript" src="http://d.yimg.com/ds/badge2.js" badgetype=square></script></td></table></div><!-- This is a HTML comment, it will not display in any page. Feel free to remove this comment if it cause any inconvenient to you.
	Thanks for using digg digg, please visit http://www.mkyong.com/blog/digg-digg-wordpress-plugin for any comments and ideas, 
	
    Author : Yong Mook Kim
    Website : http://www.mkyong.com
	-->

<p>Related posts:<ol><li><a href='http://www.thetutorialblog.com/general/best-websites-for-ruby-on-rails-examples-and-tutorials/' rel='bookmark' title='Permanent Link: Best Websites For Ruby On Rails Examples and Tutorials'>Best Websites For Ruby On Rails Examples and Tutorials</a> <small>Ruby on Rails is a framework for Ruby that has...</small></li><li><a href='http://www.thetutorialblog.com/external/asciicasts-ajax-history-and-bookmarks/' rel='bookmark' title='Permanent Link: ASCIICasts: AJAX History and Bookmarks'>ASCIICasts: AJAX History and Bookmarks</a> <small>View full tutorial In the last episode we added AJAX...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/thetutorialblogcom/~4/pVLZ80i7qMU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thetutorialblog.com/general/5-cakephp-tutorials-you-should-read/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.thetutorialblog.com/general/5-cakephp-tutorials-you-should-read/</feedburner:origLink></item>
		<item>
		<title>jQuery Form Validation</title>
		<link>http://feedproxy.google.com/~r/thetutorialblogcom/~3/a-FsmbpaflA/</link>
		<comments>http://www.thetutorialblog.com/video-tutorials/jquery-form-validation/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 20:38:47 +0000</pubDate>
		<dc:creator>Wez</dc:creator>
				<category><![CDATA[Video Tutorials]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=82</guid>
		<description><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	Create a form that requires the user to enter both a username and password. If the username field or password field is left blank then a message will be displayed.

  

Related posts:jQuery #1 Learn how to use the animate function within the jQuery...PHP Contact Form Every website needs a way of contacting the people [...]


Related posts:<ol><li><a href='http://www.thetutorialblog.com/video-tutorials/jquery-1/' rel='bookmark' title='Permanent Link: jQuery #1'>jQuery #1</a> <small>Learn how to use the animate function within the jQuery...</small></li><li><a href='http://www.thetutorialblog.com/php/php-contact-form/' rel='bookmark' title='Permanent Link: PHP Contact Form'>PHP Contact Form</a> <small>Every website needs a way of contacting the people behind...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	<p></p><p>Create a form that requires the user to enter both a username and password. If the username field or password field is left blank then a message will be displayed.</p>
<p><object type="application/x-shockwave-flash" width="512" height="399" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" ><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://blip.tv/scripts/flash/showplayer.swf" /><param name="flashvars" value="init=http://blip.tv/play/AYGN4GwA" /><embed src="http://blip.tv/play/AYGN4GwA" type="application/x-shockwave-flash" width="512" height="399" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<div><table> <td><iframe src='http://digg.com/api/diggthis.php?w=new&amp;u=http://www.thetutorialblog.com/video-tutorials/jquery-form-validation/&amp;t=jQuery+Form+Validation&amp;s=normal' height='80' width='52' frameborder='0' scrolling='no'></iframe></td> <td><script type="text/javascript"><!--yahooBuzzArticleHeadline=jQuery+Form+Validation;//--></script><script type="text/javascript" src="http://d.yimg.com/ds/badge2.js" badgetype=square></script></td></table></div><!-- This is a HTML comment, it will not display in any page. Feel free to remove this comment if it cause any inconvenient to you.
	Thanks for using digg digg, please visit http://www.mkyong.com/blog/digg-digg-wordpress-plugin for any comments and ideas, 
	
    Author : Yong Mook Kim
    Website : http://www.mkyong.com
	-->

<p>Related posts:<ol><li><a href='http://www.thetutorialblog.com/video-tutorials/jquery-1/' rel='bookmark' title='Permanent Link: jQuery #1'>jQuery #1</a> <small>Learn how to use the animate function within the jQuery...</small></li><li><a href='http://www.thetutorialblog.com/php/php-contact-form/' rel='bookmark' title='Permanent Link: PHP Contact Form'>PHP Contact Form</a> <small>Every website needs a way of contacting the people behind...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/thetutorialblogcom/~4/a-FsmbpaflA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thetutorialblog.com/video-tutorials/jquery-form-validation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.thetutorialblog.com/video-tutorials/jquery-form-validation/</feedburner:origLink></item>
		<item>
		<title>jQuery #1</title>
		<link>http://feedproxy.google.com/~r/thetutorialblogcom/~3/Zb6-v-GW1yI/</link>
		<comments>http://www.thetutorialblog.com/video-tutorials/jquery-1/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 22:45:40 +0000</pubDate>
		<dc:creator>Wez</dc:creator>
				<category><![CDATA[Video Tutorials]]></category>
		<category><![CDATA[animate]]></category>
		<category><![CDATA[blip]]></category>
		<category><![CDATA[blip.tv]]></category>
		<category><![CDATA[effect]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=73</guid>
		<description><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	Learn how to use the animate function within the jQuery library to create an effect similar to the table of contents for the table of contents on codeigniter.com. 
Blip.tv Link

																				
															Click to play					
										
  

Related posts:jQuery Form Validation Create a form that requires the user to enter both...Easily and effectively display images with FancyBox FancyBox is [...]


Related posts:<ol><li><a href='http://www.thetutorialblog.com/video-tutorials/jquery-form-validation/' rel='bookmark' title='Permanent Link: jQuery Form Validation'>jQuery Form Validation</a> <small>Create a form that requires the user to enter both...</small></li><li><a href='http://www.thetutorialblog.com/general/easily-and-effectively-display-images-with-fancybox/' rel='bookmark' title='Permanent Link: Easily and effectively display images with FancyBox'>Easily and effectively display images with FancyBox</a> <small>FancyBox is a plugin for jQuery that allows you to...</small></li><li><a href='http://www.thetutorialblog.com/php/creating-a-wordpress-plugin/' rel='bookmark' title='Permanent Link: Creating a Wordpress plugin'>Creating a Wordpress plugin</a> <small>The plugin that I'm going to show you how to...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[	<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
		<style>
	#code_div { border: 1px solid #DFF4B5; background-color: #F0FFD2; padding-left: 50px; padding:10px;}
	</style>
	
	<p></p><p>Learn how to use the animate function within the jQuery library to create an effect similar to the table of contents for the table of contents on codeigniter.com. </p>
<p><a href="http://thetutorialblog.blip.tv/file/2296444/">Blip.tv Link</a></p>
<p><span id="more-73"></span></p>
<p><center>															<script type="text/javascript" src="http://blip.tv/scripts/pokkariPlayer.js?ver=2008010901"></script>					<script type="text/javascript" src="http://blip.tv/syndication/write_player?skin=js&#038;posts_id=2312660&#038;source=3&#038;autoplay=true&#038;file_type=flv&#038;player_width=1024&#038;player_height=768"></script>
<div id="blip_movie_content_2312660">					<a rel="enclosure" href="http://blip.tv/file/get/Thetutorialblog-jQuery1834.flv" onclick="play_blip_movie_2312660(); return false;"><img title="Click to play" alt="Video thumbnail. Click to play" width="512" height="384" src="http://blip.tv/file/get/Thetutorialblog-jQuery1834.flv.jpg" border="0" title="Click to play" /></a>					<br />					<a rel="enclosure" href="http://blip.tv/file/get/Thetutorialblog-jQuery1834.flv" onclick="play_blip_movie_2312660(); return false;">Click to play</a>					</div>
<p>										</center></p>
<div><table> <td><iframe src='http://digg.com/api/diggthis.php?w=new&amp;u=http://www.thetutorialblog.com/video-tutorials/jquery-1/&amp;t=jQuery+%231&amp;s=normal' height='80' width='52' frameborder='0' scrolling='no'></iframe></td> <td><script type="text/javascript"><!--yahooBuzzArticleHeadline=jQuery+%231;//--></script><script type="text/javascript" src="http://d.yimg.com/ds/badge2.js" badgetype=square></script></td></table></div><!-- This is a HTML comment, it will not display in any page. Feel free to remove this comment if it cause any inconvenient to you.
	Thanks for using digg digg, please visit http://www.mkyong.com/blog/digg-digg-wordpress-plugin for any comments and ideas, 
	
    Author : Yong Mook Kim
    Website : http://www.mkyong.com
	-->

<p>Related posts:<ol><li><a href='http://www.thetutorialblog.com/video-tutorials/jquery-form-validation/' rel='bookmark' title='Permanent Link: jQuery Form Validation'>jQuery Form Validation</a> <small>Create a form that requires the user to enter both...</small></li><li><a href='http://www.thetutorialblog.com/general/easily-and-effectively-display-images-with-fancybox/' rel='bookmark' title='Permanent Link: Easily and effectively display images with FancyBox'>Easily and effectively display images with FancyBox</a> <small>FancyBox is a plugin for jQuery that allows you to...</small></li><li><a href='http://www.thetutorialblog.com/php/creating-a-wordpress-plugin/' rel='bookmark' title='Permanent Link: Creating a Wordpress plugin'>Creating a Wordpress plugin</a> <small>The plugin that I'm going to show you how to...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/thetutorialblogcom/~4/Zb6-v-GW1yI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.thetutorialblog.com/video-tutorials/jquery-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://blip.tv/file/get/Thetutorialblog-jQuery1652.mov" length="34276983" type="video/quicktime" />
<enclosure url="http://blip.tv/file/get/Thetutorialblog-jQuery1834.flv" length="32154787" type="video/x-flv" />
		<feedburner:origLink>http://www.thetutorialblog.com/video-tutorials/jquery-1/</feedburner:origLink></item>
	</channel>
</rss>
