<?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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="0.92">
<channel>
	<title>Sönke Rohde</title>
	<link>http://soenkerohde.com</link>
	<description>Flash Platform (Flash, Flex, AIR) thoughts and examples</description>
	<lastBuildDate>Tue, 24 Jul 2012 22:42:29 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.1.1" -->

	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/xml" href="http://feeds.feedburner.com/soenkerohde" /><feedburner:info uri="soenkerohde" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Using Redis as Node.js Express Session Storage on Heroku</title>
		<description>&lt;p&gt;The default way to use sessions with Node.js and Express is using the bundled memory store. However, if you want to deploy your app to Heroku and use multiple dynos it won&amp;#8217;t work because the memory store doesn&amp;#8217;t work across dynos.&lt;/p&gt;
&lt;p&gt;The solution is to use a database for session storage and it seems like Redis or MongoDB [...]&lt;img src="http://feeds.feedburner.com/~r/soenkerohde/~4/MDb2LHXaLJ4" height="1" width="1"/&gt;</description>
		<link>http://feedproxy.google.com/~r/soenkerohde/~3/MDb2LHXaLJ4/</link>
			<feedburner:origLink>http://soenkerohde.com/2012/04/using-redis-as-node-js-express-session-storage-on-heroku/</feedburner:origLink></item>
	<item>
		<title>New Machine Setup</title>
		<description>&lt;p&gt;Recently I&amp;#8217;ve got a new work Mac Book Pro.
Here a a summary of my initial setup:&lt;/p&gt;
&lt;p&gt;Preferences&lt;/p&gt;

Tap to click
Natural scrolling

&lt;p&gt;Software&lt;/p&gt;

Chrome
Firefox
1Password
Dropbox
Evernote
Sublime Text 2 (with packages for CoffeeScript and Stylus)
iTerm 2
GIT
GitX
node.js
Heroku toolbelt
Homebrew
Mongo DB
Spotify
Skype
Adium
Kindle
Twitter
XCode

&lt;p&gt;Global NPM packages&lt;/p&gt;

coffee-script
node-dev

&lt;p&gt;Command line&lt;/p&gt;

