<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ryan Coughlin &#124; Web and Graphic Designer &#187; json</title>
	<atom:link href="http://www.ryancoughlin.com/tag/json/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ryancoughlin.com</link>
	<description></description>
	<lastBuildDate>Fri, 26 Mar 2010 00:07:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to load data using JSON/PHP using jQuery</title>
		<link>http://www.ryancoughlin.com/2009/05/06/how-to-load-data-using-jsonphp-using-jquery/</link>
		<comments>http://www.ryancoughlin.com/2009/05/06/how-to-load-data-using-jsonphp-using-jquery/#comments</comments>
		<pubDate>Wed, 06 May 2009 16:00:53 +0000</pubDate>
		<dc:creator>Ryan Coughlin</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.ryancoughlin.com/?p=463</guid>
		<description><![CDATA[I have seen a good amount of people wanting to see learn how to load data on their website using jQuery, JSON, and PHP. I thought I would show a simple example that should give you a jump start to your project.
We are going to use $.getJSON() function, you have something like:
$.getJSON("readJSON.php",function(data){
    [...]


Related posts:<ol><li><a href='http://www.ryancoughlin.com/2008/11/04/use-jquery-to-submit-form/' rel='bookmark' title='Permanent Link: Use jQuery To Submit Form To PHP/MySQL'>Use jQuery To Submit Form To PHP/MySQL</a> <small>Learn to submit a form using jQuery without a page...</small></li>
<li><a href='http://www.ryancoughlin.com/2009/05/04/how-to-use-jquery-to-serialize-ajax-forms/' rel='bookmark' title='Permanent Link: How to use jQuery to Serialize Ajax Forms'>How to use jQuery to Serialize Ajax Forms</a> <small>When I first started working with jQuery and submitting forms...</small></li>
<li><a href='http://www.ryancoughlin.com/2009/05/05/time-for-another-igoogle-theme/' rel='bookmark' title='Permanent Link: Time for another iGoogle theme?'>Time for another iGoogle theme?</a> <small>Thinking about making another iGoogle theme and almost done with...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I have seen a good amount of people wanting to see learn how to load data on their website using jQuery, JSON, and PHP. I thought I would show a simple example that should give you a jump start to your project.</p>
<p>We are going to use $.getJSON() function, you have something like:</p>
<pre class="js" title="code">$.getJSON("readJSON.php",function(data){
    $.each(data.posts, function(i,post){
          content = '
<div id="post-'+ post.id +'">\n';
	  content += '
<h3>' + post.author + '</h3>

\n';
	  content += '+ post.date_added + '\n';
          content += '' + post.post_content + ';
	  content += ''
<hr />';
	  $("#contents").append(content).fadeIn("slow");
   });
});</div>
</pre>
<p>And example of JSON from the PHP page could look like:</p>
<pre class="js" title="code">{ posts: [{"id":"151","date_added":"2009-05-05 13:40:34","post_content":"This is a test post. jQuery!","author":"Ryan"},
{"id":"152","date_added":"2009-05-05 13:40:55","post_content":"Hey, you got to love Ajax","author":"John"}] }</pre>
<p>That JSON above loads two records that will be displayed on to the page.</p>
<p>The results are being pulled from a MySQL database with tables: <em>id, author, post_content, date_added, and author.</em></p>
<p>I am going to wrap up and article on the jQuery/PHP/JSON comment form with the results loaded on to the page after form submission, stay tuned for a much more in depth explanation of using JSON with PHP and  jQuery.</p>


<p>Related posts:<ol><li><a href='http://www.ryancoughlin.com/2008/11/04/use-jquery-to-submit-form/' rel='bookmark' title='Permanent Link: Use jQuery To Submit Form To PHP/MySQL'>Use jQuery To Submit Form To PHP/MySQL</a> <small>Learn to submit a form using jQuery without a page...</small></li>
<li><a href='http://www.ryancoughlin.com/2009/05/04/how-to-use-jquery-to-serialize-ajax-forms/' rel='bookmark' title='Permanent Link: How to use jQuery to Serialize Ajax Forms'>How to use jQuery to Serialize Ajax Forms</a> <small>When I first started working with jQuery and submitting forms...</small></li>
<li><a href='http://www.ryancoughlin.com/2009/05/05/time-for-another-igoogle-theme/' rel='bookmark' title='Permanent Link: Time for another iGoogle theme?'>Time for another iGoogle theme?</a> <small>Thinking about making another iGoogle theme and almost done with...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ryancoughlin.com/2009/05/06/how-to-load-data-using-jsonphp-using-jquery/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Time for another iGoogle theme?</title>
		<link>http://www.ryancoughlin.com/2009/05/05/time-for-another-igoogle-theme/</link>
		<comments>http://www.ryancoughlin.com/2009/05/05/time-for-another-igoogle-theme/#comments</comments>
		<pubDate>Tue, 05 May 2009 17:30:43 +0000</pubDate>
		<dc:creator>Ryan Coughlin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Ranting]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[igoogle]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.ryancoughlin.com/?p=461</guid>
		<description><![CDATA[Thinking about making another iGoogle theme and almost done with a PHP/JSON/jQuery comment form - live updates.


Related posts:<ol><li><a href='http://www.ryancoughlin.com/2008/12/14/busybusy/' rel='bookmark' title='Permanent Link: Busy&#8230;Busy'>Busy&#8230;Busy</a> <small>Finally...the end of the semester is here, no more finals...</small></li>
<li><a href='http://www.ryancoughlin.com/2009/05/04/new-layout-and-trip/' rel='bookmark' title='Permanent Link: New Layout and Trip'>New Layout and Trip</a> <small>Its been a very long time! I have been extremely...</small></li>
<li><a href='http://www.ryancoughlin.com/2008/10/28/coroflot/' rel='bookmark' title='Permanent Link: Coroflot and New Design'>Coroflot and New Design</a> <small>Just added some more work to my Coroflot.com portfolio and...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>So i came across my <a href="http://www.google.com/ig/directory?hl=en&amp;type=themes&amp;url=landscape-google-theme.googlecode.com/svn/trunk/google-theme/landscape-theme.xml" target="_blank">old iGoogle theme</a> I made in the fall and was thinking of making another one. Shockingly, they&#8217;re extremely easy to create. Its a large XML document.  I have been working on a <a href="http://ryancoughlin.com/nightday/" target="_self">new layout</a> for my site. I was thinking of another landscape but similar to the landscape, but different style.<br />
<a href="http://www.ryancoughlin.com/wp-content/uploads/2009/05/skin_fetch.jpg"><img src="http://www.ryancoughlin.com/wp-content/uploads/2009/05/skin_fetch-300x57.jpg" alt="Summer Landscape - iGoogle Theme" title="Summer Landscape - iGoogle Thehe" width="300" height="57" class="aligncenter size-medium wp-image-466" /></a></p>
<p>I am trying to free my schedule from client work to start working on the new layout, stil need to work on the move right text, bottom posts boxes, colors, and what the single page is going to look like, all in all its a work in progress. Almost done with a jQuery tutorial on submitting a  comment form and having the results loaded using jQuery/Ajax. The comments on the page are loading using PHP, JSON, and jQuery, very slick. Expect that very soon.</p>


<p>Related posts:<ol><li><a href='http://www.ryancoughlin.com/2008/12/14/busybusy/' rel='bookmark' title='Permanent Link: Busy&#8230;Busy'>Busy&#8230;Busy</a> <small>Finally...the end of the semester is here, no more finals...</small></li>
<li><a href='http://www.ryancoughlin.com/2009/05/04/new-layout-and-trip/' rel='bookmark' title='Permanent Link: New Layout and Trip'>New Layout and Trip</a> <small>Its been a very long time! I have been extremely...</small></li>
<li><a href='http://www.ryancoughlin.com/2008/10/28/coroflot/' rel='bookmark' title='Permanent Link: Coroflot and New Design'>Coroflot and New Design</a> <small>Just added some more work to my Coroflot.com portfolio and...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ryancoughlin.com/2009/05/05/time-for-another-igoogle-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
