<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: iPhone &#8211; Tips for building great server/client apps</title>
	<atom:link href="http://blog.sallarp.com/iphone-server-client-tips-techniques/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sallarp.com/iphone-server-client-tips-techniques/</link>
	<description>Code, Code, Revolution!</description>
	<lastBuildDate>Wed, 28 Jul 2010 23:26:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter Moss</title>
		<link>http://blog.sallarp.com/iphone-server-client-tips-techniques/comment-page-1/#comment-8120</link>
		<dc:creator>Peter Moss</dc:creator>
		<pubDate>Thu, 18 Mar 2010 21:30:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=685#comment-8120</guid>
		<description>Good points.  It is always good idea to keep the network  payload to a minimum.  Delta updates can be incorporated into design of your web service.

.Net can be bloody fat, or as thin as you like.  It all depends who is coding it, I guess.

Peter</description>
		<content:encoded><![CDATA[<p>Good points.  It is always good idea to keep the network  payload to a minimum.  Delta updates can be incorporated into design of your web service.</p>
<p>.Net can be bloody fat, or as thin as you like.  It all depends who is coding it, I guess.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ken wong</title>
		<link>http://blog.sallarp.com/iphone-server-client-tips-techniques/comment-page-1/#comment-7571</link>
		<dc:creator>ken wong</dc:creator>
		<pubDate>Thu, 11 Feb 2010 04:18:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=685#comment-7571</guid>
		<description>Great post, look forward to your post for using .net to add/edit/get data, thanks</description>
		<content:encoded><![CDATA[<p>Great post, look forward to your post for using .net to add/edit/get data, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://blog.sallarp.com/iphone-server-client-tips-techniques/comment-page-1/#comment-5379</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Thu, 05 Nov 2009 00:19:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=685#comment-5379</guid>
		<description>Great post, thanks very much for taking the time to write it. 
I was wondering whether you could tell me anymore about what you said in the above reply (&quot;Forms based authentiction is also possible as the SDK supports cookies aswell&quot;) Do you have any examples of this. I would really like to use this approach but wouldn&#039;t know where to start.

Thanks

Sam</description>
		<content:encoded><![CDATA[<p>Great post, thanks very much for taking the time to write it.<br />
I was wondering whether you could tell me anymore about what you said in the above reply (&#8220;Forms based authentiction is also possible as the SDK supports cookies aswell&#8221;) Do you have any examples of this. I would really like to use this approach but wouldn&#8217;t know where to start.</p>
<p>Thanks</p>
<p>Sam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Björn Sållarp</title>
		<link>http://blog.sallarp.com/iphone-server-client-tips-techniques/comment-page-1/#comment-3575</link>
		<dc:creator>Björn Sållarp</dc:creator>
		<pubDate>Tue, 11 Aug 2009 07:26:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=685#comment-3575</guid>
		<description>@Laurent
Which authentication scheme to use depend on how your users are stored and what kind of authentication you are currently using (if any). The iPhone does support SSL and posting data is not a problem, look at NSMutableRequest. 

You could use Basic Authentication and pass the credentials directly in your request but unfotunately there SDK doesn&#039;t support Base64 encoding.
Forms based authentiction is also possible as the SDK supports cookies aswell.
If you&#039;re starting out fresh, ie. no existing users, you could create your own authentication aswell. If you&#039;re only calling two webservice methods you could simply pass the credentials in every method call.

At first I was very confused with the syntax aswell. In fact, I still find it rather stupid/cumbersome. The poor intellisense support in Xcode doesn&#039;t help either. It took a while for me to find out that the escape key brings up a list of methods for an object.
I read the first chapters oc the book: Cocoa Programming For MAC OS X by Aaron Hillegass, that really helped and after that it was just to keep going at it and reading the API reference. Install the API reference in Xcode so you can look up objects directly instead of searching google.

Good luck with your app! Use Core Data, it will simplify your implementation :)</description>
		<content:encoded><![CDATA[<p>@Laurent<br />
Which authentication scheme to use depend on how your users are stored and what kind of authentication you are currently using (if any). The iPhone does support SSL and posting data is not a problem, look at NSMutableRequest. </p>
<p>You could use Basic Authentication and pass the credentials directly in your request but unfotunately there SDK doesn&#8217;t support Base64 encoding.<br />
Forms based authentiction is also possible as the SDK supports cookies aswell.<br />
If you&#8217;re starting out fresh, ie. no existing users, you could create your own authentication aswell. If you&#8217;re only calling two webservice methods you could simply pass the credentials in every method call.</p>
<p>At first I was very confused with the syntax aswell. In fact, I still find it rather stupid/cumbersome. The poor intellisense support in Xcode doesn&#8217;t help either. It took a while for me to find out that the escape key brings up a list of methods for an object.<br />
I read the first chapters oc the book: Cocoa Programming For MAC OS X by Aaron Hillegass, that really helped and after that it was just to keep going at it and reading the API reference. Install the API reference in Xcode so you can look up objects directly instead of searching google.</p>
<p>Good luck with your app! Use Core Data, it will simplify your implementation <img src='http://blog.sallarp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Björn Sållarp</title>
		<link>http://blog.sallarp.com/iphone-server-client-tips-techniques/comment-page-1/#comment-3574</link>
		<dc:creator>Björn Sållarp</dc:creator>
		<pubDate>Tue, 11 Aug 2009 07:08:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=685#comment-3574</guid>
		<description>For those interested in using JSON here&#039;s a good tutorial on that:
http://iphonedevelopertips.com/cocoa/json-framework-for-iphone-part-2.html</description>
		<content:encoded><![CDATA[<p>For those interested in using JSON here&#8217;s a good tutorial on that:<br />
<a href="http://iphonedevelopertips.com/cocoa/json-framework-for-iphone-part-2.html">http://iphonedevelopertips.com/cocoa/json-framework-for-iphone-part-2.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ries</title>
		<link>http://blog.sallarp.com/iphone-server-client-tips-techniques/comment-page-1/#comment-3571</link>
		<dc:creator>Ries</dc:creator>
		<pubDate>Tue, 11 Aug 2009 02:52:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=685#comment-3571</guid>
		<description>Much easer on the iPhone is to use json rather then using XML. 
There is a great Lin that can take a json string into NSDictionaries. 

Ties</description>
		<content:encoded><![CDATA[<p>Much easer on the iPhone is to use json rather then using XML.<br />
There is a great Lin that can take a json string into NSDictionaries. </p>
<p>Ties</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent</title>
		<link>http://blog.sallarp.com/iphone-server-client-tips-techniques/comment-page-1/#comment-3562</link>
		<dc:creator>Laurent</dc:creator>
		<pubDate>Mon, 10 Aug 2009 14:45:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=685#comment-3562</guid>
		<description>Thanks for this article, it&#039;s really helpful. I&#039;m trying to create an iPhone application consuming a .net web service. This iPhone app should retain data in a Sqlite database, and i&#039;m also considering using Core Data. My question is : how would you handle authentication with the web server without using SOAP (GET is a bad idea in that case) ? I think it is secure enough to send the auth data in POST with a SSL certificate, but does the iPhone SDK support it ?
I have another question, more general : how did you learn Objective C with your .NET background ? Personnaly I&#039;m really confused about the syntax... what were your most precious resources in your learning process ?

Thanks in advance for your answers :)</description>
		<content:encoded><![CDATA[<p>Thanks for this article, it&#8217;s really helpful. I&#8217;m trying to create an iPhone application consuming a .net web service. This iPhone app should retain data in a Sqlite database, and i&#8217;m also considering using Core Data. My question is : how would you handle authentication with the web server without using SOAP (GET is a bad idea in that case) ? I think it is secure enough to send the auth data in POST with a SSL certificate, but does the iPhone SDK support it ?<br />
I have another question, more general : how did you learn Objective C with your .NET background ? Personnaly I&#8217;m really confused about the syntax&#8230; what were your most precious resources in your learning process ?</p>
<p>Thanks in advance for your answers <img src='http://blog.sallarp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Björn Sållarp</title>
		<link>http://blog.sallarp.com/iphone-server-client-tips-techniques/comment-page-1/#comment-3501</link>
		<dc:creator>Björn Sållarp</dc:creator>
		<pubDate>Fri, 07 Aug 2009 11:44:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=685#comment-3501</guid>
		<description>Hey FF, thanks for your feedback!

I&#039;ve thought about a sample application that use a .NET web service to read/add data. Perhaps a little later this year, I&#039;m too busy at the moment with other projects.</description>
		<content:encoded><![CDATA[<p>Hey FF, thanks for your feedback!</p>
<p>I&#8217;ve thought about a sample application that use a .NET web service to read/add data. Perhaps a little later this year, I&#8217;m too busy at the moment with other projects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FF</title>
		<link>http://blog.sallarp.com/iphone-server-client-tips-techniques/comment-page-1/#comment-3500</link>
		<dc:creator>FF</dc:creator>
		<pubDate>Fri, 07 Aug 2009 08:21:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=685#comment-3500</guid>
		<description>Thanks for two great articles. Maybe you could combine them into one? For example create a server side application (java/.net) that returns xml and is read by the ihpone app and stored locally? When an updated/new city is created on the server, a new xml i created and read by the iphone.

Thanks again!</description>
		<content:encoded><![CDATA[<p>Thanks for two great articles. Maybe you could combine them into one? For example create a server side application (java/.net) that returns xml and is read by the ihpone app and stored locally? When an updated/new city is created on the server, a new xml i created and read by the iphone.</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: blog.sallarp.com @ 2010-07-30 17:19:37 -->