<?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>Sat, 17 Dec 2011 11:50:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Ali</title>
		<link>http://blog.sallarp.com/iphone-server-client-tips-techniques/comment-page-1/#comment-37817</link>
		<dc:creator>Ali</dc:creator>
		<pubDate>Mon, 10 Oct 2011 09:29:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=685#comment-37817</guid>
		<description>Cool article thanks ..!!!</description>
		<content:encoded><![CDATA[<p>Cool article thanks ..!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammad</title>
		<link>http://blog.sallarp.com/iphone-server-client-tips-techniques/comment-page-1/#comment-37816</link>
		<dc:creator>Mohammad</dc:creator>
		<pubDate>Mon, 10 Oct 2011 09:28:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=685#comment-37816</guid>
		<description>coool article..!! lots of help for the iPhone/iPad Developers</description>
		<content:encoded><![CDATA[<p>coool article..!! lots of help for the iPhone/iPad Developers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: damodar</title>
		<link>http://blog.sallarp.com/iphone-server-client-tips-techniques/comment-page-1/#comment-23871</link>
		<dc:creator>damodar</dc:creator>
		<pubDate>Mon, 21 Mar 2011 12:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=685#comment-23871</guid>
		<description>Great article!!! thank you so much for providing excellent information. 
I have been writing server based iphone app with php as backend script for webservice.
Basically I am from .NET background, so I would like to use  .NET wcf for my future iphone apps.
Can you please provide me some sample code with .NET webservice as backend code...

Thanks in adavnce.
-Dam</description>
		<content:encoded><![CDATA[<p>Great article!!! thank you so much for providing excellent information.<br />
I have been writing server based iphone app with php as backend script for webservice.<br />
Basically I am from .NET background, so I would like to use  .NET wcf for my future iphone apps.<br />
Can you please provide me some sample code with .NET webservice as backend code&#8230;</p>
<p>Thanks in adavnce.<br />
-Dam</p>
]]></content:encoded>
	</item>
	<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" rel="nofollow">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>
</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)
Database Caching 1/16 queries in 0.030 seconds using disk
Object Caching 390/395 objects using disk

Served from: blog.sallarp.com @ 2012-02-05 03:58:44 -->
