<?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: Robotliz &#8211; Using Robotlegs like Swiz in 20 minutes</title>
	<atom:link href="http://shaun.boyblack.co.za/blog/2009/11/10/robotliz-using-robotlegs-like-swiz-in-20-minutes/feed/" rel="self" type="application/rss+xml" />
	<link>http://shaun.boyblack.co.za/blog/2009/11/10/robotliz-using-robotlegs-like-swiz-in-20-minutes/</link>
	<description>Flash, Flex, Ruby - Cape Town, SA</description>
	<lastBuildDate>Wed, 10 Mar 2010 19:25:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Johan</title>
		<link>http://shaun.boyblack.co.za/blog/2009/11/10/robotliz-using-robotlegs-like-swiz-in-20-minutes/comment-page-1/#comment-8643</link>
		<dc:creator>Johan</dc:creator>
		<pubDate>Wed, 16 Dec 2009 02:11:45 +0000</pubDate>
		<guid isPermaLink="false">http://shaun.boyblack.co.za/blog/?p=863#comment-8643</guid>
		<description>Thinking about this some more - RIA clients are (can be) stateful so the client can store the data as long as needed. So caching requirements at the network level is reduced. Looking at James Wards&#039; Census demo app for Flex (&lt;a href=&quot;http://www.jamesward.com/census/&quot; rel=&quot;nofollow&quot;&gt;http://www.jamesward.com/census/&lt;/a&gt;) there is large time a penalty for transcoding (server) and parsing (client) formats - running the tests the transfer time for Ajax/JSON was slightly actually slighty less than for AMF, but the total time for AMF was significantly less (50%).&lt;br&gt;&lt;br&gt;Thanks again for insights - all to easy to accept things until someone like yourself raises a point than makes one think/ask about it.</description>
		<content:encoded><![CDATA[<p>Thinking about this some more &#8211; RIA clients are (can be) stateful so the client can store the data as long as needed. So caching requirements at the network level is reduced. Looking at James Wards&#39; Census demo app for Flex (<a href="http://www.jamesward.com/census/" rel="nofollow">http://www.jamesward.com/census/</a>) there is large time a penalty for transcoding (server) and parsing (client) formats &#8211; running the tests the transfer time for Ajax/JSON was slightly actually slighty less than for AMF, but the total time for AMF was significantly less (50%).</p>
<p>Thanks again for insights &#8211; all to easy to accept things until someone like yourself raises a point than makes one think/ask about it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johan</title>
		<link>http://shaun.boyblack.co.za/blog/2009/11/10/robotliz-using-robotlegs-like-swiz-in-20-minutes/comment-page-1/#comment-8642</link>
		<dc:creator>Johan</dc:creator>
		<pubDate>Wed, 16 Dec 2009 01:47:35 +0000</pubDate>
		<guid isPermaLink="false">http://shaun.boyblack.co.za/blog/?p=863#comment-8642</guid>
		<description>Thanks Shaun - good and valid points.</description>
		<content:encoded><![CDATA[<p>Thanks Shaun &#8211; good and valid points.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaun</title>
		<link>http://shaun.boyblack.co.za/blog/2009/11/10/robotliz-using-robotlegs-like-swiz-in-20-minutes/comment-page-1/#comment-8640</link>
		<dc:creator>shaun</dc:creator>
		<pubDate>Tue, 15 Dec 2009 09:05:08 +0000</pubDate>
		<guid isPermaLink="false">http://shaun.boyblack.co.za/blog/?p=863#comment-8640</guid>
		<description>I&#039;ve been meaning to write up a fat post on that very topic, but I&#039;m kind of bored by the idea at the moment  =)&lt;br&gt;&lt;br&gt;AMF is good for &quot;internal&quot;, &quot;enterprise&quot; apps where we can afford to send fresh copies of the data with every request. And it&#039;s good for dealing with really large datasets - it is a binary format after all.&lt;br&gt;&lt;br&gt;But for a web system to withstand huge traffic everything that is cacheable must be cached. AMF often turns out to be a pretty poor fit for this exact reason.&lt;br&gt;&lt;br&gt;JSON over http, on the other hand, is actually a very good format format for public facing web apps. Here&#039;s why:&lt;br&gt;&lt;br&gt;Http can be cached easily, at the client (browser), at many points along the network, and on the server. Often this means that we don&#039;t even have to process the request, let alone send a full response. The cheapest thing we can do is on a computer, or across a network, is nothing at all. Http allows us to do that.&lt;br&gt;&lt;br&gt;If an app has to load a lot of data, but most of that data changes infrequently, the app will be much more responsive if it can take advantage of client/network/server caching. And, in my experience, most apps have exactly that data usage pattern: we browse through large numbers of lists and documents. Sure, those lists and documents change, but most of the time they stay the same.&lt;br&gt;&lt;br&gt;AMF doesn&#039;t work like that. Every request you make is unique, requires a full round-trip on the network, and must be fully processed on the server and client. Most of the time this is completely unnecessary, placing undue strain on all three tiers. So it really doesn&#039;t matter that the binary format is &quot;lightweight&quot;, it is going to be infinitely slower than a cached resource.&lt;br&gt;&lt;br&gt;When you view data as a resource things become much cleaner and easier to cache. A chunk of data is no different to an image. If it hasn&#039;t changed, don&#039;t bother sending it across the network. Http offers a couple of mechanisms to make this really easy. We need to take advantage of that.&lt;br&gt;&lt;br&gt;AMF enables class mapping. This seems awesome at first - no parsing on the client, yay - but I can guarantee that you&#039;ll spend a LOT of your time keeping two separate type systems in sync. I need to go into much greater details here, but essentially I don&#039;t think that it&#039;s worth the effort.</description>
		<content:encoded><![CDATA[<p>I&#39;ve been meaning to write up a fat post on that very topic, but I&#39;m kind of bored by the idea at the moment  =)</p>
<p>AMF is good for &#8220;internal&#8221;, &#8220;enterprise&#8221; apps where we can afford to send fresh copies of the data with every request. And it&#39;s good for dealing with really large datasets &#8211; it is a binary format after all.</p>
<p>But for a web system to withstand huge traffic everything that is cacheable must be cached. AMF often turns out to be a pretty poor fit for this exact reason.</p>
<p>JSON over http, on the other hand, is actually a very good format format for public facing web apps. Here&#39;s why:</p>
<p>Http can be cached easily, at the client (browser), at many points along the network, and on the server. Often this means that we don&#39;t even have to process the request, let alone send a full response. The cheapest thing we can do is on a computer, or across a network, is nothing at all. Http allows us to do that.</p>
<p>If an app has to load a lot of data, but most of that data changes infrequently, the app will be much more responsive if it can take advantage of client/network/server caching. And, in my experience, most apps have exactly that data usage pattern: we browse through large numbers of lists and documents. Sure, those lists and documents change, but most of the time they stay the same.</p>
<p>AMF doesn&#39;t work like that. Every request you make is unique, requires a full round-trip on the network, and must be fully processed on the server and client. Most of the time this is completely unnecessary, placing undue strain on all three tiers. So it really doesn&#39;t matter that the binary format is &#8220;lightweight&#8221;, it is going to be infinitely slower than a cached resource.</p>
<p>When you view data as a resource things become much cleaner and easier to cache. A chunk of data is no different to an image. If it hasn&#39;t changed, don&#39;t bother sending it across the network. Http offers a couple of mechanisms to make this really easy. We need to take advantage of that.</p>
<p>AMF enables class mapping. This seems awesome at first &#8211; no parsing on the client, yay &#8211; but I can guarantee that you&#39;ll spend a LOT of your time keeping two separate type systems in sync. I need to go into much greater details here, but essentially I don&#39;t think that it&#39;s worth the effort.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaun</title>
		<link>http://shaun.boyblack.co.za/blog/2009/11/10/robotliz-using-robotlegs-like-swiz-in-20-minutes/comment-page-1/#comment-8641</link>
		<dc:creator>shaun</dc:creator>
		<pubDate>Tue, 15 Dec 2009 08:22:34 +0000</pubDate>
		<guid isPermaLink="false">http://shaun.boyblack.co.za/blog/?p=863#comment-8641</guid>
		<description>Ha! Yes, now it can. And not a moment too soon!</description>
		<content:encoded><![CDATA[<p>Ha! Yes, now it can. And not a moment too soon!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johan</title>
		<link>http://shaun.boyblack.co.za/blog/2009/11/10/robotliz-using-robotlegs-like-swiz-in-20-minutes/comment-page-1/#comment-8639</link>
		<dc:creator>Johan</dc:creator>
		<pubDate>Tue, 15 Dec 2009 08:10:16 +0000</pubDate>
		<guid isPermaLink="false">http://shaun.boyblack.co.za/blog/?p=863#comment-8639</guid>
		<description>BTW - Swiz 1.0 can handle independent view instances as well:&lt;br&gt;&lt;a href=&quot;http://swizframework.org/files/examples/1.0.0-alpha/flex3/&quot; rel=&quot;nofollow&quot;&gt;http://swizframework.org/files/examples/1.0.0-a...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>BTW &#8211; Swiz 1.0 can handle independent view instances as well:<br /><a href="http://swizframework.org/files/examples/1.0.0-alpha/flex3/" rel="nofollow"></a><a href="http://swizframework.org/files/examples/1.0.0-a.." rel="nofollow">http://swizframework.org/files/examples/1.0.0-a..</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johan</title>
		<link>http://shaun.boyblack.co.za/blog/2009/11/10/robotliz-using-robotlegs-like-swiz-in-20-minutes/comment-page-1/#comment-8638</link>
		<dc:creator>Johan</dc:creator>
		<pubDate>Tue, 15 Dec 2009 07:48:20 +0000</pubDate>
		<guid isPermaLink="false">http://shaun.boyblack.co.za/blog/?p=863#comment-8638</guid>
		<description>Nice example - you mentioned that AMF is not a good coice for the web and used JSON - can you elaborate. Be interested in insights.</description>
		<content:encoded><![CDATA[<p>Nice example &#8211; you mentioned that AMF is not a good coice for the web and used JSON &#8211; can you elaborate. Be interested in insights.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaun smith &#187; Robotliz 2 &#8211; A Six Minute Cleanup</title>
		<link>http://shaun.boyblack.co.za/blog/2009/11/10/robotliz-using-robotlegs-like-swiz-in-20-minutes/comment-page-1/#comment-8629</link>
		<dc:creator>shaun smith &#187; Robotliz 2 &#8211; A Six Minute Cleanup</dc:creator>
		<pubDate>Thu, 12 Nov 2009 12:38:43 +0000</pubDate>
		<guid isPermaLink="false">http://shaun.boyblack.co.za/blog/?p=863#comment-8629</guid>
		<description>[...] a quickie &#8211; I cleaned up the Robotliz app a little. In this short vid I walk through the new structure and touch on some light Git/GitHub [...]</description>
		<content:encoded><![CDATA[<p>[...] a quickie &#8211; I cleaned up the Robotliz app a little. In this short vid I walk through the new structure and touch on some light Git/GitHub [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