Custom bash prompt
Heroku SSH
Shortcut for Sublime (sudo ln -s &amp;#8220;/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl&amp;#8221; /usr/local/bin/subl)
Show hidden files (defaults write com.apple.finder AppleShowAllFiles TRUE &amp;#38; [...]&lt;img src="http://feeds.feedburner.com/~r/soenkerohde/~4/_qMnmise7Ac" height="1" width="1"/&gt;</description>
		<link>http://feedproxy.google.com/~r/soenkerohde/~3/_qMnmise7Ac/</link>
			<feedburner:origLink>http://soenkerohde.com/2012/04/new-machine-setup/</feedburner:origLink></item>
	<item>
		<title>Node.js server-side compile Hogan.js templates</title>
		<description>&lt;p&gt;If you are using Node.js with Hogan.js you want to compile your templates on the server.
With Node.js you can create a route which looks like this:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Include it like: &amp;#60;script src=&amp;#8217;templates&amp;#8217; type=&amp;#8217;text/javascript&amp;#8217;&amp;#62;&amp;#60;/script&amp;#62;
Templates are in the T namespace and can be renderered [...]&lt;img src="http://feeds.feedburner.com/~r/soenkerohde/~4/3R8IsKpWM4U" height="1" width="1"/&gt;</description>
		<link>http://feedproxy.google.com/~r/soenkerohde/~3/3R8IsKpWM4U/</link>
			<feedburner:origLink>http://soenkerohde.com/2012/02/node-js-server-side-compile-hogan-js-templates/</feedburner:origLink></item>
	<item>
		<title>CoffeeScript with Sublime Text</title>
		<description>&lt;p&gt;Recently I&amp;#8217;ve played with node.js and the Play! framework and I came across CoffeeScript.
CoffeeScript is a language which compiles to JavaScript. The advantage over using JavaScript is basically having a more compact language which looks a lot like Ruby. Sometimes one very readable line of CoffeeScript translates into 7-10 complex lines of JavaScript.&lt;/p&gt;
&lt;p&gt;My dear friend Alec [...]&lt;img src="http://feeds.feedburner.com/~r/soenkerohde/~4/nU4ZTdr61fA" height="1" width="1"/&gt;</description>
		<link>http://feedproxy.google.com/~r/soenkerohde/~3/nU4ZTdr61fA/</link>
			<feedburner:origLink>http://soenkerohde.com/2011/11/coffeescript-with-sublime-text/</feedburner:origLink></item>
	<item>
		<title>Detect Spark List Control Scroll To End</title>
		<description>&lt;p&gt;If you want to implement lazy loading (when the user scrolls to the end of the list it triggers to fetch more items) for a spark List control you have to use a workaround right now.&lt;/p&gt;
&lt;p&gt;Usually you would add an event listener on the scrollers verticalScrollBar but due to a bug it does not fire events [...]&lt;img src="http://feeds.feedburner.com/~r/soenkerohde/~4/E7sINLkyOSc" height="1" width="1"/&gt;</description>
		<link>http://feedproxy.google.com/~r/soenkerohde/~3/E7sINLkyOSc/</link>
			<feedburner:origLink>http://soenkerohde.com/2011/02/detect-spark-list-control-scroll-to-end/</feedburner:origLink></item>
	<item>
		<title>Compile-time FXG</title>
		<description>&lt;p&gt;FXG was introduced with Flex 4 and offers a great way to skin and style your application without relying on bitmaps like PNGs.&lt;/p&gt;
&lt;p&gt;&amp;#8220;FXG is a declarative XML syntax for defining vector graphics in applications built with Flex.&amp;#8221;&lt;/p&gt;
&lt;p&gt;When you declare FXG within your MXML it is computed at runtime but there is also a way to use compile [...]&lt;img src="http://feeds.feedburner.com/~r/soenkerohde/~4/RwrgA_VZdwA" height="1" width="1"/&gt;</description>
		<link>http://feedproxy.google.com/~r/soenkerohde/~3/RwrgA_VZdwA/</link>
			<feedburner:origLink>http://soenkerohde.com/2010/12/compile-time-fxg/</feedburner:origLink></item>
	<item>
		<title>AIR Mobile StageWebView UIComponent</title>
		<description>&lt;p&gt;When you want to use webkit to display HTML in AIR 2.5 mobile projects you want to use StageWebView. Since StageWebView is a subclass of EventDispatcher you cannot add it to the display chain right away. The API works a bit differently and you need to define a Rectangle as the viewPort. However, I thought it [...]&lt;img src="http://feeds.feedburner.com/~r/soenkerohde/~4/i9oJGiJ3nME" height="1" width="1"/&gt;</description>
		<link>http://feedproxy.google.com/~r/soenkerohde/~3/i9oJGiJ3nME/</link>
			<feedburner:origLink>http://soenkerohde.com/2010/11/air-mobile-stagewebview-uicomponent/</feedburner:origLink></item>
	<item>
		<title>How to Skin AIR Mobile ActionBar</title>
		<description>&lt;p&gt;It took me a bit to figure out how to skin the ActionBar in a mobile AIR application so here a short tutorial. There are also two small bugs when you want to skin the ActionBar but there are decent workarounds for now.&lt;/p&gt;
&lt;p&gt;To apply a custom skin to the ActionBar you first have to define a [...]&lt;img src="http://feeds.feedburner.com/~r/soenkerohde/~4/BMl0YvdoFwk" height="1" width="1"/&gt;</description>
		<link>http://feedproxy.google.com/~r/soenkerohde/~3/BMl0YvdoFwk/</link>
			<feedburner:origLink>http://soenkerohde.com/2010/11/how-to-skin-air-mobile-actionbar/</feedburner:origLink></item>
	<item>
		<title>Updating to AIR 2.0 Barriers</title>
		<description>&lt;p&gt;Now that Adobe 2.0 is released it&amp;#8217;s time to update some older apps to use the new APIs.
The process to update seems kind of complicated and definitely worth a blog post. In my special case I am upgrading from an self signed 1.5.2 app to a self signed 2.0 app.&lt;/p&gt;
&lt;p&gt;Since 1.5.3 the publisherID works differently so [...]&lt;img src="http://feeds.feedburner.com/~r/soenkerohde/~4/RhdzGgBQb_Q" height="1" width="1"/&gt;</description>
		<link>http://feedproxy.google.com/~r/soenkerohde/~3/RhdzGgBQb_Q/</link>
			<feedburner:origLink>http://soenkerohde.com/2010/06/updating-to-air-2-0-barriers/</feedburner:origLink></item>
	<item>
		<title>Swiz Yahoo Finance Metadata Processor</title>
		<description>&lt;p&gt;Swiz 1.0 alpha introduced a very cool new feature which lets you extend Swiz be creating custom metadata processors.
This means that if you want to add a metadata like [MyCustomMetadata] you can now do so and Swiz offers you a very easy way to implement it.
For the Swiz 360 Flex demo app I have build a [...]&lt;img src="http://feeds.feedburner.com/~r/soenkerohde/~4/qZYx_qW_ufc" height="1" width="1"/&gt;</description>
		<link>http://feedproxy.google.com/~r/soenkerohde/~3/qZYx_qW_ufc/</link>
			<feedburner:origLink>http://soenkerohde.com/2010/03/swiz-yahoo-finance-metadata-processor/</feedburner:origLink></item>
</channel>
</rss>
