Fun with AngularJS + Rails + CoffeeScript + Sass: Another Cafe Townsend example

Here is an another demo of a Cafe Townsend app using AngularJS and Rails. All JavaScript code is written in CoffeeScript, the CSS code using Sass. That’s just fun-fun-fun!

Continue…

CoffeeScript | HTML5 | Rails

Spine.js – Cafe Townsend example

For a better understanding of Spine.js I have build a port of the Cafe Townsend app, which is a standard for demonstrating ActionScript based MVC frameworks (e.g. Swiz or Mate).

The JavaScript port is written in CoffeeScript using Spine.js and Hem. It uses Eco for templating HTML and Stylus for less CSS.

Continue…

CoffeeScript | HTML5 | JavaScript

Pushing (binary) image data using Node.js and Socket.IO

These days I’m playing around with Node.js and Socket.IO. One of my goal was to push (binary) image data to clients (browser) in real time using WebSockets.

Continue…

CoffeeScript | HTML5 | JavaScript | Node

Quick Tip (Node): How to downgrade Node.js on OS X

It’s a good idea to run Node.js using the latest (stable) version. However, there might be some reasons to downgrade Node.js to a previous version. In my case I needed an older version to test and deploy a simple web app to Heroku (where Node.js v.0.4.7 is running, not the latest v.0.6.5).

Continue…

JavaScript | Node

Quick tip (AIR): Signing an ANE (ActionScript Native Extension)

If you package an Native Extensions for latest Adobe AIR 3.0 you will have an option for signing it with a certificate as well.

The packaging process of creating ANE (ActionScript Native Extension) files is already well documented (check “Packaging a native extension” at Adobes AIR documentation). However, it’s not easy to find a detailed instruction for signing an ANE file. Maybe because it is optionally… Here are few tips:

Continue…

AIR

Quick tip (Flex Mobile): Run BlackBerry’s Tablet OS SDK for AIR using Flash Builder Burrito plug-in version (not standalone)

Renaun Erickson did a great job to describe the usage of the Flash Builder Burrito plugin for BlackBerry Tablet OS SDK for Adobe AIR. However, if you have already used Burrito as a plug-in version for Eclipse (and not as a standalone version), it will not find the new installed PlayBook SDK by default. Therefore you have to do a further step “by hand”.

Continue…

AIR | Flex

Swiz: Cafe Townsend example (incl. FlexUnit tests)

UPDATE [10/31/10]: Example and its full source has been updated using latest commit of Swiz 1.0 RC2.

Cafe Townsend is a well known application to demonstrate any MVC framework for using Flex or ActionScript. There are already ports of Cairngorm, Mate, PureMVC, Spring ActionScript, RobotLegs and now Swiz.

In cooperation with “my partner in crime” Sönke Rohde we have built a Swiz port including unit tests. Check out the following example and its source.

Continue…

Flex | Open Source

Slides und Source vom flexughh-Meeting: “Wait A Frame! Das Flex 4 Komponenten Model und seinen Life Cycle verstehen”

flexughh-meeting

Nochmals vielen Dank, dass Ihr beim heutigen flexughh-Meeting “Wait A Frame! Das Flex 4 Komponenten Model und seinen Life Cycle verstehen.” so zahlreich erschienen seid und auch tapfer bis zum Ende des Vortrages durchgehalten habt ;) Es hat großen Spass gemacht!

Hier die versprochenen Slides inkl. Source Code.

Continue…

Talk

Mate: Cafe Townsend example updated for using Flex 4

For an upcoming Flex 4 training I do need a good example for using Mate framework. At the moment you will find a lot of examples on Mate’s official website or at the project called “mate-examples” at Google Code. But it seems that there is not any Flex 4 example available.

Anyway, I just ported the current Cafe Townsend example (Flex 3) created by Laura Arguello to Flex 4.

Continue…

Flex | Open Source