<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://mooncatventures.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Notes from Atlantis : sdk</title><link>http://mooncatventures.com/blogs/atlantis/archive/tags/sdk/default.aspx</link><description>Tags: sdk</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20423.869)</generator><item><title>Rendering multiple sessions in a native (not web) iphone applications using a session renderer.</title><link>http://mooncatventures.com/blogs/atlantis/archive/2009/03/13/rendering-multiple-sessions-in-a-native-not-web-iphone-applications-using-a-session-renderer.aspx</link><pubDate>Fri, 13 Mar 2009 12:13:00 GMT</pubDate><guid isPermaLink="false">97ceb004-b8bf-4bae-ab7f-bff7d664bca6:29</guid><dc:creator>michelle</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://mooncatventures.com/blogs/atlantis/rsscomments.aspx?PostID=29</wfw:commentRss><comments>http://mooncatventures.com/blogs/atlantis/archive/2009/03/13/rendering-multiple-sessions-in-a-native-not-web-iphone-applications-using-a-session-renderer.aspx#comments</comments><description>&lt;p&gt;Example code will be posted soon.&amp;nbsp; 
&lt;p&gt;Well in a few weeks I&amp;#39;m going to submit my app, I think apple will be &lt;br /&gt;hardpressed to consider it a webclipping app. I would say 50% of the &lt;br /&gt;code is web dependent and the other 50 objective c. Without giving to &lt;br /&gt;much away, because I&amp;#39;m also doing a position paper for possible &lt;br /&gt;submission to Javaone. It uses a lot of phone features including &lt;br /&gt;location and gps. It uses a backend server written in java to display &lt;br /&gt;images from x number of upnp or bonjoir servers on your network. &lt;br /&gt;
&lt;p&gt;It doesn&amp;#39;t use iui or phoneGap, It uses a combination of a java &lt;br /&gt;framework called icefaces tightly integrated with dashcode for the web &lt;br /&gt;portion. It uses a server push technology. Clicking on the web tab &lt;br /&gt;opens 1-x uiwebviews, each webview represents an independent session. &lt;br /&gt;The backend uses the icefaces equivalent of comet-d to allow all the &lt;br /&gt;session to &amp;quot;talk&amp;quot; to each other. That is changing a value in one &lt;br /&gt;session directly affects all the other sessions. &amp;nbsp;Lets say you had a &lt;br /&gt;geocaching application (which is something else I am working on) and &lt;br /&gt;the iphone ui has 4 open scaleable windows to your web application. &lt;br /&gt;Than each window could have a different user view of the map, say as a &lt;br /&gt;scatterPlot, a hyperbolic tree and an actual map showing gelogical &lt;br /&gt;data. Lets say you wanted to do gecaching, than using the location and &lt;br /&gt;gps functions on the phone the web application could update each of &lt;br /&gt;the 4 independent views realtime. Once more as your location changes &lt;br /&gt;the application could update all users who are connected to that &lt;br /&gt;application as well. At the same time they can open a chat window and &lt;br /&gt;talk with each other. &lt;br /&gt;
&lt;p&gt;Meantime the same data can be pushed to a static html location on the &lt;br /&gt;phone. (yes this is possible) which can be checked perodically via &lt;br /&gt;objective-c, this static info can accessed via the sdk and the respose used to issue a&lt;br /&gt;NSURLRequest , thus updating both gps info and the selection pick &lt;br /&gt;boxes on the screen. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;By my count to try to do this with safari would require 4 browser &lt;br /&gt;windows simultaneously pointing at the same location, but the app &lt;br /&gt;needs to know the session ids for this to work something your not &lt;br /&gt;going to be able to do with safari alone. &lt;br /&gt;
&lt;p&gt;This is just a quick capsule of the functionality, If apple calls this &lt;br /&gt;a web clipping app than they need to hire testers who actually know &lt;br /&gt;something about networking applications. &lt;br /&gt;
&lt;p&gt;Also most of the above is impossible to do with  iui and maybe phonegap but I need to explore that one more. &lt;br /&gt;&lt;/p&gt;&lt;img src="http://mooncatventures.com/aggbug.aspx?PostID=29" width="1" height="1"&gt;</description><category domain="http://mooncatventures.com/blogs/atlantis/archive/tags/sessionrenderer/default.aspx">sessionrenderer</category><category domain="http://mooncatventures.com/blogs/atlantis/archive/tags/sdk/default.aspx">sdk</category><category domain="http://mooncatventures.com/blogs/atlantis/archive/tags/icefaces/default.aspx">icefaces</category><category domain="http://mooncatventures.com/blogs/atlantis/archive/tags/iphone/default.aspx">iphone</category></item></channel></rss>