<?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>Really Aced &#187; blaze ds</title>
	<atom:link href="http://blog.sommestad.net/tag/blaze-ds/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sommestad.net</link>
	<description>Web and Cocoa development through the eyes of Kristofer Sommestad, a SWAD developer.</description>
	<lastBuildDate>Sun, 23 Jan 2011 12:21:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Presentation on creating an online multiplayer game lobby in Flex &amp; Air</title>
		<link>http://blog.sommestad.net/2009/09/presentation-on-creating-an-online-multiplayer-game-lobby-in-flex-air/</link>
		<comments>http://blog.sommestad.net/2009/09/presentation-on-creating-an-online-multiplayer-game-lobby-in-flex-air/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 13:38:37 +0000</pubDate>
		<dc:creator>esset</dc:creator>
				<category><![CDATA[Flash & Flex]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[asunit]]></category>
		<category><![CDATA[blaze ds]]></category>
		<category><![CDATA[flexmonkey]]></category>
		<category><![CDATA[flexunit]]></category>
		<category><![CDATA[fluint]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[graniteds]]></category>
		<category><![CDATA[hessian]]></category>
		<category><![CDATA[lcds]]></category>
		<category><![CDATA[LiveCycleDS]]></category>
		<category><![CDATA[mxml]]></category>
		<category><![CDATA[puremvc]]></category>
		<category><![CDATA[rest]]></category>
		<category><![CDATA[selenium]]></category>
		<category><![CDATA[swiz]]></category>
		<category><![CDATA[weborb]]></category>
		<category><![CDATA[wysiwyg]]></category>

		<guid isPermaLink="false">http://blog.sommestad.net/?p=117</guid>
		<description><![CDATA[I came across a really interesting presentation from Scott Delap on InfoQ: Scott Delap shares his experience creating a lobby interface for an online game using Flex&#38;Air. He details on related technologies used, available tooling and frameworks pros&#38;cons, remoting options, unit, functional and load testing approach used. To sum it up, it&#8217;s a good and [...]]]></description>
			<content:encoded><![CDATA[<p>I came across a <a href="http://www.infoq.com/presentations/Flex-Air-in-the-Trenches-Scott-Delap">really interesting presentation</a> from <a href="http://www.infoq.com/author/Scott-Delap">Scott Delap</a> on <a href="http://www.infoq.com">InfoQ</a>:</p>
<blockquote><p>Scott Delap shares his experience creating a lobby interface for an online game using Flex&amp;Air. He details on related technologies used, available tooling and frameworks pros&amp;cons, remoting options, unit, functional and load testing approach used.</p></blockquote>
<p>To sum it up, it&#8217;s a good and elaborate presentation from a Java developer&#8217;s perspective, with reflections from a online multiplayer game development project. I enjoyed the full hour of watching it! <img src='http://blog.sommestad.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>They&#8217;ve dealt with many of the questions we have and their conclusions are very interesting.</p>
<h3>Presentation summary</h3>
<p>I&#8217;ve summarized the most interesting contents of the presentation. They&#8217;re actually notes taken during the presentation, so please forgive any poor language or formatting:</p>
<blockquote>
<ul>
<li>The Flex Builder WYSIWYG actually works, which isn&#8217;t common at all</li>
<li> MVC in Flex is pretty much MVc, where the controller and view are sort of bundled together</li>
<li> When choosing an MVC framework, <a href="http://code.google.com/p/swizframework/">Swiz</a> turned out to be most interesting (among likes of <a href="http://opensource.adobe.com/wiki/display/cairngorm/Cairngorm">Cairngorm</a>, <a href="http://puremvc.org/">PureMVC</a> etc). Swiz is similar to Spring with auto-wiring. Also supports Dependency Injection, Command Chains, and has MXML support even for non-views (i.e. for wiring the M:s, V:s and C:s).</li>
</ul>
<p><strong>Their MVC implementation:</strong></p>
<ul>
<li>MXML for the views</li>
<li>ActionScript for the controllers</li>
<li>Remoting interfaces + specific back-end implementation</li>
<li> Swiz wiring it all up</li>
<li> They found no real reasons to use a &#8220;big MVC framework&#8221;, whereas Swiz did the job well enough</li>
</ul>
<p><strong>Remoting</strong></p>
<p>Looked at several candidates, where <a href="http://www.themidnightcoders.com/products/weborb-for-java/overview.html">WebORB</a>, <a href="http://hessian.caucho.com/">Hessian</a>, <a href="http://xmpp.org/">XMPP</a>, <a href="http://www.graniteds.org/">GraniteDS</a>, Rest not weren&#8217;t considered enough for various reasons. Also evaluated <a href="http://opensource.adobe.com/wiki/display/blazeds/BlazeDS/">BlazeDS</a>, which doesn&#8217;t scale and has no NIO support.<br />
Best candidate: <strong><a href="http://www.adobe.com/products/livecycle/dataservices/">LiveCycleDS</a> -</strong> supports NIO, RTMP and lots of connections:</p>
<ul>
<li>Good for remoting Java &lt;&gt; Actionscript and easy to integrate</li>
<li>Some Java &lt;&gt; ActionScript translations a bit problematic, i.e. enums and null values</li>
<li> Some lack of documentation when it comes to messaging</li>
</ul>
<p><strong>Unit testing</strong></p>
<ul>
<li> Evaluated <a href="http://asunit.org/">ASUnit</a>, <a href="http://opensource.adobe.com/wiki/display/flexunit/FlexUnit">FlexUnit</a>, DpUnit/Fluint</li>
<li> Chose <a href="http://code.google.com/p/fluint/">Fluint</a>, but could just as well have chosen FlexUnit. Unit testing Utilities, Controllers, Remoting Services with Mocks</li>
</ul>
<p><strong>Functional testing</strong></p>
<ul>
<li> <a href="http://code.google.com/p/flexmonkey/">FlexMonkey</a> not working properly with AIR and had a bit of lag</li>
<li> Wrote a stripped-down version of Selenium</li>
</ul>
<p><strong>Load testing</strong><br />
Currently no good way of performing load testing.</p>
<ul>
<li>Hard to simulate 1000:s of users</li>
<li> No really good tool for load testing at the moment</li>
</ul>
<p><strong>Final thoughts on Flex</strong></p>
<ul>
<li> MXML works as advertised</li>
<li>Easy to do complex things</li>
</ul>
</blockquote>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 380px; width: 1px; height: 1px;">http://opensource.adobe.com/wiki/display/blazeds/BlazeDS/</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.sommestad.net/2009/09/presentation-on-creating-an-online-multiplayer-game-lobby-in-flex-air/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Insights from the Adobe Rich Internet Experience Tour</title>
		<link>http://blog.sommestad.net/2009/04/insights-from-the-adobe-rich-internet-experience-tour-2/</link>
		<comments>http://blog.sommestad.net/2009/04/insights-from-the-adobe-rich-internet-experience-tour-2/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 16:10:17 +0000</pubDate>
		<dc:creator>esset</dc:creator>
				<category><![CDATA[Flash & Flex]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[adobe afcs]]></category>
		<category><![CDATA[blaze ds]]></category>
		<category><![CDATA[flash catalyst]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[fxg]]></category>
		<category><![CDATA[mxml]]></category>
		<category><![CDATA[my home]]></category>
		<category><![CDATA[pipeline]]></category>
		<category><![CDATA[pixelbender]]></category>
		<category><![CDATA[rich internet experience tour]]></category>
		<category><![CDATA[wysiwyg]]></category>

		<guid isPermaLink="false">http://reallyaced.wordpress.com/?p=75</guid>
		<description><![CDATA[Today, myself and a few co-workers spent our afternoon at the Adobe &#8220;Rich Internet Experience Tour&#8221; seminar here in Stockholm. The topics &#8211; focused on web development &#8211; were: Dive deep into Flash Player 10 and Pixel Bender, with Tom Krcha. New Flash Catalyst and Adobe Flex (Gumbo), with Enrique Duvos. Adobe Flex/LC DC Integration, [...]]]></description>
			<content:encoded><![CDATA[<p>Today, myself and a few co-workers spent our afternoon at the Adobe &#8220;<a href="http://www.adobenordic.com/thetour/">Rich Internet Experience Tour</a>&#8221; seminar here in Stockholm. The topics &#8211; focused on web development &#8211; were:</p>
<ul>
<li>
<p class="sIFR-replaced">Dive deep into Flash Player 10 and Pixel Bender, with <a href="http://tom.krcha.com/">Tom Krcha</a>.</p>
</li>
<li>
<p class="sIFR-replaced">New <a href="http://labs.adobe.com/technologies/flashcatalyst/">Flash Catalyst</a> and <a href="http://www.adobe.com/products/flex/">Adobe Flex</a> (Gumbo), with Enrique Duvos.</p>
</li>
<li>
<p class="sIFR-replaced">Adobe Flex/LC DC Integration, with <a href="http://tom.krcha.com/">Tom Krcha</a>.</p>
</li>
<li>
<p class="sIFR-replaced">Case: Min Boling/My Home, with <a href="http://blog.petermolgaard.com/">Peter Molgaard</a>.</p>
</li>
</ul>
<p>My main interest was the (more) in-depth demo of Flash Catalyst and Flex, which I&#8217;ve been investigating quite a lot lately (and also given some more or less harsh comments on).</p>
<h3><strong>Flash Catalyst strikes back!</strong></h3>
<p>After today, I&#8217;m more impressed with the capabilities of Flash Catalyst &#8211; at least if it&#8217;s used properly. It was nice to hear Enrique emphasize that it was intended for the View part of the application (in an MVC app). Previously, I&#8217;ve interpreted the fuzz about Flash Catalyst as a replacement for the entire MVC model (basically a replacement of regular coding), but that&#8217;s not (necessarily) the case.</p>
<p>If we were to use FC purely as a tool for the View Components in our applications, we could really improve our productivity massively. But to me, it stops there. I would keep away from using the different &#8220;states&#8221; in FC, i.e. to create the various views in the app. Single-view only, please! <img src='http://blog.sommestad.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>But it&#8217;s all on a pretty much theoretical level, really, as FC is still on a very early stage in its development (seems like we&#8217;re at least a year away from first real release). But it looks interesting, to say the least!</p>
<h3><strong>My notes from the seminar</strong></h3>
<p>I put down some notes on my mobile phone during the seminar. Maybe some rambling, but hHere it goes:</p>
<ul>
<li>Good to use Flash Catalyst &#8211; only for isolated components? Avoid using &#8220;states&#8221; in FC?</li>
<li>What are the capabilities of FXG? What&#8217;s the syntax like?</li>
<li>Does FXG &#8220;skin classes&#8221; (and likes thereof) be in MXML? Can regular AS classes be used instead?</li>
<li>Can FXG code be imported to Flash Catalyst?</li>
<li>How can Flex and FXG be combined with regular AS classes?</li>
<li>Try putting more use to SWC files?</li>
<li>How are SWC files used with Flex? How are component files (binaries) managed in Flex in general?</li>
<li>Would Gumbo (new Flex Builder) be interesting to use?</li>
<li>Take a look at Blaze DS for data services. Using HTTP protocol. RTMF to be used when more instant feedback needed.</li>
<li>Have a look at Adobe AFCS.</li>
</ul>
<h3><strong>All in all&#8230;</strong></h3>
<ul>
<li>Flash Catalyst seemed a lot more interesting in a live demo and I look forward to seeing the public beta (without expecting too much&#8230;) <img src='http://blog.sommestad.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</li>
<li>PixelBender was really cool (a lot more cooler than its docs <img src='http://blog.sommestad.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> )!</li>
<li>The presented &#8220;case&#8221;, <a href="http://myhome.elsparefonden.org/">My Home</a>,  was very cool, but perhaps a bit Big Brothery. Doesn&#8217;t feel too secure&#8230;</li>
<li>A good seminar; better than expected!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.sommestad.net/2009/04/insights-from-the-adobe-rich-internet-experience-tour-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

