<?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>Tyler Chesley's Blog &#187; Components</title>
	<atom:link href="http://www.blog.tylerchesley.org/category/flex/components/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blog.tylerchesley.org</link>
	<description>Flex, Actionscript, Rails, Javascript</description>
	<lastBuildDate>Fri, 05 Mar 2010 23:41:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Bark! Growl Like Notifications for Flex</title>
		<link>http://www.blog.tylerchesley.org/2009/08/08/bark-growl-like-notifications-for-flex/</link>
		<comments>http://www.blog.tylerchesley.org/2009/08/08/bark-growl-like-notifications-for-flex/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 06:11:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Components]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Bark]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[Flex 4]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[Growl]]></category>
		<category><![CDATA[notification]]></category>
		<category><![CDATA[Spark]]></category>

		<guid isPermaLink="false">http://www.blog.tylerchesley.org/?p=8</guid>
		<description><![CDATA[* I&#8217;ve updated the source code for the new Flex 4 beta 2. I&#8217;ve also fixed the null pointer error.  You can download it here or checkout the latest from the Github.
Recently, I&#8217;ve worked on several projects where I needed a Growl like notification to alert users of various events happening in the background. [...]]]></description>
			<content:encoded><![CDATA[<p>* I&#8217;ve updated the source code for the new Flex 4 beta 2. I&#8217;ve also fixed the null pointer error.  You can download it <a href="http://www.blog.tylerchesley.org/examples/Bark-Flex-beta-2.fxpl">here</a> or checkout the latest from the <a href="http://github.com/tylerchesley/bark">Github</a>.</p>
<div id="attachment_12" class="wp-caption aligncenter" style="width: 536px"><img class="aligncenter size-full wp-image-9" title="Bark Logo" src="http://www.blog.tylerchesley.org/wp-content/uploads/2009/08/bark_logo.png" alt="Bark Logo" width="526" height="150" /> </dt>
</dl>
</div>
<p>Introducing Bark! a notification framework for Flex modeled after the uber-awesome Growl framework for the Mac.</p>
<div class="mceTemp mceIEcenter">
<dl id="attachment_15" class="wp-caption aligncenter" style="width: 310px;">
<dt class="wp-caption-dt"><a title="Bark Demo" href="http://www.blog.tylerchesley.org/examples/barkdemo/BarkDemo.html" target="_blank"><img class="size-medium wp-image-15" title="Bark Screenshot " src="http://www.blog.tylerchesley.org/wp-content/uploads/2009/08/screenshot-300x160.png" alt="Bark in action." width="300" height="160" /></a><p class="wp-caption-text">Bark in action.</p></div>
<p>Recently, I&#8217;ve worked on several projects where I needed a Growl like notification to alert users of various events happening in the background. I did a Google search for Flex Growl and came across several solutions for Air and Growl but not many results for a web-based solution. I did come across Francis Lukesh&#8217;s <a title="Rawr!" href="http://lukesh.wordpress.com/2009/04/04/rawr-flexgrowl-component-available/" target="_blank">Rawr! component</a>. While I liked the result and thought it was well-thought out and implemented, I wanted a more general framework and less  dependencies on any non-Flex framework code (Rawr! was written using the <a title="Hydraframework" href="http://hydraframework.com/" target="_blank">HydraFramework</a> and uses <a title="Degrafa" href="http://www.degrafa.org/" target="_blank">Degrafa</a> for skinning). Originally, I intended to write the framework using the Flex 3 SDK, but I had been playing around with the new Flex 4 beta and was very impressed with the ease of skinning components. I thought here was a perfect opportunity to get my feet wet with Flex 4. I know I&#8217;ve possibly condemned myself to rewriting code as the SDK evolves from beta to production but I thought it was worth it for the improved functionality and ease of use. I might consider writing a Flex 3 version if there is a enough demand. You can check out a demo <a title="Bark Demo" href="http://www.blog.tylerchesley.org/examples/barkdemo/BarkDemo.html" target="_blank">here</a> (view source is enabled) and download the source code <a title="Bark Project" href="http://www.blog.tylerchesley.org/examples/barkdemo/Bark.fxpl" target="_self">here</a>. You can also checkout the source code from github <a title="Github Source" href="http://github.com/tylerchesley/bark/tree/master" target="_blank">here</a>. Any comments or suggestions welcome.</p>
<p><strong>Features:</strong></p>
<ul>
<li>Utilizes the new Flex 4 Beta SDK for improved skinning ability and other improvements.</li>
<li>Notifications are completely configurable. The title, description, duration, icon, and renderer can all be configured using the Notification object.</li>
<li>Multiple skins and styles can be setup using the type property of the Notification object. If the type property is set it will be used as the styleName for the renderer. This makes it easy to have multiple skins for a specific renderer (see the demo for an example of this).</li>
<li>Custom renderers can easily be specified using the renderer property on the Notification object.</li>
<li>Notification events can be dispatched anywhere in the display list to trigger a notification display. Once the NotificationManager is initialized it will listen for all notification events that bubble up the display list (by default it listens for events on the top level application but you can also pass in a custom display object to listen to).</li>
<li>Callback in place for notification renderer clicks. Simply listen for a NotificationEvent.notificationItemClick event on the notification object. * Note &#8211; calling preventDefault() on the event will stop the renderer from being removed  from the display list.</li>
<li>Hide and show effects for the notifications renderers are customizable globally using the NotificationManager.</li>
</ul>
<p><strong>To Do:</strong></p>
<ul>
<li>Switch notification renderer layout to use the new Flex 4 layouts for more flexibility and configuration options.</li>
<li>Maybe implement Flex 3 version depending on demand.</li>
<li>Documentation</li>
<li>More examples</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.tylerchesley.org/2009/08/08/bark-growl-like-notifications-for-flex/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
	</channel>
</rss>
