<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Christophe Herreman</title>
	
	<link>http://www.herrodius.com/blog</link>
	<description>Thoughts from a software developer</description>
	<lastBuildDate>Mon, 19 Oct 2009 19:03:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/herrodius" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Spring ActionScript at the Devoxx Conference</title>
		<link>http://www.herrodius.com/blog/232</link>
		<comments>http://www.herrodius.com/blog/232#comments</comments>
		<pubDate>Mon, 19 Oct 2009 19:03:55 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Spring ActionScript]]></category>

		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=232</guid>
		<description><![CDATA[On November 18th, I&#8217;ll be doing a presentation on Spring ActionScript at this year&#8217;s Devoxx conference in Antwerp, Belgium. The conference formerly known as JavaPolis is the biggest European (Java) Developers conference.This 5 day conference has an impressive speaker list each year, lots of quality content and is extremely cheap compared to other conferences. So [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.herrodius.com/blog/wp-content/uploads/2009/10/devoxx.jpeg" alt="devoxx" title="devoxx" width="300" height="112" class="alignright size-full wp-image-233" />On November 18th, I&#8217;ll be doing a presentation on <a href="http://www.springactionscript.org/">Spring ActionScript</a> at this year&#8217;s <a href="http://www.devoxx.com">Devoxx</a> conference in Antwerp, Belgium. The conference formerly known as JavaPolis is the biggest European (Java) Developers conference.This 5 day conference has an impressive speaker list each year, lots of quality content and is extremely cheap compared to other conferences. So even with the economic crisis, there is no reason not to be there&#8230;</p>
<p>Here&#8217;s the abstract of my presentation (<a href="http://www.devoxx.com/display/DV09/Spring+ActionScript">link</a>):</p>
<blockquote><p>Spring ActionScript is an offshoot of Java Spring and brings Inversion of Control to the Flash Platform. Primarily focusing on Flex and AIR development, you&#8217;ll learn how this framework can be used to build testable and maintainable applications. We&#8217;ll take a look at the different kinds of configuration options and will also see how the minimal MVCS infrastructure fits into an application.</p></blockquote>
<p>If you&#8217;re there and are interested in Flex development, then this session is for you.</p>
<p>I&#8217;m currently preparing samples and slides, so if you have anything in particular you would like to see covered, feel free to leave something in the comments. Or if you are attending the conference and would like to meet up, leave a comment as well.</p>
<p>Looking forward to seeing you there!</p>
<img src="http://feeds.feedburner.com/~r/herrodius/~4/fCequxbf_W0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.herrodius.com/blog/232/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Thoughts on Cairngorm 3 and Application Architecture</title>
		<link>http://www.herrodius.com/blog/216</link>
		<comments>http://www.herrodius.com/blog/216#comments</comments>
		<pubDate>Tue, 06 Oct 2009 20:40:25 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[AS3Commons]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Cairngorm]]></category>
		<category><![CDATA[Design Patterns]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Inversion of Control]]></category>
		<category><![CDATA[Lessons learned]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Spring ActionScript]]></category>

		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=216</guid>
		<description><![CDATA[Cairngorm 3 was recently announced by Tom Sugden and Alex Uhlmann and has now been released in beta on the Adobe Opensource site.
Don&#8217;t expect an updated version of the Cairngorm framework as you know it though. Cairngorm 3 is not aiming to be an MVC implementation, and thus moves away from what version 1 and [...]]]></description>
			<content:encoded><![CDATA[<p>Cairngorm 3 was recently announced by <a href="http://blogs.adobe.com/tomsugden/2009/09/coming_soon_cairngorm_3_1.html">Tom Sugden</a> and <a href="http://blogs.adobe.com/auhlmann/archives/2009/10/cairngorm_3_bet.html">Alex Uhlmann</a> and has now been <a href="http://opensource.adobe.com/wiki/display/cairngorm/Cairngorm+3">released in beta</a> on the Adobe Opensource site.</p>
<p>Don&#8217;t expect an updated version of the Cairngorm framework as you know it though. Cairngorm 3 is not aiming to be an MVC implementation, and thus moves away from what version 1 and 2 were, but now consists of a set of patterns and practices, together with a series of libraries that can help to solve common problems.</p>
<p>The Patterns &#038; Practices Group at Microsoft have been promoting <a href="http://www.codeplex.com/CompositeWPF">a similar mindset</a> for quite some time actually: Prism &#8211; patterns &#038; practices Composite Application Guidance for WPF</p>
<p>I can only encourage this decision as it is exactly how I personally think about application design and architecture, especially in Flex and AIR applications. This is also what we are trying to do with <a href="http://www.springactionscript.org">Spring ActionScript</a>: our main goal is to provide a solid Inversion of Control container that supports multiple configuration options (XML, MXML, metadata driven component scanning, &#8230;) and promote it as a foundation to build applications (and frameworks), with or without your favorite MVC framework. Although we are working on a set of base classes that provide infrastructure for your application (under the name MVCS) with Application Events, Controllers, Abstractions for service layers, &#8230; by no means do we want to market the Spring ActionScript framework as yet another MVC implementation. (You might wonder why we are calling it MVCS then, and I&#8217;m actually wondering the same&#8230; I guess marketing and buzzwords in the opensource world are also important. All kidding aside, the name is certainly subject to change).</p>
<p><strong>What&#8217;s in a name</strong></p>
<p>Since this is a complete change of direction for the Cairngorm framework (which it actually no longer is) I would have expected a new name. Continuing to use Cairngorm as a name is in my opinion a bad move and will cause major confusion amongst developers and other people involved in the development process. I think the best thing for Adobe, or at least their Technical Services department, would be to let go of the name and choose a new, fresh name that moves away from the past. (Besides that, who can pronounce &#8220;Cairngorm&#8221;.)</p>
<p><strong>Dependencies</strong></p>
<p>I noticed that some of the modules that Cairngorm 3 provides depend on other libraries/frameworks, and in general the <a href="http://www.spicefactory.org/parsley/">Parsley</a> application framework. While Parsley is certainly a major player amongst the IoC/application frameworks, and I sincerely respect the author&#8217;s work, I don&#8217;t think this is a good decision. In case you are wondering: Yes, I would say the same thing if they decided to depend on Spring ActionScript.</p>
<p>The usage and choice of a concrete dependency will have consequences for the adoption and integration of the libraries that Cairngorm 3 provides. Think about it: Why would you want to pull in Parsley, perhaps only to use some of its Reflection API, if you are already running on Spring ActionScript or any other IoC container?</p>
<p>We, the Spring ActionScript team, have actually questioned ourselves about this in the past and have therefore decided to move all the common and reusable code from Spring ActionScript into a set of libraries known as the <a href="http://www.as3commons.org">AS3Commons</a> project. In that respect, I&#8217;m a bit disappointed that for instance the <a href="http://www.as3commons.org/as3-commons-reflect">AS3Commons Reflect</a> library is not used for reflection purposes, since I think it is more abstracted and unintrusive than a subset of an all-encompassing application framework. Perhaps this may be our fault of not promoting the libraries and the project enough. However, I certainly think that AS3Commons could be a wonderful project and would help to provide common libraries not only to Flex and AIR developers, but to ActionScript 3 developers in general, if it were embraced by the community.</p>
<p><strong>Flex and MVC</strong></p>
<p>Given that RIA technolgies are still evolving at a very fast pace, it is really remarkable to see the huge amount of MVC implementations appear. Not specifically aimed at Cairngorm (at least the previous versions), but rather at almost all MVC architectures available for Flex development, my personal feeling and experience is that the use of MVC architectures in the Adobe RIA space is almost a dogmatic thing and is not needed in most cases. The problem is that people just take an MVC framework as it is and implement it in their applications. More than often not questioning whether or not its usage is justified. Things that could easily and cleverly be solved are ripped apart across layers of the architecture, introducing levels of indirection that are in most cases not needed. The only thing they add is complexity and counter-intuitive development practices.</p>
<p>One of the main arguments for using an MVC framework is that the code is &#8220;easy to understand&#8221;. Of course the code will be easy to understand if you have been developing with the framework of choice for the N-th time or if you have been digging into the code for a serious amount of time, but ask a newcomer to look at the code and try to explain to you what it is actually doing&#8230; I think you&#8217;ll be surprised by the responses.</p>
<p>I&#8217;m not saying that the use of a particular MVC framework is de facto a bad thing, but the &#8220;religious&#8221; use and the blind adoption and implementation make a framework a killer for your application. I would encourage everyone to start their next project without an MVC framework and just use the Flex framework with a healthy knowledge of design and presentation patterns. And even if you are using an MVC implementation, think about each layer you introduce, why you need it and the pros and cons it brings.</p>
<p><strong>Conclusion</strong></p>
<p>It&#8217;s good to see that Adobe is rethinking their approach to RIA architecture and development practices. I also hope that they will be more open to community input and feedback than they were in the past. Although they did several attempts at engaging the community, I don&#8217;t think they really succeeded in that. If not open enough, people will just continue to fork the &#8220;framework&#8221; and provide extensions that will end up in alternative implementations anyway.</p>
<p>I&#8217;m looking forward to seeing how all of this evolves.</p>
<img src="http://feeds.feedburner.com/~r/herrodius/~4/qiAs1dbl-Ik" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.herrodius.com/blog/216/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Spring ActionScript 0.8.1 Released</title>
		<link>http://www.herrodius.com/blog/208</link>
		<comments>http://www.herrodius.com/blog/208#comments</comments>
		<pubDate>Tue, 15 Sep 2009 20:02:27 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Air]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Spring ActionScript]]></category>

		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=208</guid>
		<description><![CDATA[Dear Community,
I&#8217;m pleased to announce that the Spring ActionScript 0.8.1 release is now available.
Download&#160;&#124;&#160;API Documentation&#160;&#124;&#160;HTML Docs&#160;&#124;&#160;PDF Docs&#160;&#124;&#160;Changelog
This release includes the Spring ActionScript framework, the Cairngorm extensions and the PureMVC extensions and is mainly a bugfix release based on user feedback, for which we are very grateful.
Besides a series of bugfixes, we have also refactored the [...]]]></description>
			<content:encoded><![CDATA[<p>Dear Community,</p>
<p>I&#8217;m pleased to announce that the Spring ActionScript 0.8.1 release is now available.</p>
<p align='center'><a href="http://www.springactionscript.org/downloads/spring-actionscript-0.8.1-distribution-with-dependencies.zip">Download</a>&nbsp;|&nbsp;<a href="http://www.springactionscript.org/asdoc/index.html">API Documentation</a>&nbsp;|&nbsp;<a href="http://www.springactionscript.org/docs/reference/html/springactionscript.html">HTML Docs</a>&nbsp;|&nbsp;<a href="http://www.springactionscript.org/docs/reference/pdf/springactionscript.pdf">PDF Docs</a>&nbsp;|&nbsp;<a href="http://www.springactionscript.org/changes-report.html">Changelog</a></p>
<p>This release includes the Spring ActionScript framework, the Cairngorm extensions and the PureMVC extensions and is mainly a bugfix release based on user feedback, for which we are very grateful.</p>
<p>Besides a series of bugfixes, we have also refactored the stage wiring system a bit so it now enables you to extend it with custom functionality. Two proof-of-concept implementations were added, namely the <a href="http://www.springactionscript.org/docs/reference/html/container-documentation.html#the_localizationstageprocessor_class">LocalizationStageProcessor</a> and the <a href="http://www.springactionscript.org/docs/reference/html/container-documentation.html#the_simplesecuritystageprocessor_class">SimpleSecurityStageProcessor</a>.</p>
<p><strong>LocalizationStageProcessor</strong></p>
<p>This first processor enables you to assign resource values to components that are added to the stage, thus removing the need to add binding code for components at design-time. The values are assigned on a simple &#8216;configuration-by-name&#8217; basis: a resource string in the form &#8216;myButton_label=Click me&#8217; will assign the value &#8216;Click me&#8217; to the label property of a stage component with the id &#8216;myButton&#8217;.</p>
<p>There&#8217;s a small <a href="https://src.springframework.org/svn/se-springactionscript-as/trunk/spring-actionscript-core/samples/localization/src/">sample app</a> as well showcasing the localization processor.</p>
<p><strong>SimpleSecurityStageProcessor</strong></p>
<p>The second processor is slightly more elaborate and offers runtime security/authorization functionality.</p>
<p>There&#8217;s also a small <a href="https://src.springframework.org/svn/se-springactionscript-as/trunk/spring-actionscript-core/samples/security/src/">sample application</a> for this processor.</p>
<p>Basically what this processor does is create an ISecurityManager instance for a given component that is added to the stage. (Whether or not this creation will be considered is determined by the approval result of an IObjectSelector). This ISecurityManager holds a list of role and right names that are applicable for the specified stage component and is able to block access to the component after evaluation of these security rules.</p>
<p>The way to block access is determined by the AccessStrategy enum, that is part of the SimpleStageSecurityManager implementation of the ISecurityManager. It can set the enabled property to false, or visible to false, etc. The implementation of these security interfaces is SIMPLE, hence the names. For now, we didn&#8217;t want to include a very elaborate implementation since security can vary very widely from application to application. These interfaces are really meant as a &#8216;roll-your-own&#8217; package, Spring ActionScript just offers the infrastructure in this case.</p>
<p><strong>Last Words</strong></p>
<p>Although this is a minor release, we would recommend all users to upgrade.</p>
<p>Further, we are always looking for user feedback and input. Be it bug reports, patches, new ideas, etc, all help is welcome. If you think you can contribute to the project in whatever way, don&#8217;t hesitate to leave something in the comments or mail me at christophe [DOT] herreman [AT] gmail [DOT] com.</p>
<img src="http://feeds.feedburner.com/~r/herrodius/~4/gAdBvoDemM8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.herrodius.com/blog/208/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Marking Deprecated Classes and Methods in Flex</title>
		<link>http://www.herrodius.com/blog/190</link>
		<comments>http://www.herrodius.com/blog/190#comments</comments>
		<pubDate>Sat, 12 Sep 2009 09:40:49 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[IntelliJ IDEA]]></category>

		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=190</guid>
		<description><![CDATA[A feature of the Flex SDK is that you can mark deprecated classes and methods via the [Deprecated] metadata tag. The goal of deprecating code is to inform developers that code will disappear in an upcoming release of a library or framework. Developers can then change their code to use the appropriate replacement and prevent [...]]]></description>
			<content:encoded><![CDATA[<p>A feature of the Flex SDK is that you can mark deprecated classes and methods via the [Deprecated] metadata tag. The goal of deprecating code is to inform developers that code will disappear in an upcoming release of a library or framework. Developers can then change their code to use the appropriate replacement and prevent problems when upgrading to newer versions. For more info, read <a href="http://java.sun.com/j2se/1.4.2/docs/guide/misc/deprecation/deprecation.html">How and When to Deprecate APIs</a>.</p>
<blockquote><p>The need for deprecation comes about because, as a class evolves, its API changes. Methods are renamed for consistency. New and better methods are added. Attributes change. But making such changes introduces a problem. You need to keep the old API around until people make the transition to the new one, but you don't want developers to continue programming to the old API.</p></blockquote>
<p>Here's an example:</p>
<div class="igBar"><span id="lactionscript-3"><a href="#" onclick="javascript:showPlainTxt('actionscript-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-3">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">package org.<span style="color: #006600;">as3commons</span>.<span style="color: #006600;">reflect</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #66cc66;">&#91;</span>Deprecated<span style="color: #66cc66;">&#40;</span>replacement=<span style="color: #ff0000;">"org.as3commons.lang.ClassUtils"</span>, since=<span style="color: #ff0000;">"1.1"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#93;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> ClassUtils <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#91;</span>Deprecated<span style="color: #66cc66;">&#40;</span>replacement=<span style="color: #ff0000;">"org.as3commons.lang.ClassUtils.forInstance()"</span>, since=<span style="color: #ff0000;">"1.1"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#93;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">function</span> forInstance<span style="color: #66cc66;">&#40;</span>instance:*, applicationDomain:ApplicationDomain = <span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #000000; font-weight: bold;">Class</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// ... method body ommitted</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Depending on the IDE you are using, you will even get visual hints when you are using deprecated code. Here's how <a href="http://www.jetbrains.com/idea/">IntelliJ IDEA</a> supports this. (Click to enlarge)</p>
<p><a href="http://www.herrodius.com/blog/wp-content/uploads/2009/09/intellij-idea-deprecated-hint.png" target="_blank"><img src="http://www.herrodius.com/blog/wp-content/uploads/2009/09/intellij-idea-deprecated-hint.png" alt="intellij-idea-deprecated-hint" title="intellij-idea-deprecated-hint" width="630" height="220" class="alignnone size-full wp-image-192" /></a></p>
<p>Note that I'm using an early build of the upcoming version 9 of IntelliJ IDEA, codenamed "Maia", in which Flex support has significantly been improved. You can get the prereleases <a href="http://http://www.jetbrains.net/confluence/display/IDEADEV/Maia+EAP">here</a>.</p>
<p>You can also use this on other metadata tags such as Style, but in a slightly different form:</p>
<div class="igBar"><span id="lactionscript-4"><a href="#" onclick="javascript:showPlainTxt('actionscript-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-4">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#91;</span>Style<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">name</span>=<span style="color: #ff0000;">"backgroundColor"</span>, <span style="color: #0066CC;">type</span>=<span style="color: #ff0000;">"uint"</span>, format=<span style="color: #ff0000;">"Color"</span>, inherit=<span style="color: #ff0000;">"no"</span>, deprecatedReplacement=<span style="color: #ff0000;">"swatchPanelStyleName"</span>, deprecatedSince=<span style="color: #ff0000;">"3.0"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#93;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>For more info on the [Deprecated] metadata tag, see the <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=metadata_3.html#172179">Flex documentation</a>.</p>
<p>I haven't tested how deprecations are handled in Flex/Flash Builder and the ASDoc system. If anyone knows, don't hesitate to add extra info in the comments and I will update this post.</p>
<p><strong>Update</strong> The [Deprecated] metadata tag was posted about some time ago in <a href="http://nondocs.blogspot.com/2007/05/metadatadeprecated.html">this blogpost</a>, which made me believe it was undocumented or at least it was at the time of writing. Thanks to Bobby Parker for posting the link to the Flex 3 docs in which the metadata is clearly documented.</p>
<img src="http://feeds.feedburner.com/~r/herrodius/~4/pDa5KoM97iw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.herrodius.com/blog/190/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Spring ActionScript 0.8 Released</title>
		<link>http://www.herrodius.com/blog/176</link>
		<comments>http://www.herrodius.com/blog/176#comments</comments>
		<pubDate>Fri, 17 Jul 2009 16:20:56 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Air]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Spring ActionScript]]></category>

		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=176</guid>
		<description><![CDATA[Dear Community,
I'm pleased to announce that the Spring ActionScript 0.8 release is now available.
Download&#160;&#124;&#160;API Documentation&#160;&#124;&#160;HTML Docs&#160;&#124;&#160;PDF Docs&#160;&#124;&#160;Changelog
This release includes the Spring ActionScript framework, the Cairngorm extensions and the PureMVC extensions.
All libraries are available for download at the following Maven repository: http://projects.yoolab.org/maven/content/repositories/
From now on, we will regularly publish new snapshots of the libraries there.
Direct links to [...]]]></description>
			<content:encoded><![CDATA[<p>Dear Community,</p>
<p>I'm pleased to announce that the Spring ActionScript 0.8 release is now available.</p>
<p align='center'><a href="http://projects.yoolab.org/maven/content/repositories/releases/org/springextensions/actionscript/spring-actionscript-core/0.8/spring-actionscript-core-0.8.swc">Download</a>&nbsp;|&nbsp;<a href="http://www.springactionscript.org/asdoc/index.html">API Documentation</a>&nbsp;|&nbsp;<a href="http://www.springactionscript.org/docs/reference/html/springactionscript.html">HTML Docs</a>&nbsp;|&nbsp;<a href="http://www.springactionscript.org/docs/reference/pdf/springactionscript.pdf">PDF Docs</a>&nbsp;|&nbsp;<a href="http://www.pranaframework.org/docs/0.8/changelog.txt">Changelog</a></p>
<p>This release includes the Spring ActionScript framework, the Cairngorm extensions and the PureMVC extensions.</p>
<p>All libraries are available for download at the following Maven repository: <a href="http://projects.yoolab.org/maven/content/repositories/">http://projects.yoolab.org/maven/content/repositories/</a></p>
<p>From now on, we will regularly publish new snapshots of the libraries there.</p>
<p>Direct links to the libraries:<br />
- <a href="http://projects.yoolab.org/maven/content/repositories/releases/org/springextensions/actionscript/spring-actionscript-core/0.8/spring-actionscript-core-0.8.swc">Spring ActionScript 0.8</a><br />
- <a href="http://projects.yoolab.org/maven/content/repositories/releases/org/springextensions/actionscript/spring-actionscript-cairngorm/0.8/spring-actionscript-cairngorm-0.8.swc">Spring ActionScript Cairngorm 0.8</a><br />
- <a href="http://projects.yoolab.org/maven/content/repositories/releases/org/springextensions/actionscript/spring-actionscript-puremvc-standard/0.8/spring-actionscript-puremvc-standard-0.8.swc">Spring ActionScript PureMVC 0.8</a></p>
<p>Dependencies:<br />
- <a href="http://projects.yoolab.org/maven/content/repositories/snapshots/org/as3commons/as3commons-lang/1.0.0-SNAPSHOT/as3commons-lang-1.0.0-20090716.151324-14.swc">AS3Commons Lang</a><br />
- <a href="http://projects.yoolab.org/maven/content/repositories/releases/org/as3commons/as3commons-logging/1.0.0/as3commons-logging-1.0.0.swc">AS3Commons Logging</a><br />
- <a href="http://projects.yoolab.org/maven/content/repositories/releases/org/as3commons/as3commons-reflect/1.0.0/as3commons-reflect-1.0.0.swc">AS3Commons Reflect</a></p>
<p><em>Note: AS3Commons Lang is a snapshot of 1.0. We will work with a release for the following releases of Spring ActionScript</em></p>
<p>Besides a series of bugfixes, optimizations and improvements, some of the major changes and enhancements include:</p>
<p><strong>Autowiring support</strong></p>
<p>Using autowiring allows you to inject objects managed by the container into view components and other objects. To autowire a property, annotate it with the [Autowired] metadata tag. The support we build in is pretty enhanced and allows you to customize the autowire behavior in many different ways. Within the Autowired metadata tag you can specify the object name and you can also configure the container to filter autowire candidates using your own filter specifications. Please see the <a href="http://www.springactionscript.org/docs/reference/html/container-documentation.html#autowiring_objects">documentation on autowiring</a> for more info.</p>
<p><strong>Custom Namespaces</strong></p>
<p>The XML configuration now supports namespaces and allows you to create custom namespaces yourself. A few namespaces have been added to simplify the configuration of common objects for RMI and Messaging. More info on <a href="http://www.springactionscript.org/docs/reference/html/xml-schema-based-configuration.html">available namespaces and schemas</a> and <a href="http://www.springactionscript.org/docs/reference/html/extensible_xml_authoring.html">creating custom ones</a> can be found in the documentation. The XSD schemas are available <a href="http://www.springactionscript.org/schema/">http://www.springactionscript.org/schema/</a></p>
<p><strong>MXML Configuration</strong></p>
<p>We now also support configuration through MXML. The markup is very similar to the regular XML config, but with some slight differences. Please see the documentation on <a href="http://www.springactionscript.org/docs/reference/html/container-documentation.html#composing_mxml_based_configuration_metadata">MXML Configuration</a></p>
<p><strong>AS3Commons</strong></p>
<p>As a side project, we have started the <a href="http://www.as3commons.org">AS3Commons</a> project that offers reusable ActionScript 3.0 libraries. Most of the libraries currently available in AS3Commons are build using code from the Spring ActionScript framework. This means that a lot of code has been removed from Spring ActionScript and is now available for use in projects not using Spring ActionScript. Please note that you might have to update quite some import statements to refer to AS3Commons instead of Spring ActionScript. We apologize for any inconvenience this might cause, but this is only a one-time process.</p>
<p>We hope you find the AS3Commons libraries useful. All libraries (releases and snapshots) can also be found at the <a href="https://dev.yoolab.org/maven/content/repositories/">Maven repository</a>.</p>
<p><strong>Documentation</strong></p>
<p>The documentation has been tremendously improved in this version. Next to the <a href="http://www.springactionscript.org/asdoc/index.html">API documentation</a>, we now provide a reference guide in <a href="http://www.springactionscript.org/docs/reference/html/springactionscript.html">HTML</a> and <a href="http://www.springactionscript.org/docs/reference/pdf/springactionscript.pdf">PDF</a> format. General info can be found at the project website: <a href="http://www.springactionscript.org">www.springactionscript.org</a></p>
<p><strong>Last Words</strong></p>
<p>If you feel like helping us out, we could certainly use your help. This project is entirely created on a volunteer basis and in our spare (and limited) free time so needless to say that the more people, the faster we can deliver new releases and guarantee the quality of the framework. So if you think you have someting to offer, be it as a developer, tester, documentation writer, sample creator, ... please contact me (christophe [DOT] herreman [AT] gmail [DOT] com) or leave something in the comments. All help is more than welcome.</p>
<p>Enjoy this release and have fun coding!</p>
<img src="http://feeds.feedburner.com/~r/herrodius/~4/NJLPzQKCVLY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.herrodius.com/blog/176/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Maven, Flex Mojos and Flash Builder 4 tip</title>
		<link>http://www.herrodius.com/blog/169</link>
		<comments>http://www.herrodius.com/blog/169#comments</comments>
		<pubDate>Fri, 26 Jun 2009 10:32:57 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[tips 'n tricks]]></category>

		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=169</guid>
		<description><![CDATA[Here's a quick tip for those of you who are using Flash Builder 4's FlexUnit integration and also build with Maven and Flex Mojos.
When executing the unit tests of your library project or application, Flash Builder creates a FlexUnitApplication.mxml file in the root package of your main class path. This file is the test runner [...]]]></description>
			<content:encoded><![CDATA[<p>Here's a quick tip for those of you who are using Flash Builder 4's FlexUnit integration and also build with <a href="http://maven.apache.org/">Maven</a> and <a href="http://code.google.com/p/flex-mojos/">Flex Mojos</a>.</p>
<p>When executing the unit tests of your library project or application, Flash Builder creates a FlexUnitApplication.mxml file in the root package of your main class path. This file is the test runner UI that gets compiled when the tests are run. The problem is that when you try to execute a Maven build on your project, the build will fail because the test runner UI will also get compiled.</p>
<p>A solution is to use the <a href="http://maven.apache.org/plugins/maven-clean-plugin/">maven-clean-plugin</a> in the build phase and configure it to delete the FlexUnitApplication.mxml file.</p>
<p>To use it, place the following xml in the "build/plugins" section of your Maven build file. You might need to change the "directory" setting to match your classpath.</p>
<div class="igBar"><span id="lxml-6"><a href="#" onclick="javascript:showPlainTxt('xml-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-6">
<div class="xml">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;plugin<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;artifactId<span style="font-weight: bold; color: black;">&gt;</span></span></span>maven-clean-plugin<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/artifactId<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;configuration<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;filesets<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;fileset<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;directory<span style="font-weight: bold; color: black;">&gt;</span></span></span>src/main/actionscript<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/directory<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;includes<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;include<span style="font-weight: bold; color: black;">&gt;</span></span></span>FlexUnitApplication.mxml<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/include<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/includes<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/fileset<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/filesets<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/configuration<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/plugin<span style="font-weight: bold; color: black;">&gt;</span></span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>If you now execute a "mvn clean install" command, the file will be removed and the build should succeed.</p>
<img src="http://feeds.feedburner.com/~r/herrodius/~4/aH2ulXhH-8o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.herrodius.com/blog/169/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Formatter Eclipse Plug-in</title>
		<link>http://www.herrodius.com/blog/165</link>
		<comments>http://www.herrodius.com/blog/165#comments</comments>
		<pubDate>Fri, 05 Jun 2009 15:11:38 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Air]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex Builder]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[tips 'n tricks]]></category>

		<guid isPermaLink="false">http://www.herrodius.com/blog/165</guid>
		<description><![CDATA[If you're using Eclipse and Flash/Flex Builder, you might want to have a look at the Flex Formatter Plug-in. It's a great add-on that allows you to (auto-)format your ActionScript and MXML files, based on the templates you define.
This is a key feature that is still missing in Flash/Flex Builder in my opinion.
More info: http://sourceforge.net/projects/flexformatter/
]]></description>
			<content:encoded><![CDATA[<p>If you're using Eclipse and Flash/Flex Builder, you might want to have a look at the Flex Formatter Plug-in. It's a great add-on that allows you to (auto-)format your ActionScript and MXML files, based on the templates you define.</p>
<p>This is a key feature that is still missing in Flash/Flex Builder in my opinion.</p>
<p>More info: <a href="http://sourceforge.net/projects/flexformatter/">http://sourceforge.net/projects/flexformatter/</a></p>
<img src="http://feeds.feedburner.com/~r/herrodius/~4/7ICEYchzGlI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.herrodius.com/blog/165/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Spring ActionScript: site and documentation update</title>
		<link>http://www.herrodius.com/blog/164</link>
		<comments>http://www.herrodius.com/blog/164#comments</comments>
		<pubDate>Tue, 02 Jun 2009 08:00:23 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Air]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Inversion of Control]]></category>
		<category><![CDATA[Spring ActionScript]]></category>

		<guid isPermaLink="false">http://www.herrodius.com/blog/164</guid>
		<description><![CDATA[Some quick news about the status of the project.
The Spring ActionScript project has a new home at http://www.springactionscript.org!
We have been updating the documentation extensively and although this is still a work in progress, this should be a valuable resource to get started with the framework. Please see the "Documentation" section for more info and available [...]]]></description>
			<content:encoded><![CDATA[<p>Some quick news about the status of the project.</p>
<p>The Spring ActionScript project has a new home at <a href="http://www.springactionscript.org">http://www.springactionscript.org</a>!</p>
<p>We have been updating the documentation extensively and although this is still a work in progress, this should be a valuable resource to get started with the framework. Please see the "Documentation" section for more info and available doc formats.</p>
<p>There are also some neat new features like advanced autowiring and support for custom XML namespaces (available in SVN) that will be distributed with the new 0.8 release, expected to be released by the end of this week.</p>
<p>As usual, we appreciate any feedback. Join our <a href="http://groups.google.com/group/springactionscript-dev">Google developers group</a> or the <a href="http://forum.springsource.org/forumdisplay.php?f=60">forum</a>.</p>
<p>Have fun coding!</p>
<img src="http://feeds.feedburner.com/~r/herrodius/~4/ZHAEVtYKjWQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.herrodius.com/blog/164/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Introducing the AS3Commons project</title>
		<link>http://www.herrodius.com/blog/163</link>
		<comments>http://www.herrodius.com/blog/163#comments</comments>
		<pubDate>Mon, 01 Jun 2009 08:30:52 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[AS3Commons]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Air]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.herrodius.com/blog/163</guid>
		<description><![CDATA[While working on the Spring ActionScript framework, we wrote a lot of code that could perfectly be used outside of the framework. That's why we decided to start the AS3Commons project, based on idea of the Apache Commons project, and provide a set of core libraries useful to every ActionScript 3.0 developer.
This announcement is also [...]]]></description>
			<content:encoded><![CDATA[<p>While working on the <a href="http://www.springactionscript.org">Spring ActionScript</a> framework, we wrote a lot of code that could perfectly be used outside of the framework. That's why we decided to start the AS3Commons project, based on idea of the Apache Commons project, and provide a set of core libraries useful to every ActionScript 3.0 developer.</p>
<p>This announcement is also the immediate release of 2 of the libraries included:</p>
<ul>
<li>AS3Commons-Reflect: a reflection library</li>
<li>AS3Commons-Logging: an abstraction layer over logging frameworks</li>
</ul>
<p><em>Note: we realize there is another as3commons library out there. However this library is no longer being maintained and developed as confirmed by the author. We apologize in advance for the confusion this might cause. We are currently looking into the code and will try to include/replace the functionality in the new project.</em></p>
<p><strong>AS3Commons-Reflect</strong></p>
<p>This is a reflection library, or a clear API written around describeType(). It allows you to get runtime information about classes and objects running in your application, like the properties and methods available in a class, the metadata associated with a certain property, ... and it also allows you to dynamically instantiate objects and invoke their methods.</p>
<p>We had previously moved this from the Spring ActionScript sources to the AS3Reflect project. However, since we had plans of extracting other part of the framework as well, we decided to bundle everything under the AS3Commons project. The AS3Reflect library is hence no longer available and we advice all users to update to the new release.</p>
<p>For more info, please see <a href="http://www.as3commons.org/as3-commons-reflect">http://www.as3commons.org/as3-commons-reflect</a></p>
<p><strong>AS3Commons-Logging</strong></p>
<p>This is a logging abstraction layer over existing logging frameworks. It is a lightweight library that offers a logger interface and a set of adapters and decorators for existing logging frameworks, like the logging API in the Flex framework.</p>
<p>It is perfectly fit for library and framework developers that want to enable logging information in their distributed libraries without tying their code to a specific logging framework. Logging happens via the logger interfaces provided by AS3Commons-Logging and users are then able to configure the logger with the implementation they prefer.</p>
<p>Here's a small example:</p>
<div class="igBar"><span id="lactionscript-8"><a href="#" onclick="javascript:showPlainTxt('actionscript-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-8">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">// configure the LoggerFactory with the Flex logging framework</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">private</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">var</span> loggerSetup:* = <span style="color: #66cc66;">&#40;</span>LoggerFactory.<span style="color: #006600;">loggerFactory</span> = <span style="color: #000000; font-weight: bold;">new</span> FlexLoggerFactory<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">// get a logger from the factory, in which all log statements will be handled by the Flex logger</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">private</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">var</span> logger:ILogger = LoggerFactory.<span style="color: #006600;">getLogger</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"com.domain.MyClass"</span><span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>We will update the project with new adapters for existing logging frameworks. Let us know if you have any framework that you would like to see supported.</p>
<p>For more info, please see: <a href="http://www.as3commons.org/as3-commons-logging">http://www.as3commons.org/as3-commons-logging</a></p>
<p><strong>Get Involved</strong></p>
<p>We welcome participation from all that are interested, at all skill levels. Coding, documentation and testing are all critical parts of the software development process. If you are interested in participating in any of these aspects, please join us! You can leave a comment or mail me at christophe.herreman [at] gmail [dot] com.</p>
<p><a href="http://www.as3commons.org">www.as3commons.org</a></p>
<img src="http://feeds.feedburner.com/~r/herrodius/~4/6iF3Ioj8Oqo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.herrodius.com/blog/163/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Streaming AMF not working on Internet Explorer 8</title>
		<link>http://www.herrodius.com/blog/162</link>
		<comments>http://www.herrodius.com/blog/162#comments</comments>
		<pubDate>Mon, 25 May 2009 12:55:52 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[BlazeDS]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.herrodius.com/blog/162</guid>
		<description><![CDATA[If you're having trouble connecting to BlazeDS via a streaming AMF channel on IE 8, be warned: this is a known issue currently reported in the Adobe bugbase and a workaround is provided. You need to specify the "max-streaming-clients" in the configuration of the channel (in services-config.xml):
PLAIN TEXT
CODE:




&#60;channel-definition id="my-streaming-amf" class="mx.messaging.channels.StreamingAMFChannel"&#62;


&#160; &#60;endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/streamingamf" class="flex.messaging.endpoints.StreamingAMFEndpoint"/&#62;


&#160; &#60;properties&#62;


&#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>If you're having trouble connecting to BlazeDS via a streaming AMF channel on IE 8, be warned: this is a known issue <a href="http://bugs.adobe.com/jira/browse/BLZ-378">currently reported in the Adobe bugbase</a> and a workaround is provided. You need to specify the "max-streaming-clients" in the configuration of the channel (in services-config.xml):</p>
<div class="igBar"><span id="lcode-10"><a href="#" onclick="javascript:showPlainTxt('code-10'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-10">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;channel-definition id=<span style="color:#CC0000;">"my-streaming-amf"</span> class=<span style="color:#CC0000;">"mx.messaging.channels.StreamingAMFChannel"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &lt;endpoint url=<span style="color:#CC0000;">"http://{server.name}:{server.port}/{context.root}/messagebroker/streamingamf"</span> class=<span style="color:#CC0000;">"flex.messaging.endpoints.StreamingAMFEndpoint"</span>/&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &lt;properties&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;max-streaming-clients&gt;<span style="color:#800000;color:#800000;">10</span>&lt;/max-streaming-clients&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &lt;/properties&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/channel-definition&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Cheers!</p>
<img src="http://feeds.feedburner.com/~r/herrodius/~4/7Q2_4lL3U7Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.herrodius.com/blog/162/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
