<?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 for Rui Figueira's Blog</title>
	<atom:link href="http://www.crazygaze.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.crazygaze.com/blog</link>
	<description>Knowing is not enough; we must apply. Willing is not enough; we must do.</description>
	<lastBuildDate>Sat, 01 Mar 2008 02:00:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on czPlayer Sound System by Rui Figueira Blog &#183; czPlayer 0.2.1 Released</title>
		<link>http://www.crazygaze.com/blog/czplayer/comment-page-1/#comment-1623</link>
		<dc:creator>Rui Figueira Blog &#183; czPlayer 0.2.1 Released</dc:creator>
		<pubDate>Sat, 01 Mar 2008 02:00:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazygaze.com/blog/czplayer#comment-1623</guid>
		<description>[...] czPlayer Sound System [...]</description>
		<content:encoded><![CDATA[<p>[...] czPlayer Sound System [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simplifying code using states by Rui Figueira</title>
		<link>http://www.crazygaze.com/blog/2007/12/19/simplifying-code-using-states/comment-page-1/#comment-1536</link>
		<dc:creator>Rui Figueira</dc:creator>
		<pubDate>Fri, 11 Jan 2008 13:01:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazygaze.com/blog/archives/39#comment-1536</guid>
		<description>You&#039;re right. I often use that approach you talk about, and in my last contract, we extensively used states and events.
But for this particular library, the code needs to be as tight as possible. I constantly need to balance design vs codesize. :(</description>
		<content:encoded><![CDATA[<p>You&#8217;re right. I often use that approach you talk about, and in my last contract, we extensively used states and events.<br />
But for this particular library, the code needs to be as tight as possible. I constantly need to balance design vs codesize. <img src='http://www.crazygaze.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simplifying code using states by Rui Martins</title>
		<link>http://www.crazygaze.com/blog/2007/12/19/simplifying-code-using-states/comment-page-1/#comment-1535</link>
		<dc:creator>Rui Martins</dc:creator>
		<pubDate>Fri, 11 Jan 2008 12:40:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazygaze.com/blog/archives/39#comment-1535</guid>
		<description>You are on the right track here :)

However, you should give the next Step !

And that is to process State management with a specific function, and stop handling specific states by hand.
In short you need to define a function/method like changeState( new_state ), which will validate everything you need, including, if the request state is a valid transition, from the current state. it Will return success or failure.

This will make it a lot easier to manage, since all state code is contained in one place.

Further ahead, you can also implement event management, where changing state could trigger an event.
Suppose you change state to STOPPED, after validation, the changeState(.. ) function/method could trigger the correct event, that would start an event handler that nows, what is need to stop a specific Audio Sample.
This can be applied to all other states.

Basically, switch from a sequential programming model to an event based model.</description>
		<content:encoded><![CDATA[<p>You are on the right track here <img src='http://www.crazygaze.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>However, you should give the next Step !</p>
<p>And that is to process State management with a specific function, and stop handling specific states by hand.<br />
In short you need to define a function/method like changeState( new_state ), which will validate everything you need, including, if the request state is a valid transition, from the current state. it Will return success or failure.</p>
<p>This will make it a lot easier to manage, since all state code is contained in one place.</p>
<p>Further ahead, you can also implement event management, where changing state could trigger an event.<br />
Suppose you change state to STOPPED, after validation, the changeState(.. ) function/method could trigger the correct event, that would start an event handler that nows, what is need to stop a specific Audio Sample.<br />
This can be applied to all other states.</p>
<p>Basically, switch from a sequential programming model to an event based model.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on czPlayer Sound System by Rui Figueira Blog &#183; czPlayer 0.2.0 released</title>
		<link>http://www.crazygaze.com/blog/czplayer/comment-page-1/#comment-1532</link>
		<dc:creator>Rui Figueira Blog &#183; czPlayer 0.2.0 released</dc:creator>
		<pubDate>Mon, 07 Jan 2008 09:49:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazygaze.com/blog/czplayer#comment-1532</guid>
		<description>[...] czPlayer Sound System [...]</description>
		<content:encoded><![CDATA[<p>[...] czPlayer Sound System [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on czPlayer Sound System by Rui Figueira Blog &#183; Simplifying code using states</title>
		<link>http://www.crazygaze.com/blog/czplayer/comment-page-1/#comment-1455</link>
		<dc:creator>Rui Figueira Blog &#183; Simplifying code using states</dc:creator>
		<pubDate>Wed, 19 Dec 2007 16:46:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazygaze.com/blog/czplayer#comment-1455</guid>
		<description>[...] czPlayer Sound System [...]</description>
		<content:encoded><![CDATA[<p>[...] czPlayer Sound System [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on czPlayer Sound System by Rui Figueira Blog &#183; czPlayer 0.1.1 released</title>
		<link>http://www.crazygaze.com/blog/czplayer/comment-page-1/#comment-1444</link>
		<dc:creator>Rui Figueira Blog &#183; czPlayer 0.1.1 released</dc:creator>
		<pubDate>Sun, 16 Dec 2007 22:13:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazygaze.com/blog/czplayer#comment-1444</guid>
		<description>[...] czPlayer Sound System [...]</description>
		<content:encoded><![CDATA[<p>[...] czPlayer Sound System [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on czPlayer Sound System by Rui Figueira Blog &#183; First public version of czPlayer Sound System (0.1.0)</title>
		<link>http://www.crazygaze.com/blog/czplayer/comment-page-1/#comment-1430</link>
		<dc:creator>Rui Figueira Blog &#183; First public version of czPlayer Sound System (0.1.0)</dc:creator>
		<pubDate>Tue, 11 Dec 2007 18:22:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazygaze.com/blog/czplayer#comment-1430</guid>
		<description>[...] czPlayer Sound System [...]</description>
		<content:encoded><![CDATA[<p>[...] czPlayer Sound System [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on czPlayer Sound System by Rui Figueira Blog &#183; Contact</title>
		<link>http://www.crazygaze.com/blog/czplayer/comment-page-1/#comment-1429</link>
		<dc:creator>Rui Figueira Blog &#183; Contact</dc:creator>
		<pubDate>Tue, 11 Dec 2007 17:35:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazygaze.com/blog/czplayer#comment-1429</guid>
		<description>[...] czPlayer Sound System [...]</description>
		<content:encoded><![CDATA[<p>[...] czPlayer Sound System [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Good UML Design Tool by Pedro Santos</title>
		<link>http://www.crazygaze.com/blog/2007/11/16/good-uml-design-tool/comment-page-1/#comment-1404</link>
		<dc:creator>Pedro Santos</dc:creator>
		<pubDate>Mon, 03 Dec 2007 13:51:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazygaze.com/blog/archives/31#comment-1404</guid>
		<description>We use MagicDrawUML... it&#039;s nice. :)</description>
		<content:encoded><![CDATA[<p>We use MagicDrawUML&#8230; it&#8217;s nice. <img src='http://www.crazygaze.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on It&#8217;s been two weeks&#8230; by Paula PatrÃ­cio</title>
		<link>http://www.crazygaze.com/blog/2007/04/29/its-been-two-weeks/comment-page-1/#comment-220</link>
		<dc:creator>Paula PatrÃ­cio</dc:creator>
		<pubDate>Fri, 04 May 2007 21:05:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.crazygaze.com/blog/archives/14#comment-220</guid>
		<description>Hello Rui!
Fazes bem continuar a ir aos AÃ§ores. 
Aquela terra Ã© linda demais para ser recordada por coisas menos boas.
Acredita que tens amigos lÃ¡ para toda a vida. Aquela gente Ã© qualquer coisa de espectacular.
Estive lÃ¡ uns dias - poucos!!!! Deu para matar as saudades, mas nÃ£o foi o suficiente :( Faltava muita gente!
Vamos ver se dÃ¡ para ir no verÃ£o. Pelo menos pela altura das festinhas da terra! Isso sim Ã© folia!!!
Beijinhos e tudo de bom</description>
		<content:encoded><![CDATA[<p>Hello Rui!<br />
Fazes bem continuar a ir aos AÃ§ores.<br />
Aquela terra Ã© linda demais para ser recordada por coisas menos boas.<br />
Acredita que tens amigos lÃ¡ para toda a vida. Aquela gente Ã© qualquer coisa de espectacular.<br />
Estive lÃ¡ uns dias &#8211; poucos!!!! Deu para matar as saudades, mas nÃ£o foi o suficiente <img src='http://www.crazygaze.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  Faltava muita gente!<br />
Vamos ver se dÃ¡ para ir no verÃ£o. Pelo menos pela altura das festinhas da terra! Isso sim Ã© folia!!!<br />
Beijinhos e tudo de bom</p>
]]></content:encoded>
	</item>
</channel>
</rss>
