<?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>Infrequently Noted &#187; mobile</title>
	<atom:link href="http://infrequently.org/tag/mobile/feed/" rel="self" type="application/rss+xml" />
	<link>http://infrequently.org</link>
	<description></description>
	<lastBuildDate>Tue, 01 May 2012 11:30:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Dojo Wins Mobile Slickspeed Shootout</title>
		<link>http://infrequently.org/2009/05/dojo-wins-mobile-slickspeed-shootout/</link>
		<comments>http://infrequently.org/2009/05/dojo-wins-mobile-slickspeed-shootout/#comments</comments>
		<pubDate>Thu, 14 May 2009 19:26:46 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[acme]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://alex.dojotoolkit.org/2009/05/dojo-wins-mobile-slickspeed-shootout/</guid>
		<description><![CDATA[Stefan K. has posted a fascinating run-down of mobile browser performance with regards to JavaScript toolkits. No big shock, but Dojo once again brings home the bacon. I&#8217;d love to see these tests re-run with TaskSpeed instead of SlickSpeed, but when you&#8217;re doing progressive enhancement it turns out that selector engine performance really matters. Dojo [...]]]></description>
			<content:encoded><![CDATA[<p>Stefan K. has <a href="http://blog.stefankolb.de/2009/05/13/javascript-frameworks-within-mobile-widgets/">posted a fascinating run-down</a> of mobile browser performance with regards to JavaScript toolkits. No big shock, but Dojo once again brings home the bacon. I&#8217;d love to see these tests re-run with <a href="http://dante.dojotoolkit.org/taskspeed/">TaskSpeed</a> instead of SlickSpeed, but when you&#8217;re doing progressive enhancement it turns out that selector engine performance really matters. Dojo continues to do very well in both TaskSpeed and SlickSpeed because the <a href="http://alex.dojotoolkit.org/2009/03/dojo-13b3-is-out/">Acme selector engine</a> is so darned fast. In the real world, selector speed matters and the faster it gets, the more queries we seem to do.</p>
<p>I&#8217;m not entirely sold that the right solution going forward is to use the toolkits we already have, but if you&#8217;re building a mobile app today and you&#8217;re going to use a toolkit, it looks like (as on desktop browsers), Dojo should be your first choice. The <a href="http://alex.dojotoolkit.org/2009/01/webkit-mobile/">webkitMobile variant of Dojo points to one possible way out</a> of the &#8220;what to do about mobile?&#8221; conundrum regarding size and IE-induced bloat, but I have some hope that WebKit will improve quickly enough to make the toolkits of today obsolete on mobile phones entirely. Time will tell.</p>
<p><em>Hat tip: the <a href="http://blog.uxebu.com/2009/05/13/javascript-framworks-within-mobile-widgets/">Uxebu blog</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://infrequently.org/2009/05/dojo-wins-mobile-slickspeed-shootout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebKit == Mobile</title>
		<link>http://infrequently.org/2009/01/webkit-mobile/</link>
		<comments>http://infrequently.org/2009/01/webkit-mobile/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 18:05:02 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[openweb]]></category>
		<category><![CDATA[pre]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://alex.dojotoolkit.org/?p=869</guid>
		<description><![CDATA[With the Pre/Mojo announcement, it&#8217;s becoming clear that WebKit has mobile all sewn up. It bears listing who&#8217;s betting on WebKit and where: Apple iPhone, Safari Google Android, Chrome Nokia Series 60 browser Plam WebOS Adobe AIR web runtime From deep integration with the platform to being the platform, WebKit in various forms is how [...]]]></description>
			<content:encoded><![CDATA[<p>With the <a href="http://alex.dojotoolkit.org/2009/01/whoa/">Pre/Mojo announcement</a>, it&#8217;s becoming clear that <a href="http://webkit.org/">WebKit</a> has mobile all sewn up. It bears listing who&#8217;s betting on WebKit and where:</p>
<dl>
<dt>Apple</dt>
<dd>iPhone, Safari</dd>
<dt>Google</dt>
<dd>Android, Chrome</dd>
<dt>Nokia</dt>
<dd>Series 60 browser</dd>
<dt>Plam</dt>
<dd>WebOS</dd>
<dt>Adobe</dt>
<dd>AIR web runtime</dd>
</dl>
<p>From deep integration with the platform to <em>being</em> the platform, WebKit in various forms is how nearly every credible smartphone now &#8220;does&#8221; the web. The major outliers here are the WinCE devices, Blackberry, and whatever Sony&#8217;s doing this week, but the writing is on the wall for them too. Mobile IE is a joke and the Blackberry succeeds in spite of its web experience. iPhone, Android, and Pre have raised the bar. The sucky-web center will not hold.</p>
<p>For a sizable chunk of the mobile browsers that a web developer would like to target today, that means that WebKit == Mobile. <a href="http://alex.dojotoolkit.org/06/EuroOSCON/MobileAjax.pdf">As predicted, the mobile world has beaten the desktop to the web of the future</a>. It doesn&#8217;t hurt that WebKit is making deep inroads into the desktop, either&#8230;.but then you could reasonably assume that <a href="http://code.google.com/chromium/">they pay me to say that</a>.</p>
<p>So what does a WebKit-only world look like? And how portable are our desktop-web skills and tools? I did a quick set of experiments this past weekend to see how much of Dojo you&#8217;d still need and what we could leave behind. The results are encouraging. The headline numbers for <code>dojo.js</code> are roughly:</p>
<table class="simpleStats">
<thead>
<tr>
<th></th>
<th>ShrinkSafe</th>
<th>+gzip</th>
</tr>
</thead>
<tbody>
<tr>
<td>Standard Build</td>
<td>79K</td>
<td>27K</td>
</tr>
<tr>
<td>webkitMobile=true</td>
<td>56K</td>
<td>20K</td>
</tr>
<tr>
<td>Savings</td>
<td>23K (29%)</td>
<td>7K (26%)</td>
</tr>
</tbody>
</table>
<p>You can grab a copy of this pre-1.3.0 version <a href="http://alex.dojotoolkit.org/09/webkitMobile.dojo.js">here (webkitMobile.dojo.js)</a>.</p>
<p>The big size wins (in decreasing order) were:</p>
<ol>
<li>Moving to a QSA-only version of <code>dojo.query()</code></li>
<li>Being able to use intrinsics for <code>dojo.forEach</code>, etc.</li>
<li>Dropping IE and FF-specific rendering, XHR, and style hacks</li>
<li>Using a common closure wrapper for the entire core</li>
</ol>
<p>And there&#8217;s even more fruit on the vine. I think without too much more work I&#8217;ll be able to drop the current animation system in favor of pure CSS animations and can significantly simplify the XHR code which doesn&#8217;t do the straightforward thing to avoid terrible memory leaks on IE and very old versions of FF.</p>
<p>All of this points to where we <em>could</em> be if the browsers just got collectively awesome all of a sudden. That&#8217;s the good news. The downside is that still leaves a lot of janktastic spec mistakes to be worked around at nearly every level of the platform. This experiment suggests that there is still a price to be paid just to get the platform to a usable state. If we look at the APIs of Dojo, Prototype, or jQuery as a set of suggestions for the APIs that the web <em>should</em> expose, then it becomes pretty clear that we&#8217;ve still got a long long way to go. But we can do at least 30% better in the short run, and I&#8217;m very glad of that.</p>
<p>My friends over at <a href="http://www.sitepen.com/blog/2009/01/22/platform-optimization-strategies-for-ajax-toolkits/">SitePen beat me to the punch</a> on <a href="http://bugs.dojotoolkit.org/ticket/8447">my own patches</a>, but that&#8217;s how it goes sometimes. Props to them for that.</p>
]]></content:encoded>
			<wfw:commentRss>http://infrequently.org/2009/01/webkit-mobile/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Whoa.</title>
		<link>http://infrequently.org/2009/01/whoa/</link>
		<comments>http://infrequently.org/2009/01/whoa/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 23:38:00 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[dojo]]></category>
		<category><![CDATA[openweb]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[palm]]></category>
		<category><![CDATA[pre]]></category>

		<guid isPermaLink="false">http://alex.dojotoolkit.org/?p=867</guid>
		<description><![CDATA[Via Dion, Palm&#8217;s new Mojo framework for the Pre is based on Dojo! As far as I know, it was a total surprise to the Dojo community (myself included). I can&#8217;t wait to get started writing apps for this thing and see what device APIs Palm has surfaced.]]></description>
			<content:encoded><![CDATA[<p><a href="http://ajaxian.com/archives/palm-mojo-uses-dojo-view-the-source">Via Dion</a>, Palm&#8217;s new <a href="http://developer.palm.com/">Mojo</a> framework for the <a href="http://www.palm.com/us/products/phones/pre/index.html">Pre</a> is based on Dojo!</p>
<p>As far as I know, it was a total surprise to the Dojo community (myself included). I can&#8217;t wait to get started writing apps for this thing and see what device APIs Palm has surfaced.</p>
]]></content:encoded>
			<wfw:commentRss>http://infrequently.org/2009/01/whoa/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

