<?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>AJ MorrisTag: Screencasts | AJ Morris</title>
	<atom:link href="http://ajmorris.org/tag/screencasts/feed/" rel="self" type="application/rss+xml" />
	<link>http://ajmorris.org</link>
	<description>Life in a Startup</description>
	<lastBuildDate>Sat, 31 Dec 2011 18:04:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Objective Resource for Faster iPhone Development</title>
		<link>http://ajmorris.org/objective-resource-for-faster-iphone-development/</link>
		<comments>http://ajmorris.org/objective-resource-for-faster-iphone-development/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 00:27:28 +0000</pubDate>
		<dc:creator>AJ Morris</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Applications]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Screencasts]]></category>
		<category><![CDATA[active resource]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[objective resource]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.ajmorris.org/?p=192</guid>
		<description><![CDATA[I recently came across Objective Resource for developing iPhone applications that talk with a Rails backed website. According to the site, ObjectiveResource is an Objective-C port of Ruby on Rails&#8217; ActiveResource. It provides a way to serialize objects to and from Rails&#8217; standard RESTful web-services (via XML or JSON) and handles much of the complexity [...]]]></description>
			<content:encoded><![CDATA[<p>I recently came across <a href="http://iphoneonrails.com" target="_blank">Objective Resource</a> for developing iPhone applications that talk with a Rails backed website. According to the <a title="iPhone on Rails" href="http://iphoneonrails.com" target="_blank">site</a>,</p>
<blockquote><p><strong>ObjectiveResource</strong> is an Objective-C port of Ruby on Rails&#8217; <a href="http://api.rubyonrails.org/classes/ActiveResource/Base.html">ActiveResource</a>. It provides a way to serialize objects to and from Rails&#8217; standard RESTful web-services (via XML or JSON) and handles much of the complexity involved with invoking web-services of any language from the iPhone.</p></blockquote>
<p>I&#8217;ve had a chance to play with it this weekend and have found it to be pretty easy to work with. The developers of Objective Resource have created a pretty good <a href="http://www.iphoneonrails.com/getting-started" target="_blank">Getting Started Guide</a> you can follow, or you can watch a screencast of it as well. They even offer an <a href="http://www.iphoneonrails.com/downloads/objective_resource-1.0.zip" target="_blank">example project</a> for you to work with that gives you both the iPhone app (via Xcode) and the Rails app so you can see how everything works together.</p>
<p>One thing the example project does not include is accessing a Rails app that has authentication. Of course I was thinking I was all setup for this, but soon realized that I did not add my Active Resource functions in so that my app would work with XML/JSON requests. Luckily, while I was out in Denver, CO for iPhone Development Training (by <a href="http://pragmaticstudio.com/iphone/" target="_blank">Pragmatic Studio</a>) I was able to get my hands on a copy of <a href="http://pragprog.com/titles/fr_arr/advanced-rails-recipes" target="_blank">Advanced Rails Recipes</a> by <a href="http://clarkware.com/" target="_blank">Mike Clark</a>. I was extremely pleased that Mike graciously gave me the copy he had laying there for free. The particular recipe in the book that helped me was the Authenticate REST Clients. After I rewrote my authentication piece of my Rails app, I was getting data back and into my iPhone app. It was a very good feeling!</p>
<p>I thought I would include the screencast that the Objective Resource developers created. It runs about 6 minutes and is definitely worth a watch if you are looking at using Objective Resource for your next iPhone app backed by a Rails app.</p>
<p><object width="550" height="309" data="http://vimeo.com/moogaloop.swf?clip_id=3077209&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=3077209&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /></object><br />
<a href="http://vimeo.com/3077209">Getting Started with Objective Resource</a> from <a href="http://vimeo.com/user1250182">Josh Vickery</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<span id="pty_trigger"></span>]]></content:encoded>
			<wfw:commentRss>http://ajmorris.org/objective-resource-for-faster-iphone-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

